.honeypot {
        position: absolute;
        top: -9999px;
        left: -9999px;
        display: none;
    }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    padding: 20px; /* Reduce if needed */
    margin: 10px;
    max-height: 100%; /* Adjust based on content */
    width: 800px; /* Or a specific pixel value */
    max-height: 90vh; /* Adjust to your preference */
    overflow-y: auto; /* This will allow the modal content to scroll */
    background-color: rgba(25,25,25,1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: adds a subtle shadow for depth */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.modal-content::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.modal-content {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* style sheet */

#responseMessage {
    width: 100%;
    text-align: center;
    color: black; /* or any color that is visible on your gradient */
    padding: 10px 0; /* Adjust as needed */
    border: 1px solid #ccc; /* Optional border */
}

.poster-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    position: relative;
    width: 100%;
}

.poster {
    width: 200px; /* Fixed width for each image container */
    height: 326px; /* Fixed height for each image container */
    margin: 5px; /* Adds space between images */
    box-sizing: border-box;
    position: relative;
}

.poster img {
    width: 100%; /* Fill the container's width */
    height: 100%; /* Fill the container's height */
    border-radius: 10px; /* Rounded corners */
    /*object-fit: cover;  Ensure the image is cropped from the center */
}

/* Overlay Styles */
.background-container {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.image-container {
    position: relative; /* establishes a positioning context */
    width: 175px;
    height: 275px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* Table Styles */
table th{
    background-color: #4482cd;
    color: white;
    padding: 5px;
    text-align: center;
}
table a{
    color: white;
    text-align: center;
}
table td {
    padding: 2px;
    border: 1px solid #2c2c2c;
}

/* Expand Icon Style */
.expand-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Small Text Header Style */
.small-text-header {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: smaller;
    color: #ccc;
}

/* User Form Styles */
.user-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: auto;
}

.form-group {
    display: flex;
    margin-bottom: 15px;
}
.center-column {
    flex: 1;
    text-align: center;
    padding-right: 5px;
}
.label-column {
    flex: 1;
    text-align: right;
    padding-right: 25px;
}

.label-user-column {
    flex: 1;
    text-align: left;
    padding-left: 5px;
}

.input-column {
    flex: 2;
}
.black-column {
    display: flex;
    background-color: #000;
}

.input-column input,
.input-column select,
.submit-button {
    padding: 10px 15px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
#select {
    padding: 10px 15px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    width: 150px;
}

.submit-button {
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

.submit-button:disabled {
    background-color: #cccccc; /* Gray background */
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}


/* Small Text Style */
.small-text {
    font-size: smaller;
    color: #ccc;
}

/* Drop Zone Styles */
.drop-zone {
    border: 2px dashed #ccc;
    background-color: #333;
    padding: 20px;
    text-align: center;
    margin: 10px 0;
    width: 500px;
}

.drop-zone #drop_zone {
    padding: 10px;
    cursor: pointer;
}

.drop-zone:hover {
    background-color: #ccc;
    border-color: #999;
    color: #333;
}

/* Loading Indicator Style */
#loadingIndicator {
    text-align: center;
    padding: 20px;
    /* Additional styles as needed */
}



/* Button Container Style */
.button-container {
    text-align: center;
}

.submission-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    margin: 10px;
    font-size: 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

/* Hover Effects */
.submission-button:hover {
    background-color: #0056b3;
}

/* Index page/ before login */
/* Header */
header {
    background-color: transparent;
    padding: 20px;
    text-align: center;
}

header img {
    width: 150px;
}


/* main page categories */

.categories-container {
    /* Container styles */
    padding-left: 20px;
}

/* Styles for the category section */
.category-section {
    margin-bottom: 20px;
    padding-left: 20px;
}

/* Container for scroll buttons and movies */
.scroll-and-movies-container {
    position: relative; /* Add this line */
    display: flex;
    align-items: center; /* Center items vertically */
    overflow: hidden; /* Hide overflow */
}




/* Movies container */
.movies-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    gap: 5px;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none;  /* For Internet Explorer and Edge */
}

.movies-container::-webkit-scrollbar {
    display: none; /* For WebKit browsers like Chrome and Safari */
}


.movies-container::-webkit-scrollbar-thumb {
    background: #888; /* Color of the scrollbar thumb */
    border-radius: 4px; /* Rounded corners of the scrollbar thumb */
}

.movies-container::-webkit-scrollbar-track {
    background: #333; /* Color of the scrollbar track */
}

.movies-container-wrapper {
    position: relative;
}

.scroll-left, .scroll-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #444; /* Or any color that fits your design */
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2;
}

.scroll-left { left: 0; }
.scroll-right { right: 0; }

.movie {
    position: relative; /* Set position context for overlays or info */
    flex: 0 0 auto; /* Do not grow, do not shrink, auto basis */
    display: flex; /* Use flex for internal alignment */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center items horizontally in the .movie container */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.2s ease; /* Smooth transition for scaling */
}

.movie:hover {
    transform: scale(1.05); /* Slightly scale up on hover for interaction feedback */
    z-index: 1; /* Ensure the scaled item is above others */
}

.movie img {
    object-fit: cover; /* Cover the area without distortion */
    border-radius: 5px; /* Rounded corners */
    transition: opacity 0.2s ease; /* Smooth transition for hover effect */
    margin-right: 2px; /* Space between the image and the text */
}

