:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #f44336;
    --text-dark: #333;
    --text-light: #666;
    --background: #f5f5f5;
    --card-background: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.container, .selector-container {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-width: 600px;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tagline {
    color: var(--text-light);
    font-size: 1.1rem;
}

.space-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.auth-status, .auth-info {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 5px;
    background: #f9f9f9;
}

.auth-message {
    margin: 0.5rem 0;
}

.auth-message.success {
    color: var(--success-color);
}

.auth-message.warning {
    color: var(--warning-color);
}

.user-info {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.project-grid {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.project-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.project-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--text-light);
    color: white;
}

.btn-link {
    background: none;
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.error, .warning {
    color: var(--error-color);
    padding: 1rem;
    background: #ffebee;
    border-radius: 5px;
    margin: 1rem 0;
}

.welcome-card {
    text-align: center;
}

.welcome-card h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.welcome-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Project-specific styles */
.project-header {
    background: #4CAF50;
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.project-header h1 {
    color: white;
}

.project-header h2 {
    color: white;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.content-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 5px;
}

.content-section h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.content-section ul {
    margin-left: 1.5rem;
    color: var(--text-dark);
}

.content-section li {
    margin: 0.5rem 0;
}

.breadcrumb {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container, .selector-container {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}