.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.centered-logo {
  max-width: 200px;
  height: auto;
  display: block;
}

body {
  text-align: center;
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  margin: 0;
  padding: 20px;
}

h1 {
  margin-bottom: 30px;
}

.talent-section {
  padding: 20px;
}

#season-title {
  font-size: 28px;
  color: #333;
  margin-bottom: 30px;
  font-weight: 600;
}

.talent-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 350px));
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 15px;
  justify-content: center;
}

.talent-container.single-item {
  display: flex;
  justify-content: center;
}


.talent-item {
  max-width: 400px;
  width: 100%;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
}

.talent-item:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.talent-cover {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.talent-title {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
}

.loading {
  font-style: italic;
  color: #666;
}

/* Season selector styling */
.season-selector-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.season-select-heading {
  margin-bottom: 25px;
  font-size: 24px;
  color: #333;
}

.season-buttons-container,
.gender-buttons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 0 auto;
}

.season-button,
.gender-button {
  padding: 12px 25px;
  background-color: #ffffff;
  color: #333;
  border: 2px solid #ddd;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.season-button:hover {
  background-color: #f8f8f8;
  border-color: #aaa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.season-button.active {
  background-color: #222;
  color: #fff;
  border-color: #222;
  font-weight: 600;
}

/* Back button styling */
.back-button-container {
  margin-bottom: 20px;
  text-align: left;
  padding: 0 15px;
}

.back-button {
  background-color: transparent;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: 16px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.back-button:hover {
  background-color: #f0f0f0;
  color: #000;
}

/* Folder view styling */
.folder-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 20px 15px;
}

#folder-title {
  font-size: 28px;
  color: #333;
  margin-bottom: 30px;
  font-weight: 600;
}

.file-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.file-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.file-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  flex-grow: 1;
}

.file-preview {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.file-name {
  padding: 10px;
  font-size: 14px;
  text-align: center;
  background-color: #f8f8f8;
  border-top: 1px solid #eee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Video thumbnail styling */
.video-thumbnail-container {
  position: relative;
  width: 100%;
  height: 180px;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.video-icon {
  position: absolute;
  font-size: 40px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* Document thumbnails */
.pdf-container,
.word-container,
.generic-file-container {
  width: 100%;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f8f8f8;
}

.pdf-container img,
.word-container img,
.generic-file-container img {
  max-width: 80%;
  max-height: 100px;
}

.pdf-container span,
.word-container span,
.generic-file-container span {
  margin-top: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Lightbox styling */
.lightbox-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 40px;
  box-sizing: border-box;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-video {
  max-width: 100%;
  max-height: 90vh;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1010;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.lightbox-nav:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.file-link {
  cursor: pointer;
}

/* Download button styling */
.download-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  z-index: 5;
  border: none;
}

.download-button:hover {
  background-color: white;
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.download-icon {
  width: 20px;
  height: 20px;
  fill: #333;
}

/* Responsive styles for lightbox */
@media (max-width: 576px) {
  .lightbox-container {
    padding: 20px;
  }

  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 30px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

/* Responsive styling for different devices */
@media (max-width: 576px) {
  .season-buttons-container {
    flex-direction: column;
    align-items: center;
  }

  .season-button {
    width: 100%;
    max-width: 280px;
    padding: 10px 15px;
    font-size: 14px;
  }

  .season-select-heading {
    font-size: 20px;
  }

  .back-button {
    font-size: 14px;
    padding: 8px 12px;
  }

  .folder-container {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
  }

  .file-preview,
  .video-thumbnail-container {
    height: 140px;
  }

  .file-name {
    font-size: 12px;
    padding: 8px 5px;
  }

  .video-icon {
    font-size: 30px;
    width: 50px;
    height: 50px;
  }

  #folder-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .download-button {
    width: 30px;
    height: 30px;
    top: 8px;
    right: 8px;
  }

  .download-icon {
    width: 16px;
    height: 16px;
  }
}

@media (min-width: 577px) and (max-width: 767px) {
  .season-button {
    min-width: 160px;
    font-size: 15px;
  }

  .talent-container {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 15px;
  }

  .talent-cover {
    max-height: 230px;
  }

  #season-title {
    font-size: 22px;
  }

  .folder-container {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .file-preview,
  .video-thumbnail-container {
    height: 160px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .talent-container {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
  }

  .talent-cover {
    max-height: 250px;
  }
}

/* Authentication form styles */
.auth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  max-width: 400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.auth-form {
  width: 100%;
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.auth-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 30px;
  font-weight: 600;
  text-align: center;
}

.auth-input-group {
  margin-bottom: 25px;
}

.auth-label {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
  font-weight: 500;
}

.auth-input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.auth-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.auth-button {
  width: 100%;
  padding: 12px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.auth-button:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

.auth-button:active {
  transform: translateY(0);
}

.auth-error {
  color: #dc3545;
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
  display: none;
}

.auth-error.show {
  display: block;
}

/* Hidden class for content */
.hidden {
  display: none !important;
}

/* Logout button styles */
.logout-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.logout-button {
  padding: 8px 16px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.logout-button:hover {
  background-color: #c82333;
}