/* 
 * Default Theme - Main Styles
 * Simple, clean, and easy to customize!
 */

:root {
    /* Colors from theme.json */
    --color-primary: #3b82f6;
    --color-secondary: #6366f1;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-dark: #1f2937;
    --color-light: #f3f4f6;
    
    /* Fonts */
    --font-heading: Inter, system-ui, sans-serif;
    --font-body: system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --header-height: 70px;
    --container-max: 1280px;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.credits {
    background: var(--color-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--color-primary);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - var(--header-height) - 100px);
    padding: 40px 0;
}

/* Dashboard Styles */
.dashboard h1 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stat-card h3 {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
    font-weight: 500;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

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

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

.quick-actions {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Footer */
.site-footer {
    background: var(--color-dark);
    color: white;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-nav a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
