/* Auth shell — split layout (Oxyy-inspired); scoped to .auth-layout */

.auth-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .auth-layout {
        flex-direction: row;
    }
}

.auth-layout__visual {
    position: relative;
    min-height: 12rem;
    flex: 1;
    background-color: #0a1628;
    background-image: linear-gradient(145deg, rgba(8, 20, 40, 0.82), rgba(15, 35, 55, 0.55)),
        var(--auth-bg-image);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: #fff;
}

@media (min-width: 992px) {
    .auth-layout__visual {
        min-height: 100vh;
    }
}

.auth-layout__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: auto;
    padding-top: 0.5rem;
    height: 100%;
}

.auth-layout__brand a {
    display: block;
    align-items: center;
    justify-content: center;
}

.auth-layout__brand img {
    max-height: 350px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.auth-layout__tagline h2 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 0.35rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.auth-layout__tagline p {
    margin: 0;
    opacity: 0.88;
    font-size: 0.95rem;
    max-width: 22rem;
}

.auth-layout__panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem 3rem;
    background: var(--bs-body-bg);
}

@media (min-width: 992px) {
    .auth-layout__panel {
        padding: 3rem;
        max-width: 40%;
    }
}

.auth-layout__card {
    width: 100%;
    max-width: 26rem;
}

.auth-layout__card .card {
    border: none;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    border-radius: 0.65rem;
    overflow: hidden;
}

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

.auth-layout__title {
    font-size: 2.2rem;
    margin-bottom: 0.35rem;
}

.auth-layout__subtitle {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.auth-flash.alert {
    animation: auth-flash-in 0.35s ease-out;
}

@keyframes auth-flash-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-flash.alert {
        animation: none;
    }
}