/*
 * BoothDock public auth surfaces.
 * Loaded by the shared page shell for login, password reset and lightweight
 * public utility pages. Keep this file focused on auth-specific layout.
 */

.auth-shell-split {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    align-items: stretch;
    gap: 18px;
    place-items: stretch;
}

.auth-intro-panel {
    position: relative;
    display: grid;
    align-content: end;
    gap: 16px;
    min-height: 520px;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(17, 214, 208, .18);
    border-radius: 8px;
    background: var(--bd-deep);
    color: #fff;
    box-shadow: 0 24px 70px rgba(7, 20, 38, .14);
}

.auth-intro-panel:after {
    content: "";
    position: absolute;
    inset: auto 28px 0 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--bd-primary);
}

.auth-intro-panel h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 72px);
    line-height: .98;
    letter-spacing: 0;
}

.auth-intro-panel p {
    max-width: 680px;
    margin: 0;
    color: #dbe8f3;
    font-size: 17px;
    line-height: 1.5;
}

.auth-feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.auth-feature-list div {
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
}

.auth-feature-list strong {
    font-size: 14px;
}

.auth-feature-list span {
    color: #aac0d3;
    font-size: 13px;
    line-height: 1.35;
}

.auth-public-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-weight: 850;
}

.auth-public-links a {
    color: var(--bd-primary);
    text-decoration: none;
}

.auth-shell-split .auth-panel {
    align-self: center;
    width: 100%;
    min-height: 0;
}

.language-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
    margin-top: 2px;
    padding-top: 12px;
    border-top: 1px solid rgba(216, 224, 234, .9);
}

.language-switcher label {
    display: grid;
    gap: 6px;
    min-width: min(220px, 100%);
    color: var(--bd-muted);
    font-size: 13px;
    font-weight: 850;
}

.language-switcher select {
    width: 100%;
    margin: 0;
}

.language-switcher .button {
    min-height: 40px;
    box-shadow: none;
}

@media (max-width: 960px) {
    .auth-shell-split {
        grid-template-columns: 1fr;
    }

    .auth-intro-panel {
        min-height: 360px;
    }

    .auth-feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .auth-intro-panel {
        min-height: 0;
        padding: 22px;
    }

    .auth-intro-panel h1 {
        font-size: 38px;
    }

    .auth-intro-panel p {
        font-size: 15px;
    }

    .auth-public-links {
        display: none;
    }
}
