.series-logo {
  width: 317px !important;
  height: auto !important;
  border-radius: 8px 0px 0px 8px !important;
}
        
.table-container {
  background-color: black;
  border: 3px solid whitesmoke;
  display: flex;
  width: 800px;
  height: 428px;
  border-radius: 8px;
  margin-left: 300px;
}
        
.logo-section {
  width: 40%;
  border-right: 3px solid whitesmoke;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 00px;
  box-sizing: border-box;
}
        
.chapters-section {
  width: 60%;
  display: flex;
  flex-direction: column;
}
        
.series-title {
  background-color: #4e2774;
  color: #f5f5f5;
  font-weight: bold;
  border-bottom: 3px solid whitesmoke;
  padding: 15px;
  text-align: center;
  font-size: 20px;
  flex-shrink: 0;
}
        
.chapters-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}
     
.chapter-info {
  flex: 1;
  padding: 7.15px 20px;
  border-bottom: 1px solid whitesmoke;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}
        
.chapter-info:last-child {
  border-bottom: none;
}
        
.chapter-info:hover {
  background-color: #3b3a3a;
  cursor: pointer;
}

.chapter-title {
  color: #af88d7;
  font-size: 18px;
  text-transform: capitalize;
  font-weight: bold;
}

.chapter-date {
  font-size: 12px;
  color:whitesmoke;
}

/* ✅ Tablet (769px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .table-container {
    width: 90%;
    height: auto;
    margin: 20px auto;
    flex-direction: column;
  }

  .logo-section {
    width: 100%;
    border-right: none;
    border-bottom: 3px solid whitesmoke;
    padding: 15px;
  }

  .series-logo {
    width: 60% !important;
    max-width: 280px;
  }

  .chapters-section {
    width: 100%;
  }

  .series-title {
    font-size: 18px;
    padding: 12px;
  }

  .chapter-title {
    font-size: 16px;
  }
}

/* ✅ Mobile (up to 768px) */
@media (max-width: 768px) {
  .table-container {
    width: 95%;
    height: auto;
    margin: 10px auto;
    flex-direction: column;
  }

  .logo-section {
    width: 100%;
    border-right: none;
    border-bottom: 3px solid whitesmoke;
    padding: 10px;
  }

  .series-logo {
    width: 70% !important;
    max-width: 240px;
  }

  .chapters-section {
    width: 100%;
  }

  .series-title {
    font-size: 16px;
    padding: 10px;
  }

  .chapter-title {
    font-size: 15px;
  }

  .chapter-date {
    font-size: 11px;
  }
}