/* ==========================================================================
   Skola — Authentication screens (admin / school / teacher login)
   ========================================================================== */

.sk-auth {
    min-height: 100vh;
    display: flex;
}

/* ------------------------------------------------- left: brand panel --- */

.sk-auth__aside {
    flex: 0 0 44%;
    max-width: 44%;
    position: relative;
    padding: 2.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(150deg, var(--sk-deep) 0%, var(--sk-primary-dark) 55%, var(--sk-primary) 100%);
}

.sk-auth__aside::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(26rem 20rem at 85% 8%, rgba(255, 255, 255, .16), transparent 62%),
        radial-gradient(22rem 18rem at 10% 95%, rgba(245, 158, 11, .18), transparent 60%);
    pointer-events: none;
}

.sk-auth__aside > * {
    position: relative;
    z-index: 1;
}

.sk-auth__headline {
    color: #fff;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    line-height: 1.25;
    margin-bottom: .9rem;
}

.sk-auth__sub {
    color: rgba(255, 255, 255, .82);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 26rem;
}

.sk-auth__points {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: .9rem;
}

.sk-auth__points li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-size: .94rem;
    color: rgba(255, 255, 255, .9);
}

.sk-auth__points .bi {
    flex: none;
    margin-top: .1rem;
    color: #fcd34d;
}

.sk-auth__foot {
    font-size: .84rem;
    color: rgba(255, 255, 255, .62);
}

/* ------------------------------------------------- right: form panel --- */

.sk-auth__main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem;
    background: var(--sk-surface-alt);
}

.sk-auth__card {
    width: 100%;
    max-width: 25rem;
}

.sk-auth__badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem .8rem;
    border-radius: 999px;
    background: var(--sk-primary-soft);
    color: var(--sk-primary-ink);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.sk-auth__title {
    font-size: 1.6rem;
    margin-bottom: .35rem;
}

.sk-auth__hint {
    font-size: .92rem;
    color: var(--sk-body);
    margin-bottom: 1.75rem;
}

.sk-auth__box {
    background: var(--sk-surface);
    border: 1px solid var(--sk-line);
    border-radius: var(--sk-radius);
    box-shadow: var(--sk-shadow);
    padding: 1.75rem;
}

.sk-auth__toggle {
    border: 0;
    background: transparent;
    color: var(--sk-muted);
    padding: 0 .35rem;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.sk-auth__toggle:hover {
    color: var(--sk-primary-ink);
}

.sk-auth__toggle-wrap {
    background: var(--sk-surface);
}

.sk-auth__altline {
    margin-top: 1.5rem;
    font-size: .9rem;
    color: var(--sk-body);
    text-align: center;
}

.sk-auth__mobile-brand {
    display: none;
}

@media (max-width: 991.98px) {
    .sk-auth__aside {
        display: none;
    }

    .sk-auth__mobile-brand {
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .sk-auth__main {
        padding-block: 3rem;
    }
}
