/* .movie-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
} */

/* .movie {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
} */


.movie img {
    float: left;
    margin-right: 15px;
    border-radius: 5px;
}

.movie h3 {
    margin-top: 0;
}


.no-data-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px; /* Adjust height as needed */
    font-size: 24px;
    color: #333;
    text-align: center;
    background-color: #f9f9f9; /* Optional background color */
    border: 1px solid #ddd;    /* Optional border */
    border-radius: 10px;       /* Optional border radius */
}


.movie-search-form {
    display: flex;
    justify-content: flex-end; /* Align to the right */
    margin-bottom: 20px;
}

.movie-search-form input[type="text"] {
    padding: 10px 15px;
    border-radius: 25px; /* Rounded border */
    border: 1px solid #ccc;
    background-color: #f9f9f9; /* Light background color */
    font-size: 16px;
    margin-right: 10px; /* Spacing between input and button */
}

.movie-search-form input[type="submit"] {
    padding: 10px 20px;
    border-radius: 25px; /* Rounded button */
    border: none;
    background-color: #0073aa; /* WordPress default blue */
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.movie-search-form input[type="submit"]:hover {
    background-color: #005f8d; /* Darker blue on hover */
}

.movie-heading{
    margin-top: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

.m-0{
    margin: 0px !important;
}

/* Styles for the movie container */
/* Styles for the movie list container */
.movie-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Movie container */
.movie {
    display: flex;
    flex-direction: row;  /* By default, image and details are side by side */
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    align-items: flex-start;
}

/* Movie poster (image) on the left */
.movie-poster {
    flex-shrink: 0;
    margin-right: 20px;
}

/* Movie details (text) on the right */
.movie-details {
    flex-grow: 1;
}

/* Ensure the image scales properly */
.movie-poster img {
    max-width: 150px;
    height: auto;
    border-radius: 5px;
}

/* Media query for mobile screens */
@media (max-width: 768px) {
    .movie {
        flex-direction: column; /* Stack image and details vertically */
        align-items: center;
        text-align: center;    /* Center align content on mobile */
    }

    /* Remove margin between image and details on mobile */
    .movie-poster {
        margin-right: 0;
        margin-bottom: 20px; /* Add some spacing between image and details */
    }

    /* Make the image take the full width of the container */
    .movie-poster img {
        max-width: 100%;
        height: auto;
    }

    /* Center-align the text details */
    .movie-details {
        text-align: center;
    }
}
.post-thumbnail img {
    width: 100%;
    height: 100% !important; /* Set the height to a fixed value */
    object-fit: cover; /* Ensures the image is cropped, maintaining aspect ratio */
}

.daily-summary{
    max-width: 800px !important;
}

.my-30{
    margin-top: 30px;
    margin-bottom: 30px;
}

.text-center{
    text-align: center !important;
}

#loader {
    font-size: 18px;
    color: #333;
    text-align: center;
    margin-top: 20px;
}

/* Style for the loading text */
#loading-text {
    font-size: 18px;
    color: #555;
    margin-top: 10px;
}

/* Style for the disabled search button */
#movie-search-submit[disabled] {
    background-color: #ccc;
    cursor: not-allowed;
}


/***********SUBMIT BUTTON DISABLED ******************/
input[type="submit"]:disabled {
    background-color: #ccc; /* Gray color */
    color: #666; /* Light text color */
    pointer-events: none; /* Prevent any interaction */
    cursor: not-allowed; /* Change cursor to indicate disabled state */
}