/* General Reset */
/* Add this to the top of your style.css */
@import url('images/favicon.ico');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body Styling */
body {
    background-color: #f4f6f9;
    color: #333;
    font-size: 16px;
    width: 100%;
}

/* Navigation Styling */
nav {
    width: 100%;
    background-color: #004a7c;
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
}

nav a:hover {
    background-color: #0074cc;
    color: white;
}

/* Container Styling */
.container {
    max-width: 1200px;
    width: 90%;
    padding: 20px;
    margin: 100px auto 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Headings */
h2 {
    text-align: center;
    color: #004a7c;
    margin-bottom: 20px;
}

h3, h4 {
    color: #004a7c;
    margin-top: 20px;
}

/* Primary Channel Status Buttons (Unreviewed, Approved, Denied) */
.channel-status-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.channel-status-buttons a {
    padding: 10px 20px;
    color: #ffffff;
    background-color: #0074cc;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.channel-status-buttons a.active {
    background-color: #005f99;
}

.channel-status-buttons a:hover {
    background-color: #005f99;
}

/* Secondary Filter Buttons (All, Downloaded, Not Downloaded) */
.download-status-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.download-status-filters a {
    padding: 8px 15px;
    color: #004a7c;
    background-color: #e8f1f8;
    text-decoration: none;
    border: 1px solid #004a7c;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
}

.download-status-filters a.active,
.download-status-filters a:hover {
    background-color: #0074cc;
    color: white;
}

/* Search Bar Styling */
.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-bar input[type="text"] {
    padding: 10px;
    border: 1px solid #004a7c;
    border-radius: 5px 0 0 5px;
    outline: none;
    width: 300px;
}

.search-bar button {
    padding: 10px 15px;
    background-color: #004a7c;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.search-bar button:hover {
    background-color: #0074cc;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th, table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #e8f1f8;
    font-weight: bold;
    color: #004a7c;
}

table tr:hover {
    background-color: #f0f8ff;
}

/* Download Buttons Styling */
.download-btn-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

button.download-btn {
    background-color: #004a7c;
    color: #fff;
    padding: 12px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

button.download-btn:hover {
    background-color: #0074cc;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

/* Login Page Styling */
body.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f6f9;
}

.login-container {
    width: 350px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.login-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.login-container h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #004a7c;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.login-form button {
    width: 100%;
    padding: 12px;
    background-color: #004a7c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.login-form button:hover {
    background-color: #0074cc;
}

/* Error Message Styling */
.error-message {
    background-color: #ffdddd;
    color: #d8000c;
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #d8000c;
    border-radius: 5px;
    text-align: center;
}

/* Review Page Elements */

/* Centered and larger channel name */
.channel-name p {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Review Buttons Styling */
.review-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.review-buttons button {
    font-size: 18px;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    transition: background-color 0.3s ease;
}

#approve-btn {
    background-color: #28a745; /* Green */
}

#approve-btn:hover {
    background-color: #218838;
}

#deny-btn {
    background-color: #dc3545; /* Red */
}

#deny-btn:hover {
    background-color: #c82333;
}

/* Video Thumbnails Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.video {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.video img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.video p {
    font-size: 14px;
    margin-top: 8px;
}

/* Upload Summary Styling */
.upload-summary {
    background-color: #e9f7ef;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: left;
}

/* No Channels Left Message */
.no-channels-message p {
    font-size: 18px;
    font-weight: bold;
    color: #555;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Upload Form Styling */
.upload-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.file-label {
    background-color: #004a7c;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
}

.file-label:hover {
    background-color: #0074cc;
}

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

.upload-btn {
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.upload-btn:hover {
    background-color: #218838;
}
/* Login Page Styling */
body.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f6f9;
}

.login-container {
    width: 650px;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.login-logo-large {
    width: 500px;
    height: auto;
    margin-bottom: 20px;
}

.login-title {
    font-size: 24px;
    color: #004a7c;
    font-weight: bold;
    margin-bottom: 10px;
}

.login-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #004a7c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #0074cc;
}

.error-message {
    background-color: #ffdddd;
    color: #d8000c;
    padding: 10px;
    margin-top: 15px;
    border: 1px solid #d8000c;
    border-radius: 5px;
    text-align: center;
}
/* General Mobile-Friendly Adjustments */
@media only screen and (max-width: 768px) {
    .container {
        width: 95%;
        padding: 10px;
        margin: 80px auto 20px;
    }
    
    /* Navigation */
    nav {
        flex-wrap: wrap;
        padding: 10px;
        gap: 10px;
    }
    
    nav a {
        padding: 8px;
    }

    /* Floating Button Bar for Review Page */
    .review-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-around;
        padding: 15px 0;
        background-color: #f4f6f9;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .review-buttons button {
        flex: 1;
        margin: 0 5px;
        padding: 10px;
        font-size: 16px;
    }
}

