/* ========================================
   RESET & BASIS
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header h1 {
    color: #333;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========================================
   USER INFO
   ======================================== */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.user-badge {
    background: #f8f9fa;
    padding: 8px 20px;
    border-radius: 50px;
    border-left: 4px solid #667eea;
    font-size: 0.95rem;
}

.user-badge .name {
    font-weight: 600;
    color: #333;
}

.user-badge .role {
    background: #667eea;
    color: white;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    margin-left: 8px;
}

.logout-btn {
    background: #dc3545;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.logout-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* ========================================
   STATS CARDS
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #667eea;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}

.stat-label {
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   MENU HEADER
   ======================================== */
.menu-header {
    color: white;
    margin: 30px 0 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========================================
   MENU GRID
   ======================================== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.menu-item {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.menu-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.menu-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #667eea;
    color: white;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

/* Specifieke tag kleuren */
.menu-item:nth-child(1) .menu-tag { background: #667eea; } /* SEO */
.menu-item:nth-child(2) .menu-tag { background: #667eea; } /* SEO */
.menu-item:nth-child(3) .menu-tag { background: #667eea; } /* SEO */
.menu-item:nth-child(4) .menu-tag { background: #667eea; } /* SEO */
.menu-item:nth-child(5) .menu-tag { background: #10b981; } /* AI - groen */
.menu-item:nth-child(6) .menu-tag { background: #10b981; } /* AI - groen */
.menu-item:nth-child(7) .menu-tag { background: #10b981; } /* AI - groen */
.menu-item:nth-child(8) .menu-tag { background: #10b981; } /* AI - groen */
.menu-item:nth-child(9) .menu-tag { background: #f59e0b; } /* Account - oranje */
.menu-item:nth-child(10) .menu-tag { background: #f59e0b; } /* Account - oranje */

/* ========================================
   ADMIN SECTIE
   ======================================== */
.admin-section {
    margin: 40px 0;
    padding: 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.admin-section h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.admin-item {
    background: rgba(255,255,255,0.15);
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.admin-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.admin-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.admin-item p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ========================================
   QUICK ACTIONS
   ======================================== */
.quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px 0;
    justify-content: center;
}

.quick-btn {
    background: white;
    color: #667eea;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: 2px solid white;
}

.quick-btn:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    text-align: center;
    color: rgba(255,255,255,0.7);
    margin-top: 40px;
    padding: 20px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .header {
        padding: 15px;
    }
    
    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-info {
        width: 100%;
    }
    
    .user-badge {
        width: 100%;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        flex-direction: column;
    }
    
    .quick-btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 1.3rem;
    }
}