/* full-movie.css */

/* ----------------------------------------
   Global Layout
   ---------------------------------------- */

/* Ensure container takes full width on small screens */
.container {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
}

/* Breadcrumb styling */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}
.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 0.5rem;
  color: #6c757d;
}

/* Table responsiveness */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Striped rows (if not using Bootstrap default) */
.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

#previewModal .modal-body {
    max-height: 80vh;
    overflow-y: auto;
    background: #f8f9fa;
}

#previewModal video,
#previewModal img {
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
}

/* ----------------------------------------
   Typography & Icons
   ---------------------------------------- */

/* Dark-blue color for directory links */
.dir-link {
  color: #0000cc !important;
  text-decoration: none;
}
.dir-link:hover,
.dir-link:focus {
  text-decoration: underline;
}

/* File icon and folder icon spacing */
.bi-folder-fill,
.bi-file-earmark-play-fill {
  margin-right: 0.4rem;
  vertical-align: text-bottom;
}

/* ----------------------------------------
   Buttons & Forms
   ---------------------------------------- */

/* Small button adjustments */
.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Space out the download/delete buttons */
.d-flex.gap-2 > * {
  margin-right: 0.5rem;
}

/* Delete-form hidden inputs */
.delete-form input[type="hidden"] {
  display: none;
}

/* ----------------------------------------
   Responsive Adjustments
   ---------------------------------------- */

/* On extra-small devices, reduce padding and font-size */
@media (max-width: 576px) {
  .table th,
  .table td {
    padding: 0.3rem;
    font-size: 0.85rem;
  }
  .btn-sm {
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
  }
}

/* On medium devices, adjust breadcrumb font-size */
@media (max-width: 768px) {
  .breadcrumb {
    font-size: 0.9rem;
  }
}

/* On large devices, ensure table text is readable */
@media (min-width: 992px) {
  .table th,
  .table td {
    padding: 0.75rem;
  }
}
