body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    padding-inline:20px;
    margin-inline:20px;
}

.form-container {
    background-color: #fff;
    //padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px;
    form{
        margin:20px;
    }
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    color: #00586F;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="number"],
select,
input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #ddd;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

input[type="submit"]:hover {
    background-color: #00586F !important;
    color: white !important;

}

input[type="submit"],
button {
    padding: 10px 15px;
    //margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    background-color: #00A6CE;
    color: white !important;
    border: none;
}

.clean-button {
    background-color: #027591 !important;
    margin-right: 1rem;
    color: white !important;
}

.button-group input[type="submit"] {
    color: white !important;
}

.clean-button:hover {
    background-color: #00586F !important;
    color: white !important;

}

.button-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.amortization-table-container {
    overflow-y: clip;
    max-height: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px;
}

.amortization-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin-top: 20px;

    table{
        width:100%;
        background:white;
        th, td{

            text-align: center;
        }
    }
}

.amortization-table th {
    background-color: #00586F;
    color: white;
    padding: 10px;
    text-align: left;
    position: sticky;
    top: 0;
}

.amortization-table td {
    color: #54595F;
    border: 0px solid #ddd;
    padding: 8px;
    text-align: left;
}

.amortization-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.amortization-table tr:hover {
    background-color: #f1f1f1;
}


.alert {
    padding: 20px;
    background-color: #004d40;
    color: white;
    margin-bottom: 15px;
    position: relative;
    opacity: 0.9;
    border-radius: 10px;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}

#detalle-consulta {
    //background-color: #f8f8f8;
    background-color: none;
    margin: 20px 20px;
    box-sizing: border-box;
}

#detalle-consulta .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

#detalle-consulta label,
#detalle-consulta input {
    width: 48%;
}

#detalle-consulta h1 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5em;
}


#page {
    width: 100%;
}

.main-contain {
    padding: 70px 0;

    text-align: center
}

.error-message{
    color: red;
    font-size: 12px;
}

.title-simulator{
    text-align: center;
}

hr{
    border: none;
}

.amortization-table {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    min-width: 400px;
    border-collapse: collapse;
    background: white;
}

@media (max-width: 768px) {
    body {
        padding-inline: 0;
    }
}