/* Button Styling */
#approve-btn {
    background-color: #28a745;
}

#deny-btn {
    background-color: #dc3545;
}

#undo-btn, #play-random-btn {
    background-color: #007bff;
    color: #fff;
}

#approve-btn:hover {
    background-color: #218838;
}

#deny-btn:hover {
    background-color: #c82333;
}

#undo-btn:hover, #play-random-btn:hover {
    background-color: #0056b3;
}
/* Channel Info Styling */
.channel-info {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.channel-info .channel-title a {
    font-size: 26px;
    font-weight: bold;
    color: #004a7c;
    text-decoration: none;
}

.channel-info .channel-title a:hover {
    color: #0074cc;
}

.channel-info .channel-stats {
    font-size: 18px;
    color: #555;
    margin: 5px 0;
}

.channel-info .channel-description {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styling */
.review-buttons button {
    font-size: 18px;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    transition: background-color 0.3s ease;
}

#approve-btn {
    background-color: #28a745;
}

#approve-btn:hover {
    background-color: #218838;
}

#deny-btn {
    background-color: #dc3545;
}

#deny-btn:hover {
    background-color: #c82333;
}

#undo-btn, #play-random-btn {
    background-color: #007bff;
    color: #fff;
}

#undo-btn:hover, #play-random-btn:hover {
    background-color: #0056b3;
}
        /* Styled Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }
        
        .pagination a {
            margin: 0 5px;
            padding: 8px 12px;
            background-color: #0074cc;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }
        
        .pagination a:hover {
            background-color: #005f99;
        }
        
        .pagination a.active {
            background-color: #004a7c;
        }
        
/* Original CSS retained as provided */

/* Channel Status and Filter Buttons */
.channel-status-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.channel-status-buttons a {
    padding: 10px 20px;
    color: #ffffff;
    background-color: #0074cc;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.channel-status-buttons a.active {
    background-color: #005f99;
}

.channel-status-buttons a:hover {
    background-color: #005f99;
}

/* Secondary Filter Buttons */
.download-status-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.download-status-filters a {
    padding: 8px 15px;
    color: #004a7c;
    background-color: #e8f1f8;
    text-decoration: none;
    border: 1px solid #004a7c;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
}

.download-status-filters a.active,
.download-status-filters a:hover {
    background-color: #0074cc;
    color: white;
}

/* Export Action Buttons Styling */
.download-btn-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

button.download-btn {
    background-color: #004a7c;
    color: #fff;
    padding: 12px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

button.download-btn:hover {
    background-color: #0074cc;
}

/* Emphasis for Copy Non Exported Button */
.download-btn-container .download-btn.copy-btn {
    background-color: #ff9800;
    font-weight: bold;
}

.download-btn-container .download-btn.copy-btn:hover {
    background-color: #e68900;
}

/* Styled Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.pagination a {
    margin: 0 5px;
    padding: 8px 12px;
    background-color: #0074cc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #005f99;
}

.pagination a.active {
    background-color: #004a7c;
}

/* Search Bar below Pagination */
.search-bar {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}
/* Toggle Container */
.toggle-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* Toggle Wrapper Styling */
.toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

/* Toggle Select Styling */
.toggle-wrapper select {
    padding: 5px;
    font-size: 16px;
    border: 1px solid #004a7c;
    border-radius: 5px;
    color: #004a7c;
    background-color: #f4f6f9;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-wrapper select:hover {
    background-color: #e8f1f8;
}

/* Checkbox for Auto Open */
.toggle-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}
