/* Base styles for all pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    min-height: 100vh;
}

/* Home page styles */
.container {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

.loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid #1e293b;
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.auth-links {
    display: none;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.auth-links a {
    padding: 0.75rem 2rem;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background 0.2s;
}

.auth-links a:hover {
    background: #2563eb;
}

.user-info {
    display: none;
    background: #1e293b;
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 2rem;
}

.user-info h2 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.user-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.logout-btn {
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.logout-btn:hover {
    background: #b91c1c;
}

/* Notification styles */
.error {
    background: #dc2626;
    color: white;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.success {
    background: #059669;
    color: white;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}