/* ============================
   1. CYBERPUNK CORE VARIABLES
   ============================ */
:root {
    --neon-green: #00ff9d;
    --neon-blue: #00f3ff;
    --neon-red: #ff0055;
    --glass-bg: rgba(12, 16, 25, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --card-glow: 0 0 20px rgba(0, 243, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #8b92a1;
}

/* ============================
   2. GLOBAL RESET & BACKGROUND
   ============================ */
body {
    font-family: 'Outfit', sans-serif;
    /* CSS ဖိုင်က css folder ထဲမှာရှိလို့ .. နဲ့ media folder ကိုပြန်ထွက်ရတယ် */
    background: url('../media/admin-bgg.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-main);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Dark High-Tech Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Vignette Effect for Cinematic Look */
    background: radial-gradient(circle at center, rgba(5, 11, 26, 0.8) 0%, #000 100%);
    z-index: -1;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 10px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.5); }

/* ============================
   3. HEADER AS MENU BAR (FIXED)
   ============================ */
.cyber-nav {
    background: rgba(5, 8, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.15);
    padding: 10px 20px;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
}

.brand-logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px; font-weight: 700; text-transform: uppercase;
    background: linear-gradient(90deg, #fff, var(--neon-blue));
    
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

/* MENU TABS (Icon Style) */
.nav-icons { display: flex; gap: 15px; }

.nav-icon-btn {
    background: transparent;
    border: none;
    color: #5a6b85;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.3s;
    position: relative;
    cursor: pointer;
}

.nav-icon-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.nav-icon-btn.active {
    color: var(--neon-blue);
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.nav-icon-btn.active::after {
    content: '';
    position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 4px;
    background: var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--neon-blue);
}

/* ============================
   4. HOLOGRAM CARDS
   ============================ */
.holo-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.holo-card:hover {
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: var(--card-glow);
}

/* Top Laser Line Decoration */
.holo-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    opacity: 0.5;
}

.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px; font-weight: 700; text-transform: uppercase;
    color: var(--neon-blue);
    margin-bottom: 20px;
    letter-spacing: 1px;
    display: flex; align-items: center; gap: 10px;
}

/* ============================
   5. USER CONTROL UI
   ============================ */
.user-list { display: flex; flex-direction: column; gap: 0; }

.user-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap; gap: 10px;
    transition: 0.2s;
}

.user-row:hover { background: rgba(255,255,255,0.02); }

.user-info { display: flex; align-items: center; gap: 12px; }

.avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #1a1f2e, #0f1219);
    border: 1px solid var(--neon-blue);
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.control-panel {
    display: flex; align-items: center; gap: 10px;
    background: rgba(0,0,0,0.3);
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Neon Toggles */
.btn-toggle {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700; font-size: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid transparent;
    background: transparent;
    color: #555;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-toggle.win.active {
    background: rgba(0, 255, 157, 0.1);
    border-color: var(--neon-green);
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.1);
}

.btn-toggle.lose.active {
    background: rgba(255, 0, 85, 0.1);
    border-color: var(--neon-red);
    color: var(--neon-red);
    text-shadow: 0 0 5px var(--neon-red);
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.1);
}

/* Percent Input */
.cyber-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: #fff;
    font-family: 'Rajdhani';
    font-size: 16px;
    font-weight: bold;
    width: 40px;
    text-align: center;
    outline: none;
    transition: 0.3s;
}

.cyber-input:focus {
    border-color: var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
}

/* ============================
   6. CHAT UI (FUTURISTIC)
   ============================ */
.chat-layout { display: flex; height: 78vh; gap: 15px; }

.chat-sidebar {
    width: 80px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    display: flex; flex-direction: column; align-items: center;
    padding: 15px 0; gap: 15px;
    overflow-y: auto;
}

.chat-avatar-wrapper { position: relative; cursor: pointer; transition: 0.3s; }
.chat-avatar-wrapper:hover { transform: scale(1.1); }

.chat-avatar-wrapper.active img {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px var(--neon-green);
}

.chat-avatar {
    width: 45px; height: 45px;
    border-radius: 50%;
    border: 2px solid #333;
    object-fit: cover;
    background: #000;
}

.online-dot {
    width: 12px; height: 12px;
    background: var(--neon-green);
    border-radius: 50%;
    position: absolute; bottom: 0; right: 0;
    border: 2px solid #000;
    box-shadow: 0 0 5px var(--neon-green);
}

.chat-main {
    flex: 1;
    display: flex; flex-direction: column;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

.chat-header {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,0.02);
}

.chat-box {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex; flex-direction: column; gap: 15px;
}

.msg {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    position: relative;
}

.msg-user {
    background: rgba(255,255,255,0.05);
    color: #ccc;
    border-top-left-radius: 0;
    border-left: 3px solid #555;
}

.msg-admin {
    background: rgba(0, 243, 255, 0.15);
    color: #fff;
    align-self: flex-end;
    border-top-right-radius: 0;
    border-right: 3px solid var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.05);
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex; gap: 10px;
    background: rgba(255,255,255,0.02);
}

.cyber-text-field {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    outline: none;
    font-size: 13px;
    transition: 0.3s;
}

.cyber-text-field:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

/* ============================
   7. RESPONSIVE DESIGN
   ============================ */
@media (max-width: 768px) {
    .brand-logo { font-size: 18px; }
    .nav-icons { gap: 5px; }
    .user-row { flex-direction: column; align-items: flex-start; }
    .control-panel { width: 100%; justify-content: space-between; margin-top: 10px; }
    .chat-layout { height: 85vh; }
    .chat-sidebar { width: 60px; }
    .chat-avatar { width: 35px; height: 35px; }
}