/**
 * Webnu — pantallas de autenticación (Materio cover)
 */
.webnu-auth-cover {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: #000529;
}

.webnu-auth-cover__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 8s ease;
}

.webnu-auth-cover:hover .webnu-auth-cover__bg {
    transform: scale(1.08);
}

.webnu-auth-cover__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0, 5, 41, 0.94) 0%, rgba(0, 32, 72, 0.88) 45%, rgba(0, 5, 41, 0.92) 100%);
}

.webnu-auth-cover__content {
    position: relative;
    z-index: 2;
    padding: 3rem 3.5rem;
    max-width: 36rem;
    color: #fff;
}

.webnu-auth-cover__logo {
    height: 48px;
    width: auto;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

.webnu-auth-cover__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.webnu-auth-cover__lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #f0f4fa;
    margin-bottom: 2rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.webnu-auth-cover__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.webnu-auth-cover__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.webnu-auth-cover__features .icon-base {
    font-size: 1.25rem;
    color: #9fd4ff;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.webnu-auth-panel {
    min-height: 100vh;
    background: #ffffff;
}

.webnu-auth-shell {
    max-width: 26rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.webnu-auth-card {
    width: 100%;
    max-width: 26rem;
    border: 1px solid #d4dce8;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 37, 89, 0.12);
    background: #ffffff;
}

.webnu-auth-card .card-body {
    padding: 2rem 2rem 1.75rem;
}

.webnu-auth-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    text-align: left;
    margin-bottom: 0.35rem;
}

.webnu-auth-subheading {
    text-align: left;
    color: #475569;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.webnu-auth-form .form-label {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
}

.webnu-auth-form .form-control {
    min-height: calc(2.5rem + 2px);
    border-radius: 0.5rem;
    background-color: #ffffff;
    border-color: #94a3b8;
    color: #0f172a;
}

.webnu-auth-form .form-control::placeholder {
    color: #64748b;
}

.webnu-auth-form .form-control:focus {
    border-color: #0074d9;
    box-shadow: 0 0 0 0.2rem rgba(0, 116, 217, 0.2);
}

.webnu-auth-form .input-group-text {
    border-radius: 0 0.5rem 0.5rem 0;
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #334155;
}

.webnu-auth-form .input-group .form-control {
    border-radius: 0.5rem 0 0 0.5rem;
}

.webnu-auth-form .form-check-label {
    color: #334155;
    font-weight: 500;
}

.webnu-auth-form .btn-primary {
    min-height: 2.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    background-color: #0074d9;
    border-color: #0066c0;
    box-shadow: 0 4px 12px rgba(0, 116, 217, 0.35);
}

.webnu-auth-form .btn-primary:hover {
    background-color: #005db5;
    border-color: #00529e;
}

.webnu-auth-footer-links {
    text-align: center;
    margin-top: 1.25rem;
}

.webnu-auth-footer-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0066c0;
}

.webnu-auth-footer-links a:hover {
    color: #004a8f;
}

.webnu-auth-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin: 0 auto 1rem;
    text-decoration: none;
    align-self: center;
}

.webnu-auth-back:hover {
    color: #0074d9;
}

.webnu-auth-card .alert-success {
    background-color: #ecfdf5;
    border-color: #6ee7b7;
    color: #065f46;
}

.webnu-auth-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 2.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #1e293b;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.webnu-auth-google:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.webnu-auth-google__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.webnu-auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: lowercase;
}

.webnu-auth-divider::before,
.webnu-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.webnu-auth-oauth-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem 0.875rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.webnu-auth-oauth-hint__icon {
    flex-shrink: 0;
    font-size: 1.125rem;
    color: #0074d9;
}

.webnu-auth-oauth-hint a {
    color: #0074d9;
    font-weight: 600;
    text-decoration: none;
}

.webnu-auth-oauth-hint a:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .webnu-auth-panel {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
        background: #f8fafc;
    }

    .webnu-auth-cover--mobile {
        position: relative;
        min-height: 10rem;
        overflow: hidden;
    }

    .webnu-auth-cover--mobile .webnu-auth-cover__overlay {
        background: linear-gradient(180deg, rgba(0, 5, 41, 0.65) 0%, rgba(0, 5, 41, 0.95) 100%);
    }

    .webnu-auth-cover--mobile .webnu-auth-cover__content {
        padding: 1.5rem 1.25rem;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .webnu-auth-cover--mobile .webnu-auth-cover__logo {
        height: 36px;
        margin-bottom: 0;
    }

    .webnu-auth-cover--mobile .webnu-auth-cover__title {
        font-size: 1.25rem;
        margin-bottom: 0;
    }

    .webnu-auth-cover--mobile .webnu-auth-cover__lead,
    .webnu-auth-cover--mobile .webnu-auth-cover__features {
        display: none;
    }
}
