body {
  font-family: 'Segoe UI', sans-serif;
  background: #121212;
  color: #e0e0e0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3.5rem; /* Add space for fixed nav */
}

/* Top nav */
nav.menu {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: #1f1f1f;
  padding: 0.75rem 1rem;

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

/* Remove the `font: inherit` shorthand so we don’t lose our boldness */
nav.menu a,
nav.menu .meta-icon {
  margin: 0 1rem;
  color: #bb86fc;
  font-family: inherit;    /* preserve your site’s font */
  font-size: 1rem;         /* same size as before */
  font-weight: bold;       /* 🔥 make it bold */
  text-decoration: none;

  background: none;
  border: none;
  cursor: pointer;
}

nav.menu a:hover,
nav.menu .meta-icon:hover {
  text-decoration: underline;
}

nav.menu .meta-icon:disabled {
  opacity: 1;
  cursor: default;
}

main {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

/* Headings */
h1 {
  margin-bottom: 1rem;
  color: #fff;
  text-align: center;
}


/* ========== Dungeon Page Controls ========== */
fieldset {
  border: 1px solid #444;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #1a1a1a;
}
legend {
  padding: 0 0.5rem;
  font-weight: bold;
  color: #bb86fc;
}
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.controls label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Inputs */
input, select {
  background: #2c2c2c;
  color: #e0e0e0;
  border: 1px solid #444;
  border-radius: 3px;
  padding: 0.3rem;
}

/* Center the Load button */
#loadBtn {
  display: block;
  margin: 1.5rem auto;
  padding: 0.5rem 1rem;
  background: #bb86fc;
  border: none;
  color: #121212;
  border-radius: 4px;
  cursor: pointer;
}
#loadBtn:hover {
  background: #9a67ea;
}

/* ========== Table ========== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #1e1e1e;
  box-shadow: 0 2px 5px rgba(0,0,0,0.7);
}
th, td {
  padding: 0.4rem 0.6rem;
  border: 1px solid #333;
  text-align: center;
  font-size: 0.9rem;
}
th {
  background: #333;
  color: #fff;
  position: sticky;
  top: 0;
  cursor: pointer;
  user-select: none;
}
th.sort-asc::after { content: ' ▲'; }
th.sort-desc::after { content: ' ▼'; }
tbody tr:nth-child(even) { background: #2a2a2a; }
tbody tr:hover        { background: #3a3a3a; }

.meta-icon {
  background: none;
  border: none;
  cursor: default;
  font-size: 1.2em;
  margin-left: 0.5em;
  vertical-align: middle;
}
.meta-icon:disabled {
  opacity: 0.5;
}

.meta-popup {
  min-width: 320px;
  max-width: 340px;
  background: #232336;
  color: #e0e0e0;
  border: 1.5px solid #b388ff;
  border-radius: 10px;
  box-shadow: 0 8px 32px #000b;
  padding: 1.2rem 1.5rem 1rem 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  z-index: 9999;
  animation: fadeInMetaPopup 0.18s;
}
.meta-popup strong {
  color: #b388ff;
  font-size: 1.08em;
}
.meta-popup .close-popup {
  margin-top: 1.2em;
  background: #b388ff;
  color: #181824;
  border: none;
  border-radius: 5px;
  padding: 0.35em 1.1em;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px #0003;
  transition: background 0.2s, color 0.2s;
}
.meta-popup .close-popup:hover {
  background: #7c4dff;
  color: #fff;
}
@keyframes fadeInMetaPopup {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Remove underline on hover for meta-icon when popup is open */
nav.menu .meta-icon.popup-open:hover {
  text-decoration: none;
  color: #b388ff;
  text-shadow: none;
  cursor: pointer;
}

/* ========== Video Viewer Layout ========== */
.video-player-section {
  width: 100%;
  max-width: 900px;
  margin: 1rem auto 0 auto;
}

.video-title-display {
  color: #e0e0e0;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
  text-align: center;
  line-height: 1.3;
}

.video-player {
  margin-top: 1.5rem;
  background: #22223a;
  border-radius: 10px;
  box-shadow: 0 2px 12px #0007;
  padding: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.video-player iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 1600px;
  height: auto;
  border-radius: 8px;
  background: #000;
  display: block;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .video-player iframe {
    max-width: 100vw;
    min-height: 180px;
  }
}

.video-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  min-width: 0;
}

/* Video Details Styling */
.video-details {
  margin-top: 2rem;
  width: 100%;
  max-width: 800px;
  background: #1a1a1a;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #333;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-item label {
  color: #bb86fc;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  color: #e0e0e0;
  font-size: 1rem;
  padding: 0.5rem;
  background: #2a2a2a;
  border-radius: 6px;
  border-left: 3px solid #bb86fc;
}

