/* Login Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 0.8s ease-out;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e1e8ed;
}

.login-header {
    text-align: center;
    padding: 40px 40px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.login-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 14px;
    color: #64748b;
    font-weight: 400;
}

.login-content {
    padding: 40px;
    text-align: center;
}

.google-signin-container {
    margin-bottom: 30px;
}

.google-signin-container .g_id_signin {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-state p {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

/* Error Message */
.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.error-message p {
    color: #dc2626;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.retry-button {
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.retry-button:hover {
    background: #b91c1c;
}

/* Footer */
.login-footer {
    background: #f8fafc;
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.login-footer p {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.timezone-info {
    font-size: 11px;
    color: #94a3b8;
}

.timezone-info span {
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-container {
        padding: 10px;
    }
    
    .login-header,
    .login-content,
    .login-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .login-header h1 {
        font-size: 20px;
    }
}

/* Success State */
.success-message {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.success-message p {
    color: #16a34a;
    font-size: 14px;
    font-weight: 500;
}