@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap'); 

:root { 
    --bg-deep: #050505; 
    --bg-cosmic: radial-gradient(circle at top right, #1a0b2e 0%, #000000 60%); 
    --glass-border: 1px solid rgba(255, 255, 255, 0.08); 
    --glass-bg: rgba(20, 20, 20, 0.4); 
    --glass-blur: blur(20px); 
    --neon-blue: #00f2ff; 
    --neon-purple: #bc13fe; 
    --neon-green: #0aff60; 
    --neon-red: #ff0055; 
    --text-main: #ffffff; 
    --text-muted: #a0a0a0; 
    --discord-bg: #2f3136;
} 

body { 
    background: var(--bg-deep); 
    background-image: var(--bg-cosmic); 
    color: var(--text-main); 
    font-family: 'Inter', sans-serif; 
    margin: 0; 
    min-height: 100vh; 
    overflow-x: hidden; 
} 

/* --- Layout --- */ 
.app-container { display: flex; min-height: 100vh; } 
.sidebar { width: 250px; background: rgba(0,0,0,0.3); backdrop-filter: blur(15px); border-right: var(--glass-border); padding: 2rem; display: flex; flex-direction: column; } 
.sidebar-title { font-size: 1.2rem; margin-bottom: 2rem; color: var(--neon-blue); text-shadow: 0 0 10px rgba(0, 242, 255, 0.3); } 
.main-content { flex: 1; padding: 3rem; overflow-y: auto; } 

/* --- Navigation --- */ 
.nav-link { display: block; padding: 1rem; margin-bottom: 0.5rem; color: var(--text-muted); text-decoration: none; border-radius: 8px; transition: 0.2s; } 
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.05); color: var(--text-main); border-left: 3px solid var(--neon-blue); } 
.logout-link { margin-top: auto; color: var(--neon-red); } 

/* --- Components --- */ 
.glass-panel { background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: var(--glass-border); border-radius: 16px; padding: 2rem; box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3); margin-bottom: 2rem; } 
.hero-stats { display: flex; justify-content: space-around; background: linear-gradient(90deg, rgba(0,242,255,0.1) 0%, rgba(188,19,254,0.1) 100%); border-bottom: var(--glass-border); padding: 1.5rem; backdrop-filter: blur(10px); margin-bottom: 2rem; border-radius: 12px; } 
.stat-value { font-size: 1.8rem; font-weight: 800; color: #fff; } 
.stat-label { font-size: 0.8rem; color: var(--neon-blue); text-transform: uppercase; letter-spacing: 1px; } 

/* --- Command Matrix --- */
.matrix-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.cmd-card { background: rgba(255,255,255,0.03); border-radius: 8px; padding: 15px; border: 1px solid rgba(255,255,255,0.05); }
.cmd-inner { display: flex; justify-content: space-between; align-items: center; }
.cmd-name { color: var(--neon-blue); }
.cmd-desc { font-size: 0.85rem; color: var(--text-muted); }

/* --- Forms & Toggles --- */
.input-glass { width: 100%; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); color: white; padding: 12px; border-radius: 8px; margin-top: 8px; outline: none; } 
.btn { padding: 10px 20px; border-radius: 8px; border: none; font-weight: 600; cursor: pointer; transition: 0.3s; text-decoration: none; display: inline-block; } 
.btn-primary { background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%); color: white; } 
.btn-xs { padding: 5px 10px; font-size: 0.75rem; }

/* --- Staff Team --- */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.staff-card { background: rgba(255,255,255,0.02); border-radius: 12px; padding: 1.5rem; text-align: center; border: var(--glass-border); transition: 0.3s; }
.staff-avatar { width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.1); margin-bottom: 10px; }
.on-duty { border-bottom: 3px solid var(--neon-green); box-shadow: 0 4px 15px rgba(10, 255, 96, 0.1); }
.off-duty { border-bottom: 3px solid var(--neon-red); }
.staff-name { font-weight: 600; margin-bottom: 5px; }
.staff-metrics { display: flex; justify-content: center; gap: 10px; margin-top: 10px; font-size: 0.8rem; color: var(--text-muted); }

/* --- Ticket & Transcript Styling --- */
.chat-viewport { background: #1a1a1a; border-radius: 8px; border: 1px solid #333; margin-top: 15px; }
.chat-header { padding: 10px; background: #222; border-bottom: 1px solid #333; display: flex; justify-content: space-between; font-size: 0.8rem; }
.chat-messages { padding: 15px; max-height: 400px; overflow-y: auto; }
.chat-entry { display: flex; gap: 12px; margin-bottom: 15px; }
.chat-avatar { width: 35px; height: 35px; border-radius: 50%; }
.chat-user { font-weight: 800; color: var(--neon-blue); font-size: 0.9rem; }
.chat-time { font-size: 0.7rem; color: #666; margin-left: 8px; }
.chat-content { font-size: 0.9rem; line-height: 1.4; margin-top: 4px; }

/* --- Tables & Badges --- */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; padding: 1rem; color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,0.1); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; }
.data-table td { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.badge { padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 800; display: inline-block; }
.badge-active { background: rgba(0, 242, 255, 0.1); color: var(--neon-blue); border: 1px solid var(--neon-blue); }
.badge-closed { background: rgba(255, 0, 85, 0.1); color: var(--neon-red); border: 1px solid var(--neon-red); }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; } 
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #222; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #333; }