/* ============================================
   Full-Page Authentication Wall
   ============================================ */

/* Full-page login screen */
.full-page-login {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-app) 0%, var(--bg-surface) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.full-page-login.hidden {
    display: none;
}

.login-container {
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.login-header {
    margin-bottom: 40px;
}

.login-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease-out;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    animation: fadeInDown 0.6s ease-out 0.1s backwards;
}

.login-header p {
    font-size: 18px;
    color: var(--text-secondary);
    animation: fadeInDown 0.6s ease-out 0.2s backwards;
}

.login-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.login-content i.fa-lock {
    font-size: 64px;
    color: var(--accent-primary);
    margin-bottom: 24px;
    opacity: 0.8;
}

.login-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.login-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.login-content .login-btn {
    background: #4285f4;
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.login-content .login-btn:hover {
    background: #357ae8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
}

.login-content .login-btn:active {
    transform: translateY(0);
}

/* Hide main app when not authenticated */
.app.auth-required {
    display: none;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .login-logo {
        width: 80px;
        height: 80px;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
    
    .login-header p {
        font-size: 16px;
    }
    
    .login-content {
        padding: 40px 24px;
    }
    
    .login-content h2 {
        font-size: 20px;
    }
    
    .login-content p {
        font-size: 14px;
    }
}
