* { 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, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    border-right: 1px solid rgba(148, 163, 184, 0.1);
    padding: 24px;
    overflow-y: auto;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.logo-subtitle {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 32px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
}

.nav-item:hover, .nav-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }

.main-content {
    margin-left: 260px;
    padding: 32px;
    max-width: 1400px;
}

.header {
    margin-bottom: 32px;
}

.header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.header p { color: #64748b; }

.actions-bar {
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover { background: #2563eb; }

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.btn-sm:hover { background: rgba(59, 130, 246, 0.2); }

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

.metric-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 24px;
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 14px;
    color: #64748b;
}

.metric-change {
    font-size: 12px;
    margin-top: 8px;
}

.positive { color: #10b981; }
.negative { color: #ef4444; }

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

.card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 24px;
}

.card h2 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.community-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px;
    margin-bottom: 12px;
    gap: 16px;
}

.community-info {
    flex: 1;
    min-width: 0;
}

.community-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 500;
}

.community-info span {
    font-size: 13px;
    color: #64748b;
}

.community-stats {
    text-align: right;
    min-width: 80px;
}

.community-stats .number {
    font-size: 20px;
    font-weight: 600;
}

.community-stats .label {
    font-size: 12px;
    color: #64748b;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: lowercase;
    min-width: 70px;
    text-align: center;
}

.status-active { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.status-growing { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.status-upcoming { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.status-pending { background: rgba(148, 163, 184, 0.2); color: #94a3b8; }
.status-verified { background: rgba(16, 185, 129, 0.2); color: #10b981; }

.loading { 
    text-align: center; 
    padding: 40px; 
    color: #64748b; 
}

/* Kanban Board */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.kanban-column {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    padding: 16px;
    min-height: 400px;
}

.kanban-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.kanban-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.kanban-task {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.kanban-task:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.task-title {
    font-weight: 500;
    margin-bottom: 4px;
}

.task-meta {
    font-size: 12px;
    color: #64748b;
}

/* Responsive */
@media (max-width: 1200px) {
    .kanban-board {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .kanban-board {
        grid-template-columns: 1fr;
    }
}