.movie img:hover {
    opacity: 0.8; /* Slight transparency on hover for interaction feedback */
}

/* Additional styling for movie titles or other info */
.movie-info {
    text-align: center; /* Center-align the movie title or info */
    color: #fff; /* Text color */
    margin-top: 10px; /* Space between the image and the text */
    font-size: 16px; /* Adjust as needed */
}


.m_Thumb {
    display: inline-block;
    margin-right: 10px;
    
}
.m_Thumb {
    flex: 0 0 auto;
    /* Other styling as needed */
}
.m_Thumb img {
    /*width: 60px; /* Fixed width */
    height: 95px; /* Height maintaining aspect ratio */
    object-fit: cover; /* Cover the whole area */
    border-radius: 5px;
}

.screenshot {
    display: inline-block;
    margin-right: 10px;
    
}
.screenshot {
    flex: 0 0 auto;
    /* Other styling as needed */
}
.screenshot img {
    /*width: 380px; /* Fixed width */
    height: 275px; /* Height maintaining aspect ratio */
    object-fit: cover; /* Cover the whole area */
    border-radius: 5px;
}

/* Scroll button styles */
.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none; /* Remove background */
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0; /* Remove padding */
}

.scroll-button img {
    width: 30px; /* Adjust as needed */
    height: 30px; /* Adjust as needed */
}




/*=========================================*/
/* video player*/
/*=========================================*/

.video-player-modal {
    display: none;
    position: fixed;
    z-index: 10; /* Higher than other content */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.video-player-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.close-video {
    position: absolute;
    top: 20px; /* Distance from the top */
    left: 20px; /* Distance from the left */
    z-index: 1010; /* Ensure it's above the iframe */
    cursor: pointer;
    /* Rest of your styles for the button */
}

/* Ensure iframe takes up the entire container but leaves space for close button */
#videoPlayerIframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 20px); /* Leave space at the top for the close button */
    z-index: 50; /* Higher than other content */
}
/*=========================================*/
/* movie play button */
/*=========================================*/

.playbutton {
    display: flex; /* Use flexbox layout */
    flex-direction: column; /* Stack children vertically */
    justify-content: left; /* Center items horizontally */
    align-items: left; /* Center items vertically */
    cursor: pointer;
    /* Add any other styling you need here */ 
}

.playbutton img, .playbutton h4 {
    margin-right: 2px; /* Adjust as necessary for the image */
    /* Remove height from h4 and apply it to the .playbutton if needed to ensure vertical centering */
}

/* If .playtext is the container for the image and text, apply the flex styles to it */
.playtext {
    display: flex; /* Use flexbox layout */
    align-items: center; /* Center items vertically */
    cursor: pointer;
    /* Apply additional styling as needed */   
    margin-top: 2px;
    margin-bottom: 2px;
}




/*=========*/
/* MOVIES */
/*=========*/
#movieModal .modal {
    display: none;
    position: fixed;
    z-index: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    border: 5px solid #FFFFFF; /* Example: 5px solid white border */
}


#movieModal .modal-content {
    
    background-color: black;
    padding: 20px; /* Reduce if needed */
    margin: auto;
    max-height: 100%; /* Adjust based on content */
    width: 800px; /* Or a specific pixel value */
    overflow: auto; /* Adds scroll if content is larger */
}

#movieModal .modal-overlay {
    margin: auto;
    max-height: 100%; /* Adjust based on content */
    width: 100%; /* Or a specific pixel value */
    overflow: auto; /* Adds scroll if content is larger */
    background-size: cover;
    background-position: center;
}

#movieModal .black-column {
    background-color: black;
    width: 100%; /* Full width of the modal */
    color: white; /* Assuming you want white text on a black background */
    padding: 10px; /* Add some padding */
    box-sizing: border-box; /* Include padding in width calculation */
}


#movieDetails > div {
    margin-bottom: 10px; /* Adjust or remove margins */
    text-align: left;
    margin-left: 10px;
}
#movieDetails img {
    display: block;
    /*margin-left: auto;  Pushes the image to the right within its container */
    margin-right: 0; /* Ensures it aligns to the right edge */
    max-width: 275px; /* Example fixed width, adjust as needed */
    height: auto; /* Maintains aspect ratio */
    border-radius: 10px;
}


.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    
    padding: 15px;
}

.close:hover, .close:focus {
    color: black;
    cursor: pointer;
}

/* Styles for the video modal */
#videoModal .modal-content {
    display: flex;
    align-items: start;
}


/* Adjust the iframe and movie details container */
#videoModal #filmMain, 
#videoModal #movieDetails {
    flex: 1;
}


/* Additional style to ensure iframe takes the full height */
#videoModal #filmMain {
    height: 100%;
}


/* Style for movie details to ensure it doesn't stretch too wide */
#videoModal #movieDetails {
    max-width: 100%; /* Adjust as needed */
    width: 100%;
    padding-left: 20px; /* Add some space between video and details */
}

#movieDetails #category {
    display: flex;
    align-items: center; /* Aligns image and text vertically */
    max-width: 100%; /* Adjust as needed */
}

#movieDetails #videoQuality {
    margin-right: 10px; /* Adds some space between the image and the text */
    height: 30px;
}