/* Formularios de la parte B (spec 002, tarea 45). Origen: https://zeed.com.co/css/forms.css
   (20-nov-2026), sin cambios de reglas salvo: fondo autoalojado (img/dark-leaves-blur), saltos de
   línea LF y comentarios con la codificación corregida. Incluye el color de los días del
   datepicker (.ui-state-default…) que cada formulario repetía en un <style> en línea. */

body {
    background-image: url("../img/dark-leaves-blur.webp") !important;
    /* background-size: cover;
  background-repeat: no-repeat; */
}

.micontenedor {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    width: 100vw;
    max-width: 1290px;
    margin: auto;
    min-height: fit-content;
    height: calc(100vh - 247px);

    @media (max-width: 768px) {
        flex-direction: column;
        height: auto;
    }
}

.micontenedor>.my-product-image {
    width: 450px;
    min-width: 300px;

    @media (max-width: 768px) {
        width: 100vw;
        /* Ambos elementos ocuparán el 100% del ancho de la ventana */
        min-width: auto;
    }
}

.micontenedor>.form {
    background: #181d19;
    padding: 20px;
    flex: 1;
    min-width: 400px;
    border-radius: 16px;

    @media (max-width: 768px) {
        width: 100vw;
        /* Ambos elementos ocuparán el 100% del ancho de la ventana */
        min-width: auto;
    }
}

.micontenedor>.my-product-image p {
    font-family: "Anek Tamil";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 23px;
    color: #ffffff;
}

.form>.title {
    font-family: "Anek Tamil";
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 39px;
    color: #ffffff;
}

.form>.text {
    font-family: "Anek Tamil";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color: #ffffff;
}

.form .custom-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #a3c293;
    /* Color del borde */
    border-radius: 10px;
    background-color: #23443c;
    /* Color de fondo */
    color: #e0e0e0 !important;
    /* Color del texto */
    font-size: 16px;
    outline: none;
}

.form .custom-input::placeholder {
    color: #c0c0c0;
    /* Color del placeholder */
    opacity: 1;
    /* Asegura que sea completamente visible */
}

.form .custom-input:focus {
    border-color: #ffffff;
    /* Color del borde al hacer focus */
    box-shadow: 0 0 5px #80b284;
    /* Resplandor al hacer focus */
}

.form .custom-input.next {
    margin-top: 20px;
}

.form .error {
    color: red;
    display: none;
    margin: 0px;
    padding: 0px;
}

.form .no-middle-name-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: #e0e0e0;
    font-family: "Anek Tamil";
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.form .no-middle-name-wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    background-color: #23443c;
    border: 2px solid #a3c293;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    opacity: inherit;
}

.form .no-middle-name-wrapper input[type="checkbox"]:checked {
    background-color: #defa5c;
    border-color: #defa5c;
}

.form .no-middle-name-wrapper input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #0b2e1a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form .no-middle-name-wrapper input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 4px #defa5c;
}

.form .custom-input:disabled {
    background-color: #1a2a26;
    color: #6e8a82 !important;
    border-color: #4a665e;
    cursor: not-allowed;
    opacity: 0.7;
}

.form .custom-input:disabled::placeholder {
    color: #6e8a82;
}

.form button {
    background: #defa5c;
    border-radius: 45px;
    width: 250px;
    height: 60px;
    font-family: "Anek Tamil";
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 29px;
    text-align: center;
    color: #0b2e1a;
    margin-top: 20px;
    cursor: pointer;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    color: #454545 !important;
}

.form .test-step.hidden {
    display: none;
}

.form .progress-indicator {
    text-align: center;
    color: #defa5c;
    font-family: "Anek Tamil";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 23px;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.form .question {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.form .question:last-child {
    border-bottom: none;
}

.form .question-text {
    font-family: "Anek Tamil";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.form .options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form .option {
    flex: 0 0 calc(50% - 5px);
    min-width: 0;
}

.form .option input[type="radio"] {
    display: none;
}

.form .option label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid transparent;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: "Anek Tamil";
    font-size: 14px;
    color: #e0e0e0;
    text-align: center;
    line-height: 1.3;
    min-height: 56px;
    height: 100%;
    word-break: break-word;
    hyphens: auto;
}

.form .option label:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.form .option input[type="radio"]:checked+label {
    background: #defa5c;
    color: #0b2e1a;
    border-color: #defa5c;
    font-weight: 700;
}

.form .nav-bar {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.form .nav-button {
    flex: 1;
    min-width: 140px;
    height: 60px;
    border-radius: 45px;
    font-family: "Anek Tamil";
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 29px;
    text-align: center;
    cursor: pointer;
    border: none;
    padding: 0 20px;
    margin-top: 0;
}

.form .nav-button.previous {
    background: transparent;
    color: #defa5c;
    border: 2px solid #defa5c;
}

.form .nav-button.previous:hover {
    background: #defa5c;
    color: #0b2e1a;
}

.form .nav-button.next,
.form .nav-button.submit {
    background: #defa5c;
    color: #0b2e1a;
}

.form .nav-button.hidden {
    display: none;
}

@media (max-width: 768px) {
    .form .options {
        flex-direction: column;
    }

    .form .option {
        min-width: auto;
    }

    .form .option label {
        padding: 14px;
        font-size: 15px;
    }

    .form .nav-bar {
        flex-direction: column;
    }

    .form .nav-button {
        width: 100%;
    }
}