.description-section {
  margin-bottom: 2rem;
}

.description-section label {
  color: #bb86fc;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.8rem;
}

.description-text {
  color: #e0e0e0;
  line-height: 1.6;
  padding: 1rem;
  background: #2a2a2a;
  border-radius: 8px;
  border-left: 3px solid #bb86fc;
  margin: 0;
}

.action-section {
  display: flex;
  justify-content: center;
}

.like-button {
  background: linear-gradient(135deg, #bb86fc, #a855f7);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(187, 134, 252, 0.3);
}

.like-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(187, 134, 252, 0.4);
}

.like-button:active {
  transform: translateY(0);
}

/* Error and no results messages */
.error-message, .no-results {
  color: #ff6b6b;
  text-align: center;
  padding: 2rem;
  font-size: 1.1rem;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 107, 0.3);
}



.search-input {
  width: 100%;
  background: #2c2c2c;
  color: #e0e0e0;
  border: 2px solid #444;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: #bb86fc;
  box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.1);
}

.search-input::placeholder {
  color: #888;
}



.video-viewer-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 80vh;
  background: #181818;
  border-radius: 12px;
  box-shadow: 0 4px 24px #000a;
  min-width: 0;
}

.video-sidebar {
  width: 280px;
  background: #232336;
  padding: 1rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  overflow-y: auto;
}

.sidebar-controls {
  padding: 0.8rem;
  background: #1a1a1a;
  border-radius: 8px;
  border: 1px solid #333;
}

.sidebar-controls .search-container {
  margin-bottom: 1.5rem;
}

.sidebar-controls .search-input {
  width: 100%;
  box-sizing: border-box;
  background: #2c2c2c;
  color: #e0e0e0;
  border: 2px solid #444;
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sidebar-controls .search-input:focus {
  outline: none;
  border-color: #bb86fc;
  box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.1);
}

.sidebar-controls .search-input::placeholder {
  color: #888;
}

.sidebar-controls .sort-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-controls .sort-container label {
  color: #bb86fc;
  font-weight: bold;
  font-size: 0.9rem;
}

