* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cause', 'Plus Jakarta Sans', sans-serif;
}

body {
    background: #f4f6f9;
}

.wrapper {
    display: flex;
}


/* SIDEBAR */

.sidebar {
    width: 240px;
    height: 100vh;
    background: #0d1b2a;
    color: white;
    position: fixed;
}


/* ===== SIDEBAR LOGO AREA ===== */

.sidebar-logo {
    height: 70px;
    /* top space */
    padding: 20px;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1b263b, #0d1b2a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


/* TV ICON STYLE */

.sidebar-logo i {
    font-size: 28px;
    color: #4cc9f0;
    /* accent color */
}


/* TEXT STYLE */

.sidebar-logo span {
    color: #ffffff;
    letter-spacing: 0.5px;
}


/* OPTIONAL: Hover glow */

.sidebar-logo:hover i {
    color: #72efdd;
    transition: 0.3s ease;
}

.sidebar {
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.25);
}

.menu {
    list-style: none;
    padding: 0;
}

.menu li a {
    display: block;
    padding: 15px 20px;
    color: #ddd;
    text-decoration: none;
}

.menu li a:hover,
.menu li.active a {
    background: #415a77;
    color: white;
}


/* CONTENT */

.content {
    margin-left: 240px;
    width: 100%;
}


/* NAVBAR */

.topbar {
    background: white;
    padding: 10px 28px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e4e8f0;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 6px 30px 6px 10px;
}

.search-box i {
    position: absolute;
    right: 10px;
    top: 8px;
}

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

.badge {
    background: red;
    color: white;
    padding: 2px 6px;
    border-radius: 50%;
}


/* PAGE */

.page {
    padding: 20px;
}


/* STATS */

.stat {
    padding: 20px;
    color: white;
    border-radius: 8px;
    text-align: center;
}

.blue {
    background: #0077b6;
}

.green {
    background: #2a9d8f;
}

.orange {
    background: #f4a261;
}

.red {
    background: #e63946;
}

.media-card img,
.media-card video {
    height: 180px;
    object-fit: cover;
}

.media-card {
    border-radius: 10px;
    overflow: hidden;
}

/* Session Warning Modal Styles */
.session-warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.session-warning-container {
    background: var(--card-bg);
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    animation: slideUp 0.3s ease;
}

.session-warning-header {
    background: linear-gradient(135deg, #f4a261, #e76f51);
    color: white;
    padding: 22px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.session-warning-header i {
    font-size: 28px;
}

.session-warning-header h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.3rem;
}

.session-warning-body {
    padding: 25px;
    text-align: center;
    color: var(--text-primary);
}

.session-warning-body p {
    margin-bottom: 15px;
    font-size: 14px;
}

.countdown-timer {
    font-size: 48px;
    font-weight: 800;
    font-family: monospace;
    color: var(--accent-color);
    margin: 20px 0;
    background: rgba(76, 201, 240, 0.1);
    padding: 15px;
    border-radius: 12px;
    letter-spacing: 2px;
}

.warning-hint {
    font-size: 12px !important;
    color: var(--text-muted);
    margin-top: 15px;
    margin-bottom: 0 !important;
}

.session-warning-footer {
    padding: 20px 25px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid var(--border-color);
}

.warning-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 14px;
}

.warning-btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #3aa8d8);
    color: white;
}

.warning-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
}

.warning-btn-danger {
    background: linear-gradient(135deg, #e63946, #c1121f);
    color: white;
}

.warning-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.session-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}