#loginDisplay,
#signupDisplay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(69, 69, 69, 0.9); /* faint white box */
  width: 600px;
  margin: auto;
  box-shadow: 0 0 20px rgba(214, 214, 214, 0.543); /* soft shadow */
  border-radius: 10px;
  padding: 40px;
  margin: 100px auto 0 auto;
  font-weight: 900;
  font-family: "fantasy";
  margin-top: 20px;
}

#loginDescription {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(69, 69, 69, 0.9); /* faint white box */
  width: 500px;
  margin: auto;
  box-shadow: 0 0 20px rgba(214, 214, 214, 0.543); /* soft shadow */
  border-radius: 10px;
  padding: 40px;
  margin: 20px auto 0 auto;
  font-weight: 900;
  font-family: "fantasy";
  margin-top: 0px;
}

#backtoSearchBtn {
  background-color: #c0a40a;
  color: black;
  padding: 12px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

#backtoSearchBtn:hover {
  background-color: rgba(109, 104, 2, 0.79);
  transform: translateY(-3px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
}

#addMediaForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.form-wrapper {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #ffd700;
}

.movieStatus,
.comments {
  background-color: #2e2e2e;
  border: 1px solid #555;
  border-radius: 8px;
  padding: 10px;
  color: white;
  font-size: 16px;
  resize: vertical;
}

.movieStatus:focus,
.comments:focus {
  outline: none;
  border-color: #c0a40a;
  box-shadow: 0 0 8px rgba(192, 164, 10, 0.6);
}

.media-button {
  background: #c0a40a;
  padding: 12px 24px;
  color: black;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  margin: 10px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.media-button:hover {
  background-color: rgba(109, 104, 2, 0.79);
  transform: translateY(-4px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.6);
}

.media-button-group {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-basis: 100%;
  margin-top: 20px;
  margin-bottom: 10px;
  gap: 15px;
}

#error {
  color: red;
}

button {
  background-color: #28a745; /* Bootstrap-style green */
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(8, 8, 8, 0.3);
}

hr {
  border: none;
  border-top: 2px solid black;
}

button:hover {
  background-color: #218838; /* darker green on hover */
}

input[type="text"],
input[type="password"],
textarea {
  font-size: 18px; /* makes the text inside bigger */
  width: 550px; /* makes the box wider (you can use px too) */
  height: 40px; /* makes the box taller (optional for <input>) */
  padding: 10px; /* adds spacing inside the box */
  box-sizing: border-box; /* ensures padding doesn't overflow the width */
  border-radius: 10px;
}

body {
  font-size: 20px;
  text-align: center;
  background-color: #363636;
  color: whitesmoke;
}

textarea {
  font-size: 18px; /* makes the text inside bigger */
  width: 700px; /* makes the box wider (you can use px too) */
  padding: 10px; /* adds spacing inside the box */
  box-sizing: border-box; /* ensures padding doesn't overflow the width */
  border-radius: 10px;
}

#movieResults {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.movie-card {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* faint white background */
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
  text-align: center;
  width: 200px;
  padding: 5px;
  background-color: #232323;
}

.movie-card a {
  text-decoration: none;
  color: inherit; /* keep normal text color */
  display: block;
}

.movie-card img {
  width: 100%;
  border-radius: 8px;
  margin-top: 10px;
  transition: transform 0.3s ease;
}

.movie-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.movie-card:hover img {
  transform: scale(1.05);
}

#movieName {
  font-size: 18px;
  margin: 10px 0 5px;
}

.movie-details {
  max-width: 900px;
  margin: 0 auto;
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(69, 69, 69, 0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.movie-details img {
  width: 300px;
  border-radius: 10px;
  object-fit: cover;
}

.movie-details p {
  flex: 1 1 300px;
  font-size: 18px;
  line-height: 1.6;
}

.movie-details strong {
  color: #ffd700; /* Gold highlight for labels */
}

.body-full-details {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #262626;
  color: #eee;
  margin: 0;
  padding: 20px;
}

.title-full-details {
  text-align: center;
  margin-bottom: 30px;
}

.rating-high,
.rating-medium,
.rating-low {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 12px;
  font-weight: bold;
  color: black; /* Make text black for contrast */
  font-size: 16px;
}

.rating-high {
  background-color: #00e676; /* Light Green */
}

.rating-medium {
  background-color: #ffb74d; /* Light Orange */
}

.rating-low {
  background-color: #ff5252; /* Light Red */
}

.nav {
  background-color: #1e1e1e;
  padding: 15px 30px;
  display: flex;
  justify-content: center;
  gap: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav a,
.nav a:visited,
.nav a:link {
  text-decoration: none;
  color: #ffffff !important;
  font-weight: bold;
  font-size: 20px;
  transition: color 0.3s, background-color 0.3s, padding 0.3s;
  padding: 8px 16px;
  border-radius: 8px;
}

.nav a:hover {
  background-color: #333333;
  color: #ffd700;
}


.logout-link {
  background-color: #ff4d4d;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.logout-link:hover {
  background-color: #e60000;
}

#logoutBtn {
  color: rgb(210, 141, 141);
}

#logoutBtn:hover {
  color: rgb(231, 32, 32);
}

#saveChanges{
  background-color: #ffe551;  
  outline: none;
  border-color: #ffe54f; 
  box-shadow: 0 0 8px rgba(255, 244, 182, 0.751);
}

#saveChanges:hover{
  background-color: #00ff377e;
}

