
.public-auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f7f9fd;
    background-image:
        radial-gradient(circle at top left, rgba(13, 110, 253, .07), transparent 34%),
        radial-gradient(circle at 100% 10%, rgba(111, 66, 193, .045), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(247, 249, 253, 0) 24%);
    background-size: auto, auto, auto;
    background-position: 0 0, 100% 0, 0 0;
}

.public-auth-navbar {
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid #e5eaf2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.public-auth-navbar .navbar-inner {
    min-height: 70px;
}

.public-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #17233a;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 0;
}

.public-auth-brand:hover {
    color: #17233a;
}

.public-auth-brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1.08;
}

.public-auth-brand-product {
    color: #17233a;
    font-size: .98rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.public-auth-brand-school {
    margin-top: .18rem;
    color: #6b768a;
    font-size: .76rem;
    font-weight: 400;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.public-auth-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex: 0 0 40px;
}

.public-auth-logo-fallback {
    width: 40px;
    height: 40px;
    border-radius: .85rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #edf3ff, #f5f8ff);
    border: 1px solid #dfe9fb;
    color: #0d6efd;
    font-size: 1.15rem;
    flex: 0 0 40px;
}

.public-auth-main {
    position: relative;
    flex: 1 0 auto;
}

.public-auth-main::before,
.public-auth-main::after {
    content: '';
    position: absolute;
    inset: auto;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(10px);
    opacity: .72;
}

.public-auth-main::before {
    width: 280px;
    height: 280px;
    top: 48px;
    left: max(10px, 4vw);
    background: radial-gradient(circle, rgba(13, 110, 253, .07), transparent 72%);
}

.public-auth-main::after {
    width: 220px;
    height: 220px;
    right: max(10px, 3vw);
    bottom: 36px;
    background: radial-gradient(circle, rgba(111, 66, 193, .055), transparent 72%);
}

.public-auth-footer {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, .92);
    border-top: 1px solid #e6eaf0;
    color: #687386;
    font-size: .9rem;
}

.public-auth-footer .footer-inner {
    min-height: 74px;
}

.public-auth-link {
    color: #445066;
    text-decoration: none;
    font-weight: 600;
}

.public-auth-link:hover,
.public-auth-link:focus {
    color: #0d6efd;
}

@media (max-width: 575.98px) {
    .public-auth-navbar .navbar-inner {
        min-height: 60px;
    }

    .public-auth-brand {
        font-size: .95rem;
        gap: .55rem;
    }

    .public-auth-brand-product {
        font-size: .88rem;
    }

    .public-auth-brand-school {
        font-size: .7rem;
    }

    .public-auth-logo,
    .public-auth-logo-fallback {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .public-auth-main::before {
        width: 160px;
        height: 160px;
        top: 20px;
        left: -18px;
    }

    .public-auth-main::after {
        width: 140px;
        height: 140px;
        right: -18px;
        bottom: 16px;
    }

    .public-auth-footer .footer-inner {
        min-height: 64px;
    }
}

/* Footer publik: seluruh teks berada di tengah, baris atas dan bawah. */
.public-auth-footer .footer-inner {
    width: 100%;
    text-align: center;
}

.public-auth-footer-top,
.public-auth-footer-bottom {
    max-width: min(100%, 760px);
    min-width: 0;
    overflow-wrap: anywhere;
}
