:root {
    --auth-background-image: url("https://images.pexels.com/photos/414171/pexels-photo-414171.jpeg?auto=compress&cs=tinysrgb&w=1920");
}

.auth-page {
    min-height: 100vh;
    background:
        linear-gradient(120deg, rgba(4, 24, 38, .78), rgba(4, 24, 38, .42)),
        var(--auth-background-image);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem;
}

.auth-panel {
    width: min(100%, 32rem);
}

.auth-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.auth-brand-link {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .02em;
}

.auth-brand-link:focus,
.auth-brand-link:hover {
    color: #dbeafe;
}

.auth-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 1.5rem;
    background: rgba(var(--bs-body-bg-rgb), .9);
    backdrop-filter: blur(18px);
}

.auth-card-header {
    padding: 2rem 2rem 1rem;
}

.auth-card-body {
    padding: 1rem 2rem 2rem;
}

.auth-credit {
    color: rgba(255, 255, 255, .86);
    font-size: .875rem;
    text-align: center;
}

.auth-credit a {
    color: #fff;
    font-weight: 700;
}

[data-bs-theme="dark"] .auth-card {
    background: rgba(15, 23, 42, .88);
    border-color: rgba(255, 255, 255, .16);
}

@media (max-width: 767.98px) {
    .auth-shell {
        justify-content: center;
        padding: 1rem;
    }

    .auth-card-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .auth-card-body {
        padding: 1rem 1.5rem 1.5rem;
    }
}