.logo {
  position: absolute;
  top: 5px;
  left: 40px;
  width: 50px;
  height: auto;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #f5f5f5;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.episode-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.episode-card {
  background-color: #1e1e1e;
  padding: 30px 40px;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  color: #fff;
  max-width: 800px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.episode-header h3 {
  margin-bottom: 30px;
  font-size: 1.5em;
}

.episode-number strong {
  color: #ffc107;
  font-weight: bold;
}

.episode-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.episode-image {
  width: 300px;
  border-radius: 8px;
  flex-shrink: 0;
}

.episode-summary {
  flex: 1;
  font-size: 1em;
  line-height: 1.6;
  color: #fff;
}

.episode-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
}

.episodeStatusLabel,
.episodeCommentsLabel {
  margin-bottom: 100px;
}

.episodeStatus,
.episodeComments {
  background-color: #2e2e2e;
  border: 1px solid #555;
  border-radius: 8px;
  padding: 10px;
  color: white;
  font-size: 16px;
  resize: vertical;
}

.episodeStatus:focus,
.episodeComments:focus {
  outline: none;
  border-color: #c0a40a;
  box-shadow: 0 0 8px rgba(192, 164, 10, 0.6);
}

.episode-card strong {
  font-weight: bold;
  color: #ffd700;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.media-button.active-season {
  background-color: #c0c0c0;
  color: black;
  font-weight: bold;
}

.media-button.active-season:hover {
  background-color: rgba(169, 169, 169, 0.75);
  color: black;
  font-weight: bold;
}

h1 {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; /* modern clean font */
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

#overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0px;
}

.word {
  color: #ccc;
  margin-right: 10px;
  transition: color 0.3s ease;
}

.word.active {
  color: gold;
}

#quote {
  gap: -5px;
  margin-left: 20px;
}

.nav a,
.nav a:link,
.nav a:visited,
.nav a:active,
.nav a:focus {
  color: white !important;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav a:hover {
  color: #ffd700 !important;
  background-color: #333333 !important;
}

.custom-modal {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.8);
}

.custom-modal-content {
  background-color: #1e1e1e;
  color: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  max-width: 800px;
  width: 100%;
  position: relative;
}

.episode-card {
  background-color: #1e1e1e;
  border-radius: 10px;
  padding: 15px;
  color: white;
}

.episode-image {
  border-radius: 8px;
}

.custom-close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

.custom-modal img {
  width: 100%;
}

.custom-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}

.episode-image-preview {
  width: 100%;
  max-width: 300px;
  display: block;
  margin: 0 auto 15px auto;
  border-radius: 6px;
}

.form-group {
  margin-bottom: 15px;
}

.hidden {
  display: none;
}

.media-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-left: 50px;
}

.media-card {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    width: 160px;
    text-align: center;
}

.media-card .comments{
    color: #c0a40a;
    width: 150px;
}

.media-card img {
    width: 100%;
    border-radius: 8px;
}

.statusTitle {
    text-align: left;
    margin-left: 40px;
    font-family: 'Franklin Gothic Medium', 'Arial Black', sans-serif;
    color: #ffd700; /* gold */
    font-size: 40px;
    letter-spacing: 1px;
    font-weight: bold;

    /* subtle glowing gold text-shadow */
    text-shadow: 0 0 4px #b8860b, 0 0 8px #ffd700;

    /* optional background stroke effect */
    -webkit-text-stroke: 0.3px #000; /* faint outline */
    text-stroke: 0.3px #000;
}

#NoMedia{
    text-align: left;
    margin-left: 75px;
    font-family: 'Franklin Gothic Medium'
}

#EditMedia{
    font-family: 'Franklin Gothic Medium', 'Arial Black', sans-serif;
    color: #ffd700; /* gold */
    font-size: 28px;
    letter-spacing: 1px;

    /* subtle glowing gold text-shadow */
    text-shadow: 0 0 4px #b8860b, 0 0 8px #ffd700;

    /* optional background stroke effect */
    -webkit-text-stroke: 0.3px #000; /* faint outline */
    text-stroke: 0.3px #000;
}

#editStatus {
    width: 200px;
    padding: 10px 10px;
    height: 40px;
    font-size: 18px;
    border-radius: 6px;
    border: 1px solid #666;
    background-color: #ffffff;
  }

  #editComments{
    width: 400px;
    height: 100px;
  }

  #editRating{
    font-size: large;
    width: 400px;
    height: 50px;
    border-radius: 6px;
    border: 1px solid #666;
    background-color: #ffffff;
  }

  hr.stylish-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #222, #333, #222);
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.15); /* soft gold glow */
    width: 100%;
    margin-left: -22px;
    border-radius: 2px;
  }

  hr.stylish-divider2 {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #222, #333, #222);
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.15); /* soft gold glow */
    width: 80%;
    border-radius: 2px;
  }

  .cancel-button {
    background-color: #b13333;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.785);
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
  }

  .cancel-button:hover {
    background-color: #ff0000;
  }

  #deleteMediaForm .delete-button {
    background-color: #b13333;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.785);
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
  }
  
  #deleteMediaForm .delete-button:hover {
    background-color: #ff0000;
  }

  .flash-success {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 12px 1px;
    margin: 20px auto;
    border-left: 6px solid #4cae4c;
    border-right: 6px solid #4cae4c;
    border-radius: 6px;
    font-weight: bold;
    max-width: 400px;
    text-align: center;
    margin-top: 25px;
    box-shadow: 0 0 10px rgba(90, 255, 71, 0.7);
  }
  
  

  


   /* Color coordinated status titles
  .statusTitle.watching { 
    color: #ffd700;
  }
  
  .statusTitle.planned {
    color: hsl(23, 92%, 66%);

  }
  
  .statusTitle.completed {
    color: #a2ff51;
  }
  
  .statusTitle.dropped {
    color: #bf1600bc;
  }  */