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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f7fa;
    color: #1a1a2e;
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 240px;
    background: #1a1a2e;
    color: #fff;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
}

.logo h1 {
    font-size: 2rem;
    margin-bottom: 0;
}

.logo h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 0.3rem;
}

.tagline {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 0.2rem;
    font-style: italic;
}

nav {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

nav a {
    color: #a0a0b8;
    text-decoration: none;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.9rem;
}

nav a:hover, nav a.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.7rem;
    opacity: 0.4;
}

/* Main content */
.main {
    margin-left: 240px;
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Buttons */
.btn {
    background: #1a1a2e;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.btn:hover {
    background: #2d2d4a;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    text-align: center;
}

.stat-card .stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.3rem;
}

.stat-card.green .stat-number { color: #2ecc71; }
.stat-card.yellow .stat-number { color: #f39c12; }
.stat-card.red .stat-number { color: #e74c3c; }

/* Quick actions */
.quick-actions {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.quick-actions h2 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.action-buttons {
    display: flex;
    gap: 0.8rem;
}

/* Recent videos */
.recent-videos {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.recent-videos h2 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    padding: 0.5rem 0.8rem;
    border-bottom: 1px solid #eee;
}

td {
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #f5f5f5;
}

.category-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: #f0f0f5;
}

.category-badge.healing_music { background: #e8f5e9; color: #2e7d32; }
.category-badge.ai_anime { background: #e3f2fd; color: #1565c0; }
.category-badge.food_therapy { background: #fff3e0; color: #e65100; }

.status-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: #f0f0f5;
}

.status-badge.draft { background: #f5f5f5; color: #666; }
.status-badge.queued { background: #fff8e1; color: #f57f17; }
.status-badge.publishing { background: #e3f2fd; color: #1565c0; }
.status-badge.published { background: #e8f5e9; color: #2e7d32; }
.status-badge.failed { background: #fbe9e7; color: #c62828; }

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #888;
    font-size: 0.9rem;
}

/* Setup checklist */
.setup-checklist {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.setup-checklist h2 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.setup-checklist ul {
    list-style: none;
}

.setup-checklist li {
    padding: 0.5rem 0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.setup-checklist li.done {
    opacity: 0.6;
    text-decoration: line-through;
}

.guide-link {
    font-size: 0.7rem;
    color: #1565c0;
    margin-left: 0.5rem;
}
