body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
}



/* Reset default margin/padding */
body, h1, p, table {
    margin: 0;
    padding: 0;
}

/* Wrapper for the form and table */
.wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 20px; /* Gap between columns */
    padding: 20px;
}

/* Styles for the form */
.form {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
}

/* Styles for the table container */
.table-container {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
}

/* Additional styles for responsiveness */
@media screen and (max-width: 768px) {
    .wrapper {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }
    .table-container,
    .form {
        margin-top: 20px; /* Add some space between elements on smaller screens */
    }
}




.calculator {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

button {
    padding: 8px 16px;
    margin-top: 10px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

select {
    padding: 2px;
    margin-bottom: 10px;
    width: 150px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
}

input[type="number"] {
    padding: 2px;
    margin-bottom: 10px;
    width: 150px;
}

.value {
    padding-left: 10px;
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    text-align: right;
}

a {
    text-decoration: none;
    color: #3498db;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

input.error {
    border: 1px solid #ff0000;
    /* Red border */
}

.error-message {
    color: #ff0000;
    /* Red text color */
    font-size: 14px;
    margin-top: 5px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    font-size: 12px;
}

table td.numeric {
    text-align: right;
}

table th {
    background-color: #f2f2f2;
}

/* Alternating row colors */
table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Hover effect */
table tr:hover {
    background-color: #f5f5f5;
    cursor: pointer;
}

.embolden {
    font-weight: bold;
    font-size: 14px;
}

.optionPlace {
  padding-left: 20px;
  text-align: left;
}