/* ==========================================================
   WÖRTH Selection · Login definitivo
   ========================================================== */


/* ==========================================================
   LOGO

   No fijamos un ancho artificial.
   Conserva la proporción y el tamaño visual original
   del diseño WÖRTH.
   ========================================================== */

.ws-auth-v2-header {
    height: 84px !important;
    min-height: 84px !important;
}

.ws-auth-v2-logo {
    display: flex !important;
    align-items: center !important;

    width: auto !important;
    min-width: 230px !important;
    height: 64px !important;

    overflow: visible !important;
}

.ws-auth-v2-logo-mount {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: auto !important;
    height: 64px !important;

    overflow: visible !important;
}

.ws-auth-v2-logo-mount img,
.ws-auth-v2-logo img,
#wsWorthCleanLogo {

    display: block !important;

    width: auto !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    max-width: 230px !important;
    max-height: 58px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: left center !important;

    transform: none !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* ==========================================================
   BIENVENIDA
   ========================================================== */

.ws-welcome-clean-final {
    margin: 0 0 18px !important;

    color: #043d30 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 38px !important;
    font-weight: 400 !important;

    line-height: 1.05 !important;

    letter-spacing: -0.025em !important;

    text-align: left !important;
}

.ws-welcome-clean-final-line1,
.ws-welcome-clean-final-line2 {
    display: block !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;

    letter-spacing: normal !important;
}

.ws-welcome-clean-final-line2 {
    margin-top: 2px !important;

    white-space: nowrap !important;
}


/* ==========================================================
   BOTONES
   ========================================================== */

#ws-auth-v2-form-mount button[type="submit"],
#ws-auth-v2-form-mount input[type="submit"],
.ws-auth-v2-register-button {

    height: 52px !important;
    min-height: 52px !important;

    border-radius: 999px !important;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 15px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    letter-spacing: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/*
 * El panel derecho utiliza flex.
 * El botón se coloca en la misma franja inferior.
 */

.ws-auth-v2-register {
    display: flex !important;
    flex-direction: column !important;
}

.ws-auth-v2-benefits {
    margin-bottom: 0 !important;
}

.ws-auth-v2-register-button {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}


/* ==========================================================
   FOOTER LEGAL
   ========================================================== */

.ws-auth-v2-footer {
    width: min(
        1180px,
        calc(100% - 48px)
    ) !important;

    margin: 0 auto !important;

    padding:
        25px
        8px
        38px !important;

    color: #293f38 !important;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 12.5px !important;

    line-height: 1.55 !important;
}

.ws-auth-v2-footer p {
    margin:
        0
        0
        15px !important;
}

.ws-auth-v2-footer p:last-child {
    margin-bottom: 0 !important;
}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 700px) {

    .ws-auth-v2-header {
        height: 74px !important;
        min-height: 74px !important;
    }

    .ws-auth-v2-logo {
        min-width: 180px !important;
    }

    .ws-auth-v2-logo-mount img,
    .ws-auth-v2-logo img,
    #wsWorthCleanLogo {
        max-width: 180px !important;
        max-height: 50px !important;
    }

    .ws-welcome-clean-final {
        font-size: 32px !important;
    }

    .ws-welcome-clean-final-line2 {
        white-space: normal !important;
    }

    .ws-auth-v2-register-button {
        margin-top: 32px !important;
    }
}
