/* Base Styles */
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: #202020;
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
}

/* Card Styles */
.card {
  background-color: #333;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
  overflow: hidden;
}


.card-body {
  padding: 1.5rem;
}

/* Show Image Styles */
#showImage {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

#showImage:hover {
  transform: scale(1.03);
}

/* Show Information Styles */
#information {
  background-color: #333;
  color: #fff;
  border-radius: 10px;
}

#showName {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

#showSynopsis {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1rem 0;
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  font-weight: 600;
  color: #0d6efd;
  width: 30%;
}

/* Seasons Section Styles */
.accordion {
  margin-top: 2rem;
}

.season-card {
  background-color: #333;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.season-header {
  background-color: #444;
  padding: 15px;
  border-radius: 10px;
}

.season-header button {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  text-align: left;
  padding: 0;
  background: none;
  border: none;
}

.season-header button:hover {
  color: #0d6efd;
}

/* Episode Cards Styles */
.episode-card {
  background-color: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 0;
}

.episode-card .card {
  background-color: #333;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.episode-card .card .card-header {
  background-color: #333;
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.episode-card .card .card-header h5.mb-0 {
  color: #ffffff;
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.episode-card .card .badge {
  background-color: #444;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
}

.episode-card .card .card-body {
  padding: 1.2rem;
  background-color: #333;
}

.episode-card .card .card-title {
  color: #ffffff;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.episode-card .card .card-text {
  color: #e0e0e0;
  margin-bottom: 0.5rem;
}

.episode-card .card .episode-summary {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e0e0e0;
  max-height: 100px;
  overflow-y: auto;
  padding-right: 10px;
  margin-top: 0.8rem;
}

/* Cast List Styles */
#castList .card {
  height: 100%;
  background-color: #333;
}

#castList .card-body {
  display: flex;
  flex-direction: column;
}

#castList .card-title {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

#castList .card-text {
  color: #e0e0e0;
  margin-bottom: 1rem;
}

#castList .btn {
  margin-top: auto;
}

/* Loading Spinner Styles */
#loadingSpinner {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

/* Breadcrumb Styles */
.breadcrumb {
  background-color: transparent;
  padding: 0.75rem 0;
}

.breadcrumb-item a {
  color: #0d6efd;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #e0e0e0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #showName {
    font-size: 2rem;
  }

  th,
  td {
    padding: 8px 10px;
  }

  #castList .card-img-top {
    height: 250px;
  }
}

/* Custom Scrollbar */
.episode-summary::-webkit-scrollbar {
  width: 6px;
}

.episode-summary::-webkit-scrollbar-track {
  background: #444;
  border-radius: 3px;
}

.episode-summary::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 3px;
}

.episode-summary::-webkit-scrollbar-thumb:hover {
  background: #888;
}