/* --- 1. Global & Reset --- */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Poppins', sans-serif; }
body { background-color: #050f14; color: #e0e0e0; overflow: hidden; }

/* Custom Scrollbar for Premium Look */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #254a59; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #00d2ff; }

/* --- 2. Header & Nav --- */
.header { 
    height: 65px; 
    background: rgba(11, 30, 38, 0.85); 
    backdrop-filter: blur(10px); 
    display: flex; align-items: center; justify-content: space-between; 
    padding: 0 25px; position: fixed; top: 0; width: 100%; z-index: 1000; 
    border-bottom: 1px solid rgba(0, 210, 255, 0.15); 
}

.logo-block { display: flex; align-items: center; transition: 0.3s; cursor: pointer; }
.logo-block:hover { transform: scale(1.05); }
.logo-text-head { color: #00d2ff; font-weight: 600; font-size: 1.4rem; }
.logo-text-tail { color: #ffffff; font-weight: 400; font-size: 1.4rem; }

.status-icon { 
    background: rgba(0, 210, 255, 0.1); color: #00d2ff; 
    padding: 8px 15px; border-radius: 20px; font-weight: 500; 
    cursor: pointer; border: 1px solid rgba(0, 210, 255, 0.3); transition: 0.3s; 
}
.status-icon:hover { background: #00d2ff; color: #050f14; box-shadow: 0 0 10px rgba(0, 210, 255, 0.5); }

/* --- 3. App Layout & Sidebars --- */
.app-container { display: flex; margin-top: 80px; height: calc(100vh - 160px); width: 95%; margin-left: auto; margin-right: auto; gap: 15px; }

/* Sidebar Base */
.sidebar { 
    width: 260px; background: rgba(11, 30, 38, 0.6); backdrop-filter: blur(15px); 
    padding: 25px; border-radius: 20px; border: 1px solid rgba(37, 74, 89, 0.5); 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); z-index: 999; 
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar h3 { font-size: 1.1rem; color: #88a8b5; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.sidebar-menu { list-style: none; }

/* Content Area */
.content-area { 
    flex: 1; padding: 25px; overflow-y: auto; 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; align-content: start; 
    background: rgba(11, 30, 38, 0.4); border-radius: 20px; 
    border: 1px solid rgba(37, 74, 89, 0.3); padding-bottom: 90px;
}

/* --- 4. Components (Cards, Menu) --- */
.card { 
    background: linear-gradient(145deg, #0d252f, #112e3a); 
    border: 1px solid rgba(0, 210, 255, 0.2); padding: 25px; 
    border-radius: 16px; text-align: center; transition: all 0.3s ease; 
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.card-icon { font-size: 2rem; color: #00d2ff; }

.menu-item { 
    padding: 12px 18px; margin-bottom: 10px; border-radius: 12px; 
    display: flex; align-items: center; gap: 12px; color: #b0c4de; 
    cursor: pointer; transition: 0.3s; font-weight: 500;
}

.status-box { background: rgba(0, 210, 255, 0.1); padding: 20px; border-radius: 15px; text-align: center; border: 1px solid rgba(0, 210, 255, 0.2); }
.status-box h2 { font-size: 2.5rem; color: #00d2ff; margin-top: 10px; }

/* --- 5. Bottom Nav --- */
.bottom-nav { 
    display: flex; justify-content: space-around; align-items: center; 
    position: fixed; bottom: 0; width: 100%; height: 75px; 
    background: rgba(8, 20, 26, 0.9); backdrop-filter: blur(20px); 
    border-top: 1px solid rgba(0, 210, 255, 0.15); z-index: 1000; padding: 0 10px;
}

.bottom-nav button { 
    display: flex; flex-direction: column; align-items: center; gap: 6px; 
    background: none; border: none; color: #547481; font-size: 11px; 
    font-weight: 500; cursor: pointer; transition: all 0.3s ease; 
    width: 25%; padding: 10px 0;
}
.bottom-nav button i { font-size: 22px; transition: 0.3s; }
.bottom-nav button.active { color: #00d2ff; }
.bottom-nav button.active i { transform: translateY(-3px); text-shadow: 0 0 10px rgba(0, 210, 255, 0.6); }

/* --- 6. Responsive Settings --- */
@media (min-width: 769px) {
    .menu-btn { display: none; }
    .card:hover { transform: translateY(-5px); border-color: #00d2ff; box-shadow: 0 8px 25px rgba(0, 210, 255, 0.15); }
    .menu-item:hover { background: rgba(0, 210, 255, 0.1); color: #ffffff; transform: translateX(5px); }
}

@media (max-width: 768px) {
    .menu-btn { background: none; border: none; color: #00d2ff; font-size: 1.5rem; cursor: pointer; }
    .header { padding: 0 15px; }
    .app-container { width: 100%; margin-top: 65px; border-radius: 0; }
    
    /* Mobile Sidebar Settings - Fix for Left/Right Issue */
    .sidebar { position: fixed; height: 100vh; top: 0; border-radius: 0; padding-top: 80px; z-index: 999; }
    .sidebar-left { left: -260px; }
    .sidebar-left.active { left: 0; }
    .sidebar-right { right: -260px; }
    .sidebar-right.active { right: 0; }
    
    .content-area { grid-template-columns: 1fr; border-radius: 0; border-left: none; border-right: none; }
}