#wowza-video-upload {
    max-width: 600px;
    margin: 0 auto;
}

#wowza-video-upload p {
    margin-bottom: 15px;
}

#wowza-video-upload label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#wowza-video-upload input,
#wowza-video-upload textarea,
#wowza-video-upload select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#wowza-video-upload button {
    padding: 10px 15px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#wowza-video-upload button:hover {
    background-color: #005177;
}
/* Notification container */
#notification-container {
    position: fixed;
    top: 220px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    max-width: 300px;
}
.info-box {
    padding: 20px;
    margin: 20px 0;
    background-color: #f7f7f7; /* Light gray background */
    border-left: 4px solid #0073aa; /* Accent color */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    font-family: Arial, sans-serif; /* Clean, modern font */
    color: #333; /* Dark text for readability */
}

.info-message {
    margin: 0 0 15px;
    font-size: 16px; /* Comfortable reading size */
    line-height: 1.5;
}

.info-message strong {
    font-size: 18px; /* Slightly larger for emphasis */
    color: #000; /* Stronger contrast for bold text */
}

.upload-video-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa; /* WordPress blue */
    color: #fff; /* White text */
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.upload-video-link:hover {
    background-color: #005f8d; /* Darker blue on hover */
}
.button.back-to-board {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa; /* WordPress blue */
    color: #fff; /* White text */
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: all 0.3s ease; /* Smooth hover effect */
}

.button.back-to-board:hover {
    background-color: #005f8d; /* Darker blue on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Slightly larger shadow */
    transform: translateY(-2px); /* Lift effect */
}
.video-popup {
    display: none; /* Hide the popup initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
    z-index: 1000; /* Ensure it's above all other elements */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
 
}

.video-popup-content {
    position: relative;
    width: 90%; /* Responsive width */
    max-width: 800px; /* Limit to a maximum width */
    background: #000;
    border-radius: 10px; /* Rounded corners */
    overflow: hidden;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}


/* Base notification styling */
.notification {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

/* Success notification style */
.notification.success {
    background-color: #4CAF50; /* Green */
}

/* Error notification style */
.notification.error {
    background-color: #f44336; /* Red */
}

/* Animation for fading in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Ensuring the thumbnails have the 16:8 aspect ratio with fixed dimensions */
.video-thumbnail {
    width: 300px; /* Fixed width */
    height: 150px !important; /* Fixed height */
    object-fit: cover; /* Ensure the image covers the box without distortion */
    border-radius: 8px; /* Optional: Adds rounded corners */
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); /* Optional: Adds shadow for better appearance */
}

/* Styling the video slider */
/* Slider Container */
.video-slider {
    display: flex;
    overflow: hidden; /* Hide excess content */
    margin: 0 auto; /* Center the slider */
    position: relative; /* For navigation buttons if needed */
    padding: 0 10px; /* Padding to show partial slides */
}

/* Individual Slide */
.video-slide {
    margin-right: 10px; /* Maintain spacing between slides */
    flex-shrink: 0; /* Prevent slides from shrinking */
    width: 80%; /* Adjust width to show partial slides */
    box-sizing: border-box; /* Include padding/border in width */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth animations */
}

/* Highlight Active Slide */
.slick-current .video-slide {
    opacity: 1; /* Fully visible */
    transform: scale(1); /* No scaling */
}

.slick-slide {
    opacity: 1; /* Slightly dim non-active slides */
    transform: scale(0.95); /* Shrink non-active slides slightly */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth hover effect */
}

/* Restore full opacity on hover */
.slick-slide:hover {
    opacity: 1;
    transform: scale(1);
}

/* Video Details */
.video-slide p {
    margin: 10px 0;
    font-size: 14px; /* Adjust font size */
}

.video-slider a {
    display: inline-block;
    padding: 6px 12px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 14px;
}

.video-slider a:hover {
    background-color: #005f8d;
}

/* Navigation Arrows */
.slick-prev,
.slick-next {
    font-size: 24px;
    color: #0073aa;
    z-index: 10; /* Ensure arrows are above slides */
    background: none; /* Remove background */
    border: none; /* Remove border */
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.slick-prev:hover,
.slick-next:hover {
    color: #005f8d; /* Slight color change on hover */
}
/* Delete icon */
.delete-video {
    position: absolute;
    bottom: -20px;
    right: 15px;
    transform: translateY(-50%);
    text-decoration: none;
    color: #d9534f !important;
    background-color: #fff !important;
    font-size: 20px;
    transition: color 0.3s ease;
}

.delete-video:hover .delete-icon {
    color: #c9302c !important; /* Darker red on hover */
}

.delete-icon {
    cursor: pointer;
}
.button-update-roku-listing {
    display: inline-block !important;
    padding: 10px 20px !important;
    margin: 30px 0 10px 0 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-align: center !important;
    text-decoration: none !important;
    background-color: #007BFF !important; /* Blue background */
    color: white !important;
    border-radius: 5px !important;
    transition: background-color 0.3s ease, transform 0.3s ease !important;
  }
  
  .button-update-roku-listing:hover {
    background-color: #0056b3 !important; /* Darker blue on hover */
    transform: scale(1.05) !important; /* Slight zoom effect on hover */
  }
  
  .button-update-roku-listing:active {
    background-color: #003366 !important; /* Even darker blue when clicked */
  }
  /* Style for the alert container */
.alert-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    background-color: #28a745;
    color: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 20px auto;
    font-size: 16px;
    transition: opacity 1s ease;
}

/* Style for the alert message */
.alert-message {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
}

/* Style for the download link */
.download-link {
    background-color: #17a2b8;
    color: white;
    padding: 6px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

/* Hover effect for the download link */
.download-link:hover {
    background-color: #138496;
}

/* Style for the update button */
.update-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.update-button:hover {
    background-color: #0056b3;
}
.pkg-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pkg-header {
    flex: 1;
    text-align: left; /* Align the Update Roku Listing button to the right */
}

.pkg-status {
    flex: 1;
    text-align: right; /* Align the status or request button to the left */
}

.button-update-roku-listing,
.request-pkg-link,
.download-pkg-link {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    color: #ffffff;
    background-color: #0073aa;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-update-roku-listing:hover,
.request-pkg-link:hover,
.download-pkg-link:hover {
    background-color: #005985;
}

.status-message {
    margin: 10px 0;
    font-size: 14px;
    color: #333;
}
/* General Styling for Sidebar */
.sidebar-wowzaroku {
    position: fixed;
    top: 120px;
    right:-300px;
    width: 300px;
    height: calc(100vh - 120px); 
    background-color: #f9f9f9;
    border-left: 2px solid #ddd;
    padding: 20px;
    box-shadow: -3px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    
}
.sidebar-wowzaroku.active {
    right: 0; /* Slide in */
}

/* Scrollbar Styling for WebKit Browsers */
.sidebar-wowzaroku::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

.sidebar-wowzaroku::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
    border-radius: 10px; /* Rounded track edges */
}

.sidebar-wowzaroku::-webkit-scrollbar-thumb {
    background: #bbb; /* Thumb color */
    border-radius: 10px; /* Rounded thumb edges */
}

.sidebar-wowzaroku::-webkit-scrollbar-thumb:hover {
    background: #888; /* Thumb color on hover */
}

/* Scrollbar Styling for Firefox */
.sidebar-wowzaroku {
    scrollbar-width: thin; /* Thin scrollbar */
    scrollbar-color: #bbb #f1f1f1; /* Thumb and track colors */
}
.sidebar-wowzaroku.active {
    right: 0; /* Slide in */
}
.close-sidebar-button{
    margin:20px 0;
    background-color: red !important;
}
/* General Styling for Main Content */
.main-wowzaroku {
    margin-right: 300px; /* Matches sidebar width */
    padding: 20px;
    transition: all 0.3s ease-in-out;
}

/* Form Styles */
.channel-image-upload-form {
    display: flex;
    flex-direction: column;
}

.channel-image-upload-form label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.channel-image-upload-form input[type="file"] {
    margin-bottom: 15px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.channel-image-upload-form button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.channel-image-upload-form button:hover {
    background-color: #005f8d;
}

.sidebar-wowzaroku h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #0073aa;
    text-align: center;
}

.sidebar-wowzaroku::-webkit-scrollbar {
    width: 8px;
}

.sidebar-wowzaroku::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.sidebar-wowzaroku::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}
.image-preview {
    margin: -20px 0 10px 0;
    border: 1px solid #ccc;
    padding: 5px;
    width: 250px;
    height: auto;
    display: block;
    text-align: center;
    position: relative;
}

.image-preview img {
    max-width: 100%;
    height: auto;
}

.image-preview.error {
    border-color: red;
}

.image-preview.success {
    border-color: green;
}
.wowza-channels ul.channel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Exactly 5 columns per row */
    gap: 10px; /* Space between items */
    list-style: none;
    padding: 0;
    margin: 0;
}

.channel-item {
    text-align: center;
}

.channel-icon,
.channel-placeholder {
    display: block;
    width: 100%; /* Automatically adjust to grid column */
    height: 150px; /* Fixed height for consistency */
    border-radius: 8px;
    object-fit: cover; /* Ensures images scale without distortion */
}

.channel-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ccc; /* Default background if no random color is set */
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

.channel-name {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
#tag-container {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
    min-height: 40px;
}

#tag-container .tag {
    background: #0073aa;
    color: #fff;
    border-radius: 3px;
    padding: 5px 10px;
    margin: 3px;
    display: flex;
    align-items: center;
}

#tag-container .tag span {
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
}

#tag-container input {
    border: none;
    outline: none;
    flex-grow: 1;
}

@media (max-width: 1200px) {
    .wowza-channels ul.channel-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on medium screens */
    }
}

@media (max-width: 992px) {
    .wowza-channels ul.channel-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on smaller screens */
    }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar-wowzaroku {
        width: 250px; /* Adjust sidebar width for tablets */
    }
    .main-wowzaroku {
        margin-right: 250px;
    }
  .video-slider {
        padding: 0 10px;
    }

    .video-slide {
        margin-right: 10px;
    }
}
@media (max-width: 600px) {
    .video-slider {
        padding: 0 5px;
    }

    .video-slide {
        margin-right: 5px;
    }
}
@media (max-width: 768px) {
    .sidebar-wowzaroku {
        position: absolute;
        width: 100%;
        height: auto;
        top: 0;
        right: 0;
        z-index: 1000;
        border-left: none;
        border-top: 2px solid #ddd;
    }
    .main-wowzaroku {
        margin-right: 0;
    }
    .wowza-channels ul.channel-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 480px) {
    .sidebar-wowzaroku {
        padding: 15px;
        box-shadow: none;
    }
    .channel-image-upload-form button {
        font-size: 14px;
        padding: 8px 10px;
    }
    .wowza-channels ul.channel-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 column on small screens */
    }
}


