/* Bird Army Command Center - Styles */
:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-hover: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #334155;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.5;
}

header {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    background: linear-gradient(180deg, #1e293b 0%, transparent 100%);
}

header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Board Layout */
.board-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem;
    max-width: 1600px;
    margin: 0 auto;
}

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

@media (max-width: 768px) {
    .board-container {
        grid-template-columns: 1fr;
    }
}

/* Bird Column */
.bird-column {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--bird-color, var(--info));
    overflow: hidden;
}

.bird-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.bird-avatar {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.bird-info h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.bird-role {
    font-size: 0.85rem;
    color: var(--bird-color);
    font-weight: 500;
}

.bird-model {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
}

.bird-stats {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

/* Task List */
.task-list {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 200px;
}

/* Task Card */
.task-card {
    background: var(--bg-dark);
    border-radius: 8px;
    padding: 0.75rem;
    border-left: 3px solid var(--border);
    transition: all 0.2s ease;
}

.task-card:hover {
    background: var(--bg-hover);
    transform: translateX(2px);
}

.task-card.status-active {
    border-left-color: var(--success);
}

.task-card.status-paused {
    border-left-color: var(--warning);
    opacity: 0.7;
}

.task-card.status-planned {
    border-left-color: var(--info);
    opacity: 0.8;
    border-style: dashed;
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.task-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.cron-id {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

.task-schedule {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.task-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.task-status {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-active .task-status {
    animation: pulse 2s infinite;
}
