@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Fira+Code:wght@400;500&display=swap');

:root {
    --bg-color: #020617;
    --card-bg: rgba(15, 23, 42, 0.8);
    --accent-cyan: #22d3ee;
    --accent-indigo: #818cf8;
    --accent-red: #f43f5e;
    --accent-green: #10b981;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: #f8fafc;
    height: 100vh;
    overflow: hidden;
}

.font-mono {
    font-family: 'Fira Code', monospace;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.agent-badge {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.agent-badge:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(34, 211, 238, 0.4);
}

.agent-active {
    background: rgba(34, 211, 238, 0.2) !important;
    border-color: var(--accent-cyan) !important;
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
}

.agent-attacking {
    background: rgba(244, 63, 94, 0.2) !important;
    border-color: var(--accent-red) !important;
    color: var(--accent-red);
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.3);
}

.project-item.active {
    border-left: 4px solid var(--accent-cyan);
    background: rgba(34, 211, 238, 0.05);
}

/* Barre de défilement */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-online {
    background-color: var(--accent-green);
    animation: pulse-dot 2s infinite;
}

.terminal-line {
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.gpu-dot {
    width: 6px;
    height: 6px;
    border-radius: 1px;
}

.gpu-load {
    background: var(--accent-cyan);
}

.gpu-idle {
    background: #1e293b;
}

.progress-micro {
    height: 2px;
    border-radius: 1px;
    background: #1e293b;
}

.progress-micro-fill {
    height: 100%;
    transition: width 0.5s ease;
}
