/* Overrides locales para formularios de acceso del template Robust. */
html body.auth-page {
    height: auto;
    min-height: 100vh;
    padding-top: 0;
}

.auth-page .app-content.auth-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 16px;
    overflow: visible;
}

.auth-page.blank-page .content-wrapper .auth-shell {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 24px 0;
}

.auth-wrapper {
    width: 100%;
    min-width: 0;
}

.auth-panel {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    border-radius: 16px;
}

.auth-page--registro .auth-panel {
    max-width: 720px;
}

.auth-panel > .card {
    border-radius: inherit;
}

.auth-panel .card-header {
    padding: 20px 24px 0;
}

.auth-panel .card-title img {
    width: 180px;
    max-width: 70%;
}

.auth-title {
    margin: 16px 0 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
}

.auth-panel .card-body {
    padding: 24px;
}

.auth-intro {
    margin-bottom: 16px;
    color: #626b78;
    line-height: 1.6;
}

.auth-notice {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-left: 3px solid var(--brand-blue);
    border-radius: 6px;
    background: #edf5fb;
    color: #34546b;
}

.auth-panel .form-group {
    margin-bottom: 16px;
}

.auth-panel label {
    font-weight: 600;
}

.auth-panel .form-control {
    min-height: 46px;
    font-size: 16px;
}

.auth-panel .btn {
    min-height: 46px;
    white-space: normal;
}

.auth-panel .btn + .btn {
    margin-top: 12px;
}

.auth-password { position: relative; }
.auth-password .form-control { padding-right: 52px; }
.auth-password-toggle {
    position: absolute;
    right: 1px;
    top: 1px;
    bottom: 1px;
    width: 46px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #526b80;
    cursor: pointer;
}
.auth-password-toggle:hover { background: #edf5fc; color: #0b67a5; }

.auth-panel .alert,
.auth-notice {
    overflow-wrap: anywhere;
}

.auth-panel input:focus,
.auth-panel button:focus,
.auth-panel a:focus {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

@media (max-width: 575.98px) {
    .auth-page .app-content.auth-container {
        padding: 0 12px;
    }

    .auth-page.blank-page .content-wrapper .auth-shell {
        padding: 16px 0;
    }

    .auth-panel .card-header {
        padding: 16px 8px 0;
    }

    .auth-panel .card-body {
        padding: 20px 8px 12px;
    }

    .auth-title {
        font-size: 1.4rem;
    }
}
