/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #fff;
}

/* Botonera genérica */
.buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 520px;
    height: 66px;
    margin: 0 auto;
}

/* CONTENEDOR DEL FORMULARIO */
.form-container {
    background-color: rgba(242, 242, 247, 0.9);
    border-radius: 22px !important;
    overflow: hidden;
    padding: 40px;
    width: 596px;
    max-width: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px;
}

/* FILAS Y CAMPOS */
.form-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

/* INPUTS */
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"] {
    width: 246px !important;
    height: 60px !important;
    padding: 16px 20px !important;
    border-radius: 50px !important;
    border: 1px solid #ccc !important;
    background: #ffffff !important;
    color: #000 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    outline: none !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

/* BOTÓN SUBMIT */
.form-container .submit-button {
    display: block !important;
    width: 100% !important;
    height: 66px !important;
    border-radius: 50px !important;

    background-color: #7D455A !important;
    color: #ffffff !important;

    border: none !important;
    padding: 0 !important;
    margin-top: 30px !important;

    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 66px !important;
    text-align: center !important;

    cursor: pointer !important;
    transition: background .3s !important;

    appearance: none !important;
    -webkit-appearance: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.form-container .submit-button:hover,
.form-container .submit-button:focus,
.form-container .submit-button:active {
    background-color: #693A4C !important;
    color: #ffffff !important;
}

.texto-checkbox {
    display: inline;
    color: inherit;
}

.texto-checkbox a {
    color: #7B859B !important;
    text-decoration: underline;
    font-weight: 400;
    display: inline;
}

.texto-checkbox a:hover {
    color: #b85574 !important;
}

.info-icon {
    display: inline-block;
    cursor: pointer;
    color: #7B859B;
    margin-top: 15px;
    font-size: 12px;
    font-family: Poppins, Arial;
    position: relative;
}

.popup {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    width: 270px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    top: 100%;
    left: 0;
    margin-top: 5px;
    font-size: 14px;
    color: #333;
}

.popup p {
    font-size: 11px;
    margin: 0;
    line-height: 1.4;
}

.popup.show {
    display: block !important;
}

.label-checkbox-form {
    font-size: 13px;
    padding-top: 12px;
    font-family: Poppins, helvetica, sans-serif;
    color: #7B859B;
    margin-right: 5%;
    vertical-align: middle;
    cursor: pointer;
    display: inline-block;
}

.container-checkbox-form {
    display: flex;
    align-items: center;
    flex-direction: row;
    margin-top: 10px;
    margin-bottom: 5px;
    margin-left: 0%;

    input {
        margin-right: 2%;
        margin-bottom: 2%;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {

    body,
    html {
        overflow: auto !important;
        height: auto !important;
    }

    .form-container {
        border-radius: 22px !important;
        width: 100%;
        max-width: 348px;
        padding: 14px 16px;
        background-color: rgba(242, 242, 247, 0.8);
        box-shadow: none;
        gap: 20px;
        margin: 0 auto;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .form-container input[type="text"],
    .form-container input[type="email"],
    .form-container input[type="tel"] {
        width: 100% !important;
        height: 64px !important;
        border-radius: 30px !important;
        font-size: 16px !important;
        padding: 14px !important;
    }

    .form-container .submit-button {
        width: 100% !important;
        height: 66px !important;
        border-radius: 30px !important;
        font-size: 16px !important;
        margin-top: 32px !important;
    }
}