        .app-container > div {
            position: static !important; /* Remove relative positioning */
            height: 100vh; /* Full viewport height */
            padding-bottom: 0; /* Remove padding */
            overflow: hidden;
        }

        body, html {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        h1 {
            text-align: center;
            margin-top: 10px;
            font-size: 20px;
            background: linear-gradient(9deg, #800080 10%, #ed1c24 88%);
            line-height: 1.5em;
            color: #ffffff;
            font-weight: 600;
        }

        .app-container {
            position: relative;
            width: 100%;
            height: 100vh;  /* Use 90% of the viewport height for the app */
            overflow: hidden;
        }
        iframe {
            width: 100%;
            height: 100%;
            top : 0;
            left : 0;
            position: absolute;
            border: 2px solid red;  /* Remove iframe border */
        }
        

        .logout-link {
            position: absolute;
            right: 10px;
            top: 10px;
        }

        .logout-container {
            display: flex;
            justify-content: flex-end;
            margin: 10px;
        }

        .logout-link:hover {
            text-decoration: underline;
        }

        #logo-section {
            height: 150px;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(to top left, #ED1C24 5%, #001ED4 100%);
            border-bottom: 1px solid #ccc;
            padding: 10px;
            color: #fff;
        }
        
        #logo-section img {
            max-height: 100%;
            max-width: 90%;
        }
        
        #login-section {
            width: 300px;
            margin: 20px auto; /* Center the login section with some margin */
            padding: 20px;
            border: 1px solid #ccc;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            background: linear-gradient(to top left, #ED1C24 5%, #001ED4 100%);
        }
        
        #login-section h2 {
            text-align: center;
            color: #fff;
        }
        
        #login-section p {
            text-align: left;
            color:#fff;
        }
        
        #login-section form {
            display: flex;
            flex-direction: column;
        }
        
        #login-section button {
            margin-top: 10px;
            padding: 10px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        
        #login-section button:hover {
            background-color: #0056b3;
        }

        /* Style for the navigation menu */
        nav {
            background: linear-gradient(90deg, #800080 0%, #ed1c24 100%);
            padding: 0.5rem 1rem;  /* Adjust padding as needed */
        }

        .menu-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(9deg, #800080 10%, #ed1c24 88%);
        padding: 10px 20px;
        flex-wrap: wrap;
        }

        .menu-bar {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
        gap: 10px;
        background: linear-gradient(9deg, #800080 10%, #ed1c24 88%);
        }

        .menu-bar li {
        margin: 0;
        }

        .menu-bar a {
        display: inline-block;
        padding: 8px 14px;
        border: 1px solid #ccc;
        color: #fff;
        background-color: #007bff;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s ease, transform 0.2s ease;
        font-weight: 500;
        font-size: 13px;
        }

        .menu-bar a:hover {
        background-color: #ed1c24;
        border-color: #ed1c24;
        color: #fff;
        transform: translateY(-2px);
        }

        .menu-bar form {
        display: inline-block;
        margin-left: 10px;
        }

        form label, form select, form button {
            margin-bottom: 15px; /* Adds padding below each field */
        }
        
        form select {
            padding: 8px 12px; /* Makes the dropdowns larger */
            font-size: 16px; /* Increases the font size for better visibility */
            width: 200px; /* Adjust width as needed */
            border: 1px solid #ccc; /* Adds a border for better styling */
            border-radius: 4px; /* Makes the corners slightly rounded */
            background-color: #f9f9f9; /* Light background color */
        }


        form select {
            padding: 8px 12px;
            font-size: 14px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

        form button {
            padding: 10px 15px;
            font-size: 16px;
            color: #fff;
            background-color: #007BFF;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        
        form button:hover {
            background-color: #0056b3;
        }

        ul {
            list-style: none;
            padding: 0;
        }
        ul li {
            margin: 0 5px;
        }
        ul li a {
            text-decoration: none;
            color: #007bff;
            padding: 5px 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        ul li a:hover {
            background-color: #f4f4f4;
        }
        ul li strong {
            padding: 5px 10px;
            border: 1px solid #007bff;
            border-radius: 4px;
            background-color: #007bff;
            color: white;
        }


        .dash-table-container .dash-spreadsheet {
            border: 1px solid #dee2e6;
            font-family: Arial, sans-serif;
        }
        
        .dash-table-container .dash-header {
            background-color: #f8f9fa;
            font-weight: bold;
            border-bottom: 1px solid #dee2e6;
        }
        
        .dash-table-container .dash-cell {
            border: 1px solid #dee2e6;
            padding: 6px;
            text-align: center;
        }
        
        .dash-table-container .dash-cell.row-odd {
            background-color: #f9f9f9;
        }

        #login-section label,
        #login-section label i,
        #login-section label span,
        #login-section label::before,
        #login-section label::after {
        color: #ffffff !important;
        }

        #login-section h2 {
        color: #ffffff;
        margin-bottom: 20px;
        }

        #login-section {
        background: linear-gradient(135deg, #3b0a75, #d4203d); /* or keep your background */
        padding: 30px;
        border-radius: 10px;
        width: 300px;
        margin: 40px auto;
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
        }

        #login-section input {
        background-color: #fefefe;
        color: #000;
        }

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

        .logout-form,
        .login-btn {
        display: inline-block;
        }

        .app-eventcategoryaudience {
            margin-bottom: 30px;
            background: #f7f7f7;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

        .app-eventcategoryaudience caption {
            font-size: 16px;
            font-weight: bold;
            padding: 10px;
            background: #e0e0e0;
        }

        .table-responsive {
            min-width: 100%;
        }

        /* Make channel headers more visible */
        .channel-header{
        background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
        border-bottom: 1px solid #e9ecef;
        }

        /* Big, readable channel title */
        .channel-title{
        font-size: 1.35rem;          /* bigger label */
        letter-spacing: .2px;
        color: #0b1034;               /* deep ink */
        white-space: nowrap;          /* don't wrap short names */
        }


        .main-navbar {
        background: linear-gradient(90deg, #7b1fa2, #e91e63, #ff5722);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
        z-index: 1000;
        }

        .main-navbar .navbar-brand {
        font-weight: 700;
        letter-spacing: 0.03em;
        }

        /* Top-level links */
        .main-navbar .nav-link {
        position: relative;
        font-weight: 500;
        padding: 0.4rem 0.85rem;
        color: #fcefff !important;
        transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
        border-radius: 999px;
        }

        /* Fix hover (no white pill) */
        .main-navbar .nav-link:hover,
        .main-navbar .nav-link:focus {
        background-color: rgba(255, 255, 255, 0.16);
        color: #ffffff !important;
        transform: translateY(-1px);
        }

        /* Optional: underline glow on active / hover */
        .main-navbar .nav-link::after {
        content: "";
        position: absolute;
        left: 15%;
        right: 15%;
        bottom: 2px;
        height: 2px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.7);
        opacity: 0;
        transform: scaleX(0.7);
        transition: opacity 0.2s ease, transform 0.2s ease;
        }

        .main-navbar .nav-link:hover::after,
        .main-navbar .nav-link:focus::after,
        .main-navbar .nav-link.active::after {
        opacity: 1;
        transform: scaleX(1);
        }

        /* ===== HAMBURGER / TOGGLER ===== */

        .custom-toggler {
        border-color: rgba(255, 255, 255, 0.7);
        }

        .custom-toggler .navbar-toggler-icon {
        filter: invert(100%);
        }

        .custom-toggler:focus {
        box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.5);
        }

        /* ===== DROPDOWN MENU THEME ===== */

        /* Glassy dropdown over gradient */
        .dropdown-menu-modern {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        background: rgba(10, 10, 20, 0.92);
        border-radius: 12px;
        padding: 0.5rem 0;
        border: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
        min-width: 230px;
        }

        /* Divider line inside dropdown */
        .dropdown-menu-modern .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.15);
        margin: 0.25rem 0;
        }

        /* Dropdown items look nicer + animation */
        .dropdown-item-animated {
        color: #f1f1f1;
        font-size: 0.92rem;
        padding: 0.5rem 1.1rem;
        display: flex;
        align-items: center;
        gap: 0.35rem;
        transition:
            background-color 0.18s ease,
            color 0.18s ease,
            transform 0.18s ease,
            box-shadow 0.18s ease;
        }

        .dropdown-item-animated i {
        width: 1.1rem;
        text-align: center;
        }

        /* Hover animation: slight slide + glow */
        .dropdown-item-animated:hover,
        .dropdown-item-animated:focus {
        background: linear-gradient(90deg, #7b1fa2, #ff4081);
        color: #ffffff;
        transform: translateX(3px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
        }

        /* ===== AUTH BUTTONS ON RIGHT ===== */

        .main-navbar .btn-outline-light.btn-sm {
        border-radius: 999px;
        padding-inline: 0.9rem;
        font-size: 0.8rem;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        }


        #header{
            padding-bottom: 20px;
            padding-top: 20px;
        }


        .main-navbar.navbar .navbar-nav .nav-link {
            color: #ffffff !important;
            background-color: transparent !important;
        }

        /* When you hover the li or focus inside it (mouse on main menu item) */
        .main-navbar.navbar .navbar-nav .nav-item:hover > .nav-link,
        .main-navbar.navbar .navbar-nav .nav-item:focus-within > .nav-link {
            color: #ffffff !important;
            background-color: rgba(255, 255, 255, 0.20) !important;  /* soft highlight */
        }

        /* When dropdown is open (Bootstrap adds .show on the li) */
        .main-navbar.navbar .navbar-nav .nav-item.show > .nav-link,
        .main-navbar.navbar .navbar-nav .nav-item.show > .nav-link:hover {
            color: #ffffff !important;
            background-color: rgba(255, 255, 255, 0.20) !important;
        }

        /* Extra safety: if Bootstrap ever adds bg-light or text-dark */
        .main-navbar.navbar .navbar-nav .nav-link.bg-light,
        .main-navbar.navbar .navbar-nav .nav-link.text-dark {
            background-color: transparent !important;
            color: #ffffff !important;
        }

        /* ===== RESPONSIVE ===== */

        @media (max-width: 991.98px) {
        .main-navbar .nav-link {
            margin-top: 0.15rem;
        }
        }

        /* On small screens, gently reduce size */
        @media (max-width: 576px){
        .channel-title{ font-size: 1.15rem; }
        }


        /* Small-screen tweak */
        @media (max-width: 768px){
        .epg-container { max-width: 96vw; }
        }

        /* Increase table row height for Recent Jobs */
        .epg-table th,
        .epg-table td {
            padding: 12px 10px;     /* increase row height */
            line-height: 1.4;
        }

        /* Optional: improve checkbox alignment */
        .epg-table .col-select input[type="checkbox"] {
            transform: scale(1.2);
        }


        .upload-btn {
            background-color: #007bff;
            color: #fff;
            padding: 8px 16px;
            border-radius: 6px;
            border: none;
            font-weight: 600;
            cursor: pointer;
            transition: 0.25s ease;
        }

        .upload-btn:hover, .resume-btn:hover {
            background-color: #0056b3;
        }

        /* Choose File button wrapper */
        .custom-file-input {
            padding: 6px 12px;
            background-color: #f5f5f5;
            border-radius: 6px;
            border: 1px solid #ccc;
            display: inline-block;
            font-size: 14px;
        }

        /* ------------------------------
        Download Button
        ------------------------------ */
        .download-btn {
        display: inline-block;
        padding: 6px 14px;
        background-color: #28a745;
        color: white !important;
        border-radius: 4px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease-in-out;
        border: 1px solid #24963d;
        }

        .download-btn:hover {
        background-color: #218838;
        border-color: #1e7e34;
        color: #fff !important;
        box-shadow: 0 0 6px rgba(33, 136, 56, 0.5);
        }

        .download-btn:active {
        background-color: #1c7430;
        border-color: #155724;
        }
        /* ------------------------------
        Status Styling (Completed)
        ------------------------------ */
        .status-completed {
            color: #28a745;
            font-weight: bold;
            display: flex;
            align-items: center;
        }

        .status-completed::before {
            content: "✔️";
            margin-right: 5px;
        }

        /* ------------------------------
        Progress Bar
        ------------------------------ */
        .progress-bar {
            height: 12px;
            border-radius: 5px;
        }

        /* ------------------------------
        Table & Row Styling
        ------------------------------ */
        .epg-table th, .epg-table td {
            padding: 12px 10px;
            font-size: 14px;
        }

        .epg-table tr:nth-child(even) {
            background-color: #f8f9fa;
        }

        .epg-table tr:hover {
            background-color: #eef4ff;
        }


        /* Increase Message Column Visibility */
        .message-cell {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .resume-btn {
            background-color: #ff9800;         /* Bright modern orange */
            color: white;
            border: none;
            padding: 8px 18px;
            font-size: 14px;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
            box-shadow: 0 2px 4px rgba(0,0,0,0.15);
        }

        .resume-btn:hover {
            background-color: #fb8c00;         /* Slightly darker orange */
            box-shadow: 0 3px 6px rgba(0,0,0,0.25);
            transform: translateY(-1px);
        }

        .resume-btn:active {
            background-color: #ef6c00;         /* Pressed/dark orange */
            transform: translateY(0);
        }

        .resume-btn:disabled {
            background-color: #ffa726;
            opacity: 0.6;
            cursor: not-allowed;
        }


        .custom-file-upload {
        display: inline-block;
        background-color: #1976d2;   /* blue */
        color: #fff;
        padding: 8px 16px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        box-shadow: 0 2px 4px rgba(0,0,0,0.15);
        }

        .custom-file-upload:hover {
        background-color: #1565c0;
        box-shadow: 0 3px 8px rgba(0,0,0,0.25);
        transform: translateY(-1px);
        }

        .custom-file-upload:active {
        background-color: #0d47a1;
        transform: translateY(0);
        }

        /* Hide the real file input */
        .custom-file-upload input[type="file"] {
        display: none;
        }

        /* File name text */
        .file-name {
        font-size: 14px;
        color: #555;
        }