.sidebar-controls .sort-select {
  background: #2c2c2c;
  color: #e0e0e0;
  border: 2px solid #444;
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.sidebar-controls .sort-select:focus {
  outline: none;
  border-color: #bb86fc;
}

/* Video List in Sidebar */
.video-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sidebar-video-item {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #333;
}

.sidebar-video-item:hover {
  background: #2a2a2a;
  border-color: #bb86fc;
  transform: translateX(4px);
}

.sidebar-video-item.active {
  background: #bb86fc;
  border-color: #bb86fc;
  color: #1a1a1a;
}

.sidebar-video-item.active .sidebar-video-title {
  color: #1a1a1a;
}

.sidebar-video-item.active .sidebar-video-meta {
  color: #1a1a1a;
  opacity: 0.8;
}

.sidebar-video-thumbnail {
  width: 100%;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.sidebar-video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-video-title {
  color: #e0e0e0;
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-video-meta {
  color: #bb86fc;
  font-size: 0.8rem;
  font-weight: bold;
}

.sort-btn {
  background: #2a2a2a;
  color: #e0e0e0;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.sort-btn:hover {
  background: #3a3a3a;
  border-color: #bb86fc;
}

.sort-btn.active {
  background: #bb86fc;
  color: #1a1a1a;
  border-color: #bb86fc;
  font-weight: bold;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.video-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #333;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.video-info {
  padding: 1rem;
}

.video-info .video-title {
  color: #e0e0e0;
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  line-height: 1.3;
}

.video-meta {
  color: #bb86fc;
  font-size: 0.85rem;
  margin: 0 0 0.5rem 0;
  font-weight: bold;
}

.video-description {
  color: #aaa;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: #1a1a1a;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem 1rem 2rem;
  border-bottom: 1px solid #333;
}

.modal-header h2 {
  color: #e0e0e0;
  margin: 0;
  font-size: 1.3rem;
}

.close-modal {
  background: none;
  border: none;
  color: #888;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #e0e0e0;
}

.modal-content .video-player {
  padding: 1rem 2rem;
  background: #000;
}

.modal-content .video-details {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.video-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border-radius: 8px;
  padding: 0.3rem 0.2rem;
  transition: background 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}
.video-thumb img {
  width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.3rem;
  box-shadow: 0 2px 8px #0005;
}
.video-thumb-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.video-thumb .video-title {
  color: #b388ff;
  font-size: 0.95em;
  margin-top: 0.1em;
  font-weight: bold;
  line-height: 1.2;
}

.video-thumb .video-date {
  color: #888;
  font-size: 0.8em;
  margin-top: 0.2em;
  opacity: 0.8;
}
.video-thumb.active, .video-thumb:hover {
  background: #2a2040;
  border-color: #bb86fc;
  box-shadow: 0 0 0 2px #bb86fc55;
}

@media (max-width: 800px) {
  .video-viewer-container {
    flex-direction: column;
    min-height: unset;
  }
  .video-sidebar {
    flex-direction: column;
    width: 100%;
    border-radius: 12px 12px 0 0;
    padding: 1rem;
    gap: 1rem;
    max-height: 300px;
  }
  
  .video-list {
    max-height: 200px;
  }
  .video-main {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
  

  
  .video-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .video-details {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .like-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .sort-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .sort-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
  }
  
  .modal-content {
    margin: 0.5rem;
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 1rem 1.5rem 0.5rem 1.5rem;
  }
  
  .modal-content .video-player {
    padding: 0.5rem 1.5rem;
  }
}

.site-footer {
  width: 100%;
  background: #181824;
  color: #b388ff;
  text-align: center;
  padding: 1.2rem 0 1.2rem 0;
  font-size: 1.05em;
  margin-top: 2.5rem;
  border-top: 1.5px solid #232336;
  letter-spacing: 0.01em;
  box-shadow: 0 -2px 12px #0005;
}

.site-footer a {
  color: #bb86fc;
  text-decoration: none;
  font-weight: bold;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Add Video Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal .modal-content {
  background: #1a1a1a;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem 1rem 2rem;
  border-bottom: 1px solid #333;
}

.modal-header h2 {
  color: #e0e0e0;
  margin: 0;
  font-size: 1.3rem;
}

.modal-body {
  padding: 1.5rem 2rem 2rem 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #bb86fc;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  box-sizing: border-box;
  background: #2c2c2c;
  color: #e0e0e0;
  border: 2px solid #444;
  border-radius: 6px;
  padding: 0.8rem;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #bb86fc;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-notice {
  background: rgba(187, 134, 252, 0.1);
  border: 1px solid rgba(187, 134, 252, 0.3);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.form-notice p {
  color: #bb86fc;
  margin: 0;
  font-size: 0.9rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.submit-btn {
  background: linear-gradient(135deg, #bb86fc, #a855f7);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(187, 134, 252, 0.3);
}

.cancel-btn {
  background: #444;
  color: #e0e0e0;
  border: 1px solid #666;
  border-radius: 6px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.cancel-btn:hover {
  background: #555;
  border-color: #777;
}

/* Admin Page Styles */
.admin-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.admin-container {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.login-section {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.login-section h1 {
  color: #bb86fc;
  margin-bottom: 2rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-dashboard h1 {
  color: #bb86fc;
  margin-bottom: 2rem;
  text-align: center;
}

.admin-dashboard h2 {
  color: #e0e0e0;
  margin-bottom: 1rem;
  border-bottom: 2px solid #bb86fc;
  padding-bottom: 0.5rem;
}

.pending-videos-section {
  margin-bottom: 3rem;
}

.pending-videos-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pending-video-item {
  background: #2a2a2a;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #444;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.pending-video-thumbnail {
  position: relative;
  width: 200px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}

.pending-video-thumbnail:hover {
  transform: scale(1.05);
}

.pending-video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pending-video-thumbnail .play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.pending-video-thumbnail:hover .play-overlay {
  opacity: 1;
}

.pending-video-thumbnail .play-overlay span {
  color: white;
  font-size: 2rem;
  background: rgba(187, 134, 252, 0.8);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pending-video-info h3 {
  color: #bb86fc;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.pending-video-info p {
  color: #e0e0e0;
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

.pending-video-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}

.approve-btn {
  background: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

.approve-btn:hover {
  background: #45a049;
}

.reject-btn {
  background: #f44336;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

.reject-btn:hover {
  background: #da190b;
}

.admin-form {
  background: #2a2a2a;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #444;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.no-pending {
  color: #888;
  text-align: center;
  padding: 2rem;
  font-style: italic;
}

/* Video Modal for Admin */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.video-modal .modal-content {
  background: #1a1a1a;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem 1rem 2rem;
  border-bottom: 1px solid #333;
}

.video-modal .modal-header h2 {
  color: #e0e0e0;
  margin: 0;
  font-size: 1.3rem;
}

.video-modal .modal-body {
  padding: 1.5rem 2rem 2rem 2rem;
}

.video-modal .modal-body iframe {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .pending-video-item {
    flex-direction: column;
  }
  
  .pending-video-thumbnail {
    width: 100%;
    height: 180px;
  }
  
  .pending-video-actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .video-modal .modal-content {
    max-width: 95%;
  }
}