/* No existing content, starting new file */
/* TV Show Detail Page Specific Styles */

.seasons-accordion {
    margin-top: 20px;
}

.season-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.season-header {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.season-header:hover {
    background-color: #f1f1f1;
}

.season-poster-small {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.season-header-info {
    flex-grow: 1;
}

.season-title {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
}

.season-meta {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.season-toggle-icon {
    font-size: 1.2em;
    transition: transform 0.3s;
}

.season-item.active .season-toggle-icon {
    transform: rotate(180deg);
}

.season-episodes-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background-color: #fff;
}

.season-item.active .season-episodes-content {
    max-height: 5000px; /* Adjust as needed */
    transition: max-height 0.8s ease-in;
}

.episode-item {
    border-top: 1px solid #eee;
}

.episode-header {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    background-color: #fff;
}

.episode-header:hover {
    background-color: #f9f9f9;
}

.episode-card {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
}

.episode-number {
    font-size: 1.5em;
    font-weight: bold;
    color: #ccc;
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

.episode-image {
    margin-right: 15px;
}

.episode-image img {
    width: 150px;
    border-radius: 4px;
}

.episode-details {
    flex-grow: 1;
}

.episode-title {
    font-size: 1.1em;
    font-weight: 600;
}

.episode-air-date {
    font-size: 0.8em;
    color: #777;
    margin-bottom: 8px;
}

.episode-overview {
    font-size: 0.9em;
    line-height: 1.4;
    color: #444;
}

.episode-toggle-icon {
    margin-left: auto;
    font-size: 1em;
    color: #999;
    transition: transform 0.3s;
}

.episode-item.active .episode-toggle-icon {
    transform: rotate(180deg);
}

.episode-details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background-color: #fdfdfd;
    padding: 0 15px;
}

.episode-item.active .episode-details-content {
    max-height: 1500px; /* Adjust as needed */
    padding: 15px;
    border-top: 1px dashed #ddd;
    transition: max-height 0.5s ease-in;
}

.episode-full-details h5 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.guest-stars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
}

.guest-star-card {
    text-align: center;
}

.guest-star-card img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 5px;
}

.guest-star-name {
    font-weight: 600;
    font-size: 0.9em;
}

.guest-star-character {
    font-size: 0.8em;
    color: #666;
}

.episode-stills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.episode-stills-grid img {
    width: 100%;
    border-radius: 4px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #0d253f;
    animation: spin 1s ease infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.external-ratings {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    align-items: center;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-logo {
    height: 24px;
    width: auto;
}

.rating-value {
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
} 