/*

      Dedicated auth shell (login, forgot/reset password, join, magic link).
      Not the dashboard chrome in main.css/inbox.css -- a clean, low-friction
      shell of its own, reusing the app's brand colors/fonts.

*/

.auth-body {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, color-mix(in srgb, var(--bulma-primary) 6%, white) 0%, color-mix(in srgb, var(--bulma-link) 6%, white) 100%);
}

.auth-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px clamp(16px, 4vw, 48px);
}

.auth-topbar-logo {
    display: inline-flex;
}

.auth-topbar-lang {
    color: var(--bulma-dark);
    font-size: 0.9rem;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 16px 64px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, .08);
}

.auth-card .title {
    margin-bottom: 0.5rem;
}

.auth-card .subtitle {
    color: #6f7b7e;
    margin-bottom: 1.5rem;
}

.auth-card .field {
    margin-bottom: 1rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #9aa3a6;
    font-size: 0.85rem;
    margin: 1.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eceff1;
}

.auth-meta {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #6f7b7e;
}

.auth-identity {
    background: #f7f8fa;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
