* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f5f5f5; }
.admin-container { display: flex; min-height: 100vh; }
.sidebar { width: 250px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 20px; }
.logo h2 { font-size: 24px; margin-bottom: 5px; }
.logo p { font-size: 14px; opacity: 0.8; margin-bottom: 30px; }
.nav { display: flex; flex-direction: column; gap: 10px; }
.nav-item { color: white; text-decoration: none; padding: 12px 16px; border-radius: 8px; transition: all 0.3s; display: block; }
.nav-item:hover, .nav-item.active { background: rgba(255,255,255,0.2); }
.main-content { flex: 1; padding: 40px; }
.section { display: none; }
.section h1 { margin-bottom: 30px; color: #333; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 40px; }
.stat-card { background: white; padding: 30px; border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.stat-card h3 { color: #666; font-size: 14px; margin-bottom: 10px; }
.stat-number { font-size: 36px; font-weight: bold; color: #667eea; }
table { width: 100%; background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
thead { background: #667eea; color: white; }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid #eee; }
tbody tr:hover { background: #f9f9f9; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 12px; }
.tag-blue { background: #e3f2fd; color: #1976d2; }
.tag-green { background: #e8f5e9; color: #388e3c; }
.tag-orange { background: #fff3e0; color: #f57c00; }
.tag-gray { background: #f5f5f5; color: #666; }
.btn { padding: 8px 16px; border: none; border-radius: 8px; cursor: pointer; font-size: 14px; transition: all 0.3s; }
.btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.btn-success { background: #4caf50; color: white; }
.btn-warning { background: #ff9800; color: white; }
.btn-danger { background: #f44336; color: white; }
.btn-secondary { background: #999; color: white; }
.btn:hover { opacity: 0.9; transform: translateY(-2px); }
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); justify-content: center; align-items: center; z-index: 1000; }
.modal-content { background: white; padding: 40px; border-radius: 16px; width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto; }
.modal-content h2 { margin-bottom: 30px; color: #333; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: #666; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
.form-group textarea { resize: vertical; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 30px; }

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.setting-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.setting-card h3 {
    margin-bottom: 24px;
    font-size: 20px;
    color: #333;
}

.setting-item {
    margin-bottom: 20px;
}

.setting-item label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.setting-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.setting-input:focus {
    outline: none;
    border-color: #667eea;
}
