/* Add this to your styles.css file */

.tvshow-container {
    color: #fff;
    background-color: #000;
}

.tvshow-banner {
    position: relative;
    background-size: cover;
    background-position: top center;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tvshow-banner-content {
    display: flex;
    max-width: 1200px; /* Adjust as needed */
    width: 100%;
    align-items: center;
    justify-content: space-around; /* This spreads out the poster and the info */
    z-index: 2;
}

.tvshow-poster img {
    max-height: 400px; /* Adjust the size of the poster */
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.5);
}

.tvshow-info {
    flex: 1;
    padding-left: 20px; /* Adds some space between the poster and the text */
}

.tvshow-title {
    font-size: 2.5rem;
    margin-bottom: 0.5em;
}

.tvshow-metadata span {
    display: inline-block;
    margin-right: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
}

.tvshow-synopsis {
    margin-top: 1em;
    font-size: 1.1rem;
    max-width: 600px; /* Limit synopsis width */
    line-height: 1.5;
}

.tvshow-actions button {
    margin-top: 1em;
    margin-right: 10px;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 15px;
    transition: background-color 0.3s ease;
}

.tvshow-actions button:hover {
    background-color: #444;
}

.tvshow-seasons {
    margin-top: 20px;
    display: flex;
    overflow-x: auto;
}

.season-tab {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    margin-right: 5px;
    border-radius: 15px;
    transition: background-color 0.3s ease;
}

.season-tab:hover {
    background-color: #444;
}

.episode-list {
    display: none;
    padding: 20px;
}

.episode {
    padding: 10px;
    border-bottom: 1px solid #444;
}

/* This is to darken the background behind the banner content for better readability */
.tvshow-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Specific styles for episode thumbnails */
.episode-thumbnail img {
    width: 100px; /* Control the size of the episode thumbnails */
    height: auto;
    border-radius: 4px; /* Optional: if you want rounded corners */
    margin-right: 10px; /* Space between the thumbnail and details */
}

.episode-details {
    display: inline-block; /* Allows thumbnail and details to be side by side */
    vertical-align: top; /* Aligns content at the top */
}

/* Ensuring the episode list items fit within the existing design */
.episode-list-item {
    background: #f8f9fa;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #000; /* Override the white text color */
    padding: 10px; /* Consistent with your other padding */
    display: flex; /* Align thumbnail and details side by side */
    align-items: center; /* Center items vertically */
}

