/* ==========================================================================
   SEGi Dental Society — Media Vault & Gallery (`css/gallery.css`)
   Justified Flexbox Grid, Anti-Save Shield, Album Drawer & Modal Lightbox
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Anti-Save & Defensive Layers
   -------------------------------------------------------------------------- */
@media print {
  body {
    display: none !important;
  }
}

.photo-guard {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: transparent;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* --------------------------------------------------------------------------
   2. Admin Control Ribbon & Storage Quota Meter
   -------------------------------------------------------------------------- */
.admin-gallery-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: rgba(19, 22, 32, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  backdrop-filter: blur(8px);
}

body.is-admin .admin-gallery-controls {
  display: flex;
}

.admin-quota-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.circular-progress {
  position: relative;
  width: 48px;
  height: 48px;
}

.circular-chart {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke: var(--gold-accent, #eab308);
  transition: stroke-dasharray 0.5s ease;
}

.quota-percent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #ffffff;
}

.quota-details {
  display: flex;
  flex-direction: column;
}

.quota-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.quota-count {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.admin-actions-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-admin-action {
  background: #1e2230;
  color: #e2e8f0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 8px);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-admin-action:hover {
  background: #282d3f;
  border-color: #475569;
}

.btn-primary-action {
  background: var(--maroon-base, #800000);
  border-color: var(--maroon-vibrant, #b91c1c);
  color: #ffffff;
}

.btn-primary-action:hover {
  background: var(--maroon-vibrant, #991b1b);
}

/* --------------------------------------------------------------------------
   3. Category Filter Navigation Pills
   -------------------------------------------------------------------------- */
.gallery-category-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.filter-pill {
  background: #141724;
  border: 1px solid var(--border-subtle);
  color: #94a3b8;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  color: #ffffff;
  border-color: var(--maroon-vibrant, #b91c1c);
}

.filter-pill.active {
  background: var(--maroon-base, #800000);
  border-color: var(--maroon-vibrant, #b91c1c);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(128, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   4. Justified Flexbox Gallery Grid & Media Cards
   -------------------------------------------------------------------------- */
.gallery-wrapper {
  margin-top: 1.5rem;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  min-height: 400px;
}

/* Invisible spacer to prevent orphaned last items from stretching across 100% width */
.gallery-grid::after {
  content: '';
  flex-grow: 999999999;
  min-width: 200px;
  height: 0;
}

.gallery-card {
  height: 230px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md, 8px);
  background: #131620;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  content-visibility: auto;
  contain-intrinsic-size: 230px 300px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-accent, #eab308);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65);
  z-index: 2;
}

body.light-theme .gallery-card:hover {
  border-color: var(--maroon-base, #800000);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.9), 0 4px 14px rgba(0, 0, 0, 0.08);
}

.card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  color: #f8fafc;
  z-index: 6;
}

/* Privacy & Title Masking */
.card-title-overlay {
  display: none;
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 0.4rem 0.65rem;
  background: linear-gradient(0deg, rgba(9, 10, 13, 0.92) 0%, transparent 100%);
  font-size: 0.72rem;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 6;
}

body.is-admin .card-title-overlay {
  display: block;
}

/* --------------------------------------------------------------------------
   5. Floating Album Drawer & Admin Management
   -------------------------------------------------------------------------- */
.btn-album-drawer-trigger {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  align-items: center;
  gap: 0.6rem;
  background: #141824;
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.is-admin .btn-album-drawer-trigger {
  display: flex !important;
}

.btn-album-drawer-trigger:hover {
  transform: translateY(-2px);
  border-color: var(--gold-accent, #eab308);
  background: #1c2233;
}

.album-count-badge {
  background: var(--maroon-base, #800000);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 9999px;
}

.album-drawer-panel {
  position: fixed;
  top: 0;
  right: -360px;
  width: 340px;
  height: 100vh;
  background: #0f121a;
  border-left: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.6);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.album-drawer-panel.is-open {
  right: 0;
}

.drawer-header {
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-title-group h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #ffffff;
}

.drawer-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
}

.btn-drawer-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-album-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.album-item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #141724;
  border: 1px solid transparent;
  border-radius: var(--radius-md, 8px);
  color: #cbd5e1;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.album-item-btn:hover,
.album-item-btn.is-active {
  background: #1f2538;
  color: #ffffff;
  border-color: var(--maroon-vibrant, #b91c1c);
}

.album-item-btn.is-archived-category {
  border-left: 3px solid #ef4444;
}

.album-meta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.album-pill-count {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.btn-delete-album,
.btn-toggle-album-hide,
.btn-rename-album {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.btn-delete-album { color: #ef4444; }
.btn-delete-album:hover { opacity: 1; background: rgba(239, 68, 68, 0.15); }

.btn-toggle-album-hide { color: var(--gold-accent, #eab308); }
.btn-toggle-album-hide:hover { opacity: 1; background: rgba(234, 179, 8, 0.15); }

.btn-rename-album { color: #38bdf8; }
.btn-rename-album:hover { opacity: 1; background: rgba(56, 189, 248, 0.15); }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   6. Detailed View Modal / Lightbox & Reporting
   -------------------------------------------------------------------------- */
.google-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.google-preview-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
}

.preview-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  width: 92vw;
  max-width: 1300px;
  height: 82vh;
  background: #0f121a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.preview-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.preview-close-btn:hover {
  transform: scale(1.1);
  background: var(--maroon-base, #800000);
}

.preview-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #06070a;
  padding: 1.5rem;
  overflow: hidden;
}

.preview-image-holder {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-image-holder img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 6px;
  user-select: none;
  -webkit-user-select: none;
}

.preview-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(18, 22, 33, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}

.preview-nav-btn:hover {
  background: var(--maroon-base, #800000);
  transform: translateY(-50%) scale(1.1);
}

.nav-prev { left: 1rem; }
.nav-next { right: 1rem; }

.preview-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 1.75rem 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: #11141e;
}

.preview-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-accent, #eab308);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.preview-title {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  word-break: break-all;
}

.preview-date {
  font-size: 0.85rem;
  color: #94a3b8;
}

.preview-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

.btn-report-abuse {
  width: 100%;
  padding: 0.65rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  border-radius: var(--radius-md, 8px);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-report-abuse:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ffffff;
}

.admin-preview-tools {
  display: none;
  gap: 0.6rem;
}

body.is-admin .admin-preview-tools {
  display: flex;
}

.btn-admin-tool {
  flex: 1;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-md, 8px);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: background 0.2s;
}

.btn-save-details {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.35);
}

.btn-save-details:hover {
  background: rgba(16, 185, 129, 0.35);
}

.btn-archive {
  background: #1e2638;
  color: #cbd5e1;
  border-color: #334155;
}

.btn-archive:hover {
  background: #2a354d;
}

.btn-delete {
  background: #3f161e;
  color: #fca5a5;
  border-color: #7f1d1d;
}

.btn-delete:hover {
  background: #7f1d1d;
  color: #ffffff;
}

.btn-report-abuse-discreet {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(15, 18, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
  z-index: 10;
}

.btn-report-abuse-discreet:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

/* --------------------------------------------------------------------------
   7. Drag-and-Drop Album Upload Modal
   -------------------------------------------------------------------------- */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.admin-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 90%;
  max-width: 580px;
  background: #141722;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  color: #ffffff;
  margin: 0;
  font-size: 1.15rem;
}

.btn-modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  background: #0c0e14;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--maroon-vibrant, #b91c1c);
}

.drag-drop-zone {
  margin-top: 0.75rem;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, background 0.2s;
}

.drag-drop-zone.dragover {
  border-color: var(--gold-accent, #eab308);
  background: rgba(234, 179, 8, 0.05);
}

.drop-zone-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.drop-zone-content p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0 0 0.25rem;
}

.drop-zone-sub {
  font-size: 0.75rem;
  color: #64748b;
}

.staged-files-list {
  max-height: 120px;
  overflow-y: auto;
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.btn-modal-cancel {
  background: #1f2433;
  color: #cbd5e1;
  border: 1px solid #334155;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
}

.btn-modal-confirm {
  background: var(--maroon-base, #800000);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.btn-modal-confirm:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   8. Validation Highlights & Toast Notification Banners
   -------------------------------------------------------------------------- */
.form-input:invalid,
.form-input:user-invalid {
  outline: none !important;
  box-shadow: none !important;
  border-color: var(--border-subtle);
}

.form-input.highlight-green {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
  animation: pulseGreen 1.2s ease infinite alternate;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); }
  100% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.45); }
}

.gallery-toast {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #141824;
  border: 1px solid #10b981;
  color: #f8fafc;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  z-index: 11000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.gallery-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.gallery-toast.toast-warning { border-color: #f59e0b; }
.gallery-toast.toast-error   { border-color: #ef4444; }

/* --------------------------------------------------------------------------
   9. Pagination Controls & PDPA Banner
   -------------------------------------------------------------------------- */
.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 3rem 0;
}

.btn-page {
  background: #151824;
  color: #f1f5f9;
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md, 8px);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-page:hover:not(:disabled) {
  background: var(--maroon-base, #800000);
  border-color: var(--maroon-vibrant, #991b1b);
}

.btn-page:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-indicator {
  font-size: 0.9rem;
  font-weight: 600;
  color: #94a3b8;
}

.gallery-pdpa-banner {
  max-width: 900px;
  margin: 3rem auto 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  text-align: center;
}

.gallery-pdpa-banner p {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.pdpa-link,
.pdpa-trigger-btn {
  color: var(--gold-accent, #eab308);
  text-decoration: underline;
}

.pdpa-trigger-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}

.pdpa-link:hover,
.pdpa-trigger-btn:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   10. Circular Loading Spinner
   -------------------------------------------------------------------------- */
.gallery-section-loader {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 5rem 1rem;
}

.spinner-ring {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--maroon-bright, #e11d48);
  border-right-color: var(--gold-accent, #eab308);
  border-radius: 50%;
  animation: spinGallery 0.85s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

body.light-theme .spinner-ring {
  border-color: rgba(0, 0, 0, 0.08);
  border-top-color: var(--maroon-base, #800000);
  border-right-color: var(--gold-accent, #eab308);
}

@keyframes spinGallery {
  to { transform: rotate(360deg); }
}

.spinner-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   11. Responsive Overrides
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .preview-container {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    width: 96vw;
    height: 90vh;
  }
  .preview-sidebar {
    padding: 1.25rem;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .preview-stage {
    padding: 0.5rem;
  }
}