/* ========================
   AUTH SCREEN
   ======================== */
.auth-screen {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: env(safe-area-inset-bottom, 24px);
    background: url('/Login.png') center top / cover no-repeat;
}

@media (max-width: 599px) {
    .auth-card {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(12px) saturate(120%);
        -webkit-backdrop-filter: blur(12px) saturate(120%);
    }
}

@media (min-width: 600px) {
    .auth-screen {
        align-items: center;
        padding-bottom: 0;
    }
}

.auth-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 0;
}

.auth-screen > * {
    position: relative;
    z-index: 1;
}

.auth-card {
    text-align: center;
    max-width: 340px;
    width: auto;
    margin: 0 24px 24px;
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.auth-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(49, 152, 151, 0.3);
}

.auth-title {
    font-size: var(--font-size-3xl);
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: 24px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.auth-signin {
    display: flex;
    justify-content: center;
    min-height: 44px;
}

.auth-error {
    color: var(--danger);
    font-size: var(--font-size-sm);
    margin-top: 16px;
    padding: 10px 16px;
    background: var(--danger-bg);
    border-radius: var(--radius-sm);
    display: none;
}

.auth-footer {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ========================
   AUTH LOADING STATE
   ======================== */
.auth-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 0 4px;
}

.auth-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: auth-spin 0.8s linear infinite;
}

@keyframes auth-spin {
    to { transform: rotate(360deg); }
}

.auth-status {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

