/* style.css - MOBILE OPTIMIZED */
body { margin: 0; background: #000; color: #fff; font-family: sans-serif; overflow: hidden; }
a { text-decoration: none; color: white; }

/* LAYOUT */
.app-layout { display: flex; height: 100vh; width: 100vw; overflow: hidden; position: relative; }

/* MOBILE MENU BUTTON (The Hamburger) */
.menu-toggle {
    position: fixed; /* Keeps it on screen even if you scroll */
    top: 15px;
    left: 15px;
    z-index: 2000; /* Super high so nothing covers it */
    background: #e50914; /* Red background to be visible */
    color: white;
    padding: 12px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    user-select: none;
}
.menu-toggle:active { transform: scale(0.95); }

/* SIDEBAR (The Menu) */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: -100%; /* Fully hidden */
    width: 280px;
    height: 100vh;
    background: #111;
    z-index: 1500;
    transition: left 0.3s ease; /* Smooth slide in */
    display: flex;
    flex-direction: column;
    border-right: 1px solid #333;
    box-shadow: 5px 0 15px rgba(0,0,0,0.5);
}
.sidebar-overlay.open { left: 0; } /* Slides in when open */

.sidebar-header {
    padding: 20px;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}
.close-btn { cursor: pointer; padding: 10px; font-size: 20px; color: #aaa; }

/* LISTS & SEARCH */
.search-box { padding: 15px; background: #000; }
.search-box input { width: 100%; padding: 10px; background: #222; border: 1px solid #333; color: white; border-radius: 4px; box-sizing: border-box; }

.list-container { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.list-item { padding: 15px 20px; border-bottom: 1px solid #222; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.list-item:hover { background: #222; }
.list-item.active { background: #e50914; color: white; }

/* DASHBOARD & GRIDS */
.dashboard-container { display: flex; justify-content: center; align-items: center; height: 100vh; flex-wrap: wrap; gap: 20px; }
.card { background: #1a1a1a; width: 140px; height: 100px; display: flex; justify-content: center; align-items: center; font-weight: bold; border-radius: 8px; border: 2px solid transparent; }
.card:hover { border-color: #e50914; background: #222; }

/* TABS (For Live TV) */
.tab-container { display: flex; background: #000; }
.tab { flex: 1; padding: 15px; text-align: center; background: #111; color: #777; border-bottom: 2px solid #111; cursor: pointer; }
.tab.active { background: #222; color: white; border-bottom: 2px solid #e50914; }