.wow-admin-bg {
    position: relative;
    padding: 18px 12px 28px;
}
@media (min-width: 992px) {
  .wow-admin-bg { padding: 26px 18px 36px; }
}
.wow-admin-bg::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
      radial-gradient(circle at 12% 15%, rgba(255, 106, 0, 0.18), transparent 30%),
      radial-gradient(circle at 88% 22%, rgba(61, 61, 219, 0.22), transparent 34%),
      radial-gradient(circle at 50% 82%, rgba(37, 197, 94, 0.14), transparent 32%);
}
.wow-header {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(21,22,28,0.55), rgba(21,22,28,0.35));
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.28);
    margin-bottom: 14px;
}
.wow-title {
    color: #fff !important;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
    font-size: 22px;
}
@media (min-width: 768px) { .wow-title { font-size: 24px; } }
@media (min-width: 1200px) { .wow-title { font-size: 26px; } }
.wow-subtitle {
    color: rgba(255,255,255,0.75) !important;
    font-size: 13px;
}
.wow-cta {
    background: linear-gradient(135deg, #ff6a00, #ff8a3d) !important;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(255,106,0,0.35);
    transition: transform .18s ease, box-shadow .18s ease;
    color: #fff !important;
    padding: 10px 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}
.wow-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(255,106,0,0.42);
}
.admin-wow-theme .main__title-link.wow-cta {
  border: 0 !important;
  min-height: 42px;
  padding: 10px 16px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1;
  letter-spacing: .2px;
  white-space: nowrap;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}
.admin-wow-theme .main__title-link.wow-cta:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,106,0,0.22), 0 14px 24px rgba(255,106,0,0.42);
}

.wow-table-wrap {
    position: relative;
    z-index: 1;
    border-radius: 14px;
    overflow-x: auto;
    overflow-y: visible;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 14px 30px rgba(0,0,0,0.25);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    width: 100%;
}
.wow-table thead th {
    background: rgba(255,255,255,0.06);
    color: #eef2fb !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid rgba(255,255,255,0.14);
    font-size: 12.5px;
    letter-spacing: .3px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    text-align: center; /* titres centrés */
    vertical-align: middle;
}
.wow-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    min-width: 980px; /* évite l’écrasement des colonnes */
    background: transparent !important;
    border-radius: 12px; /* léger arrondi global pour un rendu plus doux */
    overflow: hidden; /* applique l'arrondi visuel au bloc tbody */
}
.wow-table thead,
.wow-table tbody,
.wow-table tr,
.wow-table th,
.wow-table td {
    background-color: transparent !important;
}
.wow-table tbody,
.wow-table tbody tr,
.wow-table tbody td {
    background: transparent !important;
}
.wow-table tbody tr {
    animation: wowIn .35s ease both;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
    border-radius: 10px; /* arrondi léger des lignes */
}
.wow-table tbody td {
    color: #f4f7ff !important;
    padding: 12px 14px !important;
    border-top: 1px solid rgba(255,255,255,0.10);
    font-size: 14px;
    background: rgba(255,255,255,0.02) !important;
}
.wow-table tbody tr:hover {
    transform: translateY(-1px);
    background-color: rgba(255,255,255,0.08);
    box-shadow: inset 0 0 0 9999px rgba(0,0,0,0.0);
}
.wow-table tbody tr:first-child td:first-child { border-top-left-radius: 12px; }
.wow-table tbody tr:first-child td:last-child  { border-top-right-radius: 12px; }
.wow-table tbody tr:last-child td:first-child  { border-bottom-left-radius: 12px; }
.wow-table tbody tr:last-child td:last-child   { border-bottom-right-radius: 12px; }
.wow-actions .wow-btn {
    transition: transform .15s ease, filter .15s ease;
    border-radius: 10px;
}
.wow-actions .wow-btn:hover {
    transform: scale(1.08);
    filter: brightness(1.15);
}
.wow-alert {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(21,22,28,0.55);
    color: #e9ebf3;
}

/* Harmonisation couleurs statut */
.wow-table .main__table-text--green { color: #4fe07a !important; }
.wow-table .main__table-text--red   { color: #ff7a7a !important; }

/* Espacements de page */
.admin-videos-page .paginator-wrap {
  margin-top: 16px;
}
.admin-videos-page .main__title .main__title-stat {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
}

@keyframes wowIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Global admin wow theme === */
.admin-wow-theme { 
  background: #161b24; 
  overflow-x: hidden; /* évite la barre horizontale globale */
}
.admin-wow-theme .main {
  position: relative;
  padding-top: 18px;
  background: transparent;
}
.admin-wow-theme .main::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* Fond assoupli */
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.05), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(255,255,255,0.04), transparent 30%);
}
.admin-wow-theme .main > * {
  position: relative;
  z-index: 1;
}

.global-admin-topbar {
  position: sticky;
  top: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px; /* topbar moins haut */
  background: rgba(16,18,24,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  box-sizing: border-box;
}
.global-admin-topbar__left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.global-admin-topbar__menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.global-admin-topbar__menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: #f4f7ff;
  border-radius: 999px;
}
@media (min-width: 992px) {
  /* Commence juste après la sidebar, sans chevauchement */
  .global-admin-topbar {
    margin-left: 260px;
    width: calc(100% - 260px); /* évite l'overflow avec scrollbar navigateur */
    max-width: 100%;
  }
}
.global-admin-topbar__title {
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 14px;
}
.global-admin-topbar__back {
  color: #ffd80e;
  font-size: 12px;
}
/* Taille du logo dans la sidebar (réduit, responsive) */
.sidebar__logo img {
  max-height: 38px;
  width: auto;
  height: auto;
  display: block;
}
@media (max-width: 992px) {
  .global-admin-topbar__menu-btn {
    display: inline-flex;
  }
  .sidebar__logo img {
    max-height: 32px;
  }
  .sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 2600;
    transform: translateX(-108%);
    transition: transform .24s ease;
    will-change: transform;
  }
  .sidebar.sidebar--active {
    transform: translateX(0);
  }
  .admin-wow-theme.admin-sidebar-open {
    overflow: hidden;
  }
}

/* Transparent forms everywhere */
.admin-wow-theme .form,
.admin-wow-theme .profile__form {
  background: rgba(18,20,28,0.48) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-radius: 16px !important;
  padding: 18px !important;
  box-shadow: 0 16px 30px rgba(0,0,0,0.22);
  backdrop-filter: blur(8px);
}
.admin-wow-theme .form__input,
.admin-wow-theme .form__textarea,
.admin-wow-theme .profile__input,
.admin-wow-theme .profile__label + select {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: #f0f1f5 !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
}
.admin-wow-theme .form__input::placeholder,
.admin-wow-theme .form__textarea::placeholder,
.admin-wow-theme .profile__input::placeholder {
  color: rgba(255,255,255,0.56) !important;
}
.admin-wow-theme .form__btn,
.admin-wow-theme .profile__btn {
  background: linear-gradient(135deg,#ff6a00,#ff8f3f) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  padding: 10px 16px !important;
  box-shadow: 0 10px 22px rgba(255,106,0,0.28);
}
.admin-wow-theme .form h3,
.admin-wow-theme .profile__form h3,
.admin-wow-theme .form__radio span,
.admin-wow-theme .form__radio label,
.admin-wow-theme .main__title-stat {
  color: #e9edf6 !important;
}
.admin-wow-theme .form option,
.admin-wow-theme select option {
  color: #f0f1f5 !important;
  background: #171d2c !important;
}
.admin-wow-theme .actor-item,
.admin-wow-theme .director-item {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border-radius: 8px;
}

/* Harmonized titles/cards/tables */
.admin-wow-theme .main__title {
  background: rgba(18,20,28,0.46);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.admin-wow-theme .main__title h2,
.admin-wow-theme .profile__title {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: .2px;
}
@media (max-width: 992px) {
  .admin-wow-theme .main__title h2 { font-size: 28px; }
}
.admin-wow-theme .main__table-wrap,
.admin-wow-theme .dashbox,
.admin-wow-theme .stats {
  background: rgba(255,255,255,0.06) !important; /* glass plus lumineux */
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
  backdrop-filter: blur(12px);
}
.admin-wow-theme .stats span,
.admin-wow-theme .stats p,
.admin-wow-theme .dashbox__title h3,
.admin-wow-theme .dashbox__wrap,
.admin-wow-theme .dashbox__wrap * {
  color: #eef2fb !important;
}
.admin-wow-theme .stats i,
.admin-wow-theme .dashbox i {
  color: #ffd08a !important;
  filter: drop-shadow(0 6px 14px rgba(255,208,138,0.25));
}
.admin-wow-theme .dashbox__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.admin-wow-theme .dashbox__title h3 {
  margin: 0;
  color: #f2f4f8 !important;
  font-size: 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.admin-wow-theme .dashbox__wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 110px;
}
.admin-wow-theme .dashbox__more {
  background: linear-gradient(135deg,#ff6a00,#ff8f3f);
  color: #fff !important;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(255,106,0,0.28);
}
.admin-wow-theme .dashbox__refresh {
  color: #d7dbe4 !important;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
}
.admin-wow-theme .dashbox__table-wrap {
  padding: 12px 14px 14px;
}
.admin-wow-theme .main__table--dash thead th {
  background: rgba(255,255,255,0.03) !important;
  color: #d8dde7 !important;
  font-size: 12px !important;
  letter-spacing: .35px;
}
.admin-wow-theme .col-12.col-sm-6.col-xl-3 {
  border: none !important;
  box-shadow: none !important;
}
.admin-wow-theme .stats,
.admin-wow-theme .dashbox,
.admin-wow-theme .main__table-wrap {
  outline: none !important;
}
.admin-wow-theme [style*="border: 1px solid white"] {
  border: 1px solid rgba(255,255,255,0.04) !important;
}
.admin-wow-theme .main__table thead th {
  color: #d8dde7 !important;
  background: rgba(255,255,255,0.06) !important;
}
.admin-wow-theme .main__table td,
.admin-wow-theme .main__table th,
.admin-wow-theme .main__table-text {
  color: #f0f1f5 !important;
}
.admin-wow-theme .main__table,
.admin-wow-theme .main__table-wrap,
.admin-wow-theme .main__table tbody,
.admin-wow-theme .main__table tr,
.admin-wow-theme .main__table td {
  background: transparent !important;
}

/* Uniformiser tous les tableaux admin en style translucide */
.admin-wow-theme .main__table-wrap {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(10px);
}
.admin-wow-theme .main__table {
  background: transparent !important;
}
.admin-wow-theme .main__table thead th {
  background: rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.14) !important;
  color: #eef2fb !important;
  text-align: center !important; /* titres centrés (fallback global) */
  vertical-align: middle !important;
}
.admin-wow-theme .main__table tbody td {
  background: rgba(255,255,255,0.02) !important;
  border-top: 1px solid rgba(255,255,255,0.10) !important;
  color: #f4f7ff !important;
}
.admin-wow-theme .main__table tbody tr:hover td {
  background: rgba(255,255,255,0.08) !important;
}

/* Lisibilité pagination: "9 à 9" + liens */
.admin-wow-theme .paginator-wrap,
.admin-wow-theme .paginator-wrap span,
.admin-wow-theme .paginator-wrap a,
.admin-wow-theme .paginator-wrap li,
.admin-wow-theme .paginator-wrap * {
  color: #eaf0ff !important;
}
.admin-wow-theme .paginator-wrap .active span,
.admin-wow-theme .paginator-wrap .active a {
  color: #fff !important;
}

/* Better margins / paddings */
.admin-wow-theme .container-fluid { padding: 0 18px 20px; }
.admin-wow-theme .row { row-gap: 10px; }
.admin-wow-theme .alert { border-radius: 10px; }

/* Responsive fix: évite le débordement horizontal des blocs ajout acteur/réalisateur */
@media (max-width: 768px) {
  #addRealisaButton,
  #addActorButton {
    margin: 10px 0 0 !important;
    width: 100%;
    max-width: none;
  }
  #directorInput,
  #actorInput {
    width: 100% !important;
  }
  .admin-wow-theme .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ===== Animations pour page Ajout/Edition ===== */
.wow-anim .main__title {
  animation: fadeUp .45s ease-out both;
}
.wow-anim .admin-form {
  animation: fadeUp .55s ease-out .06s both;
}
.admin-form .row { row-gap: 10px; }
.admin-form .profile__label {
  color: #e9edf6 !important;
  font-size: 13px;
  display: inline-block;
  margin-bottom: 6px;
}
.admin-form .form__input,
.admin-form .form__textarea,
.admin-form select {
  transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
  width: 100%;
  box-sizing: border-box;
}
.admin-form select.form__input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-height: 46px;
  padding: 10px 42px 10px 14px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.06) !important;
  color: #f0f1f5 !important;
}
.admin-form .admin-select-wrap {
  position: relative;
}
.admin-form .admin-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #ff9a42;
  border-bottom: 2px solid #ff9a42;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  opacity: .95;
}
.admin-form select.select-modern.form__input {
  padding-right: 38px !important;
}
.admin-form .admin-select-wrap--multi::after {
  display: none;
}
.admin-form select.select-modern[multiple] {
  min-height: 190px !important;
  padding: 10px 12px !important;
  background: rgba(255,255,255,0.06) !important;
}
.admin-form select.select-modern[multiple] option {
  padding: 8px 10px;
  border-radius: 8px;
}

/* Réalisateur/Acteurs: mêmes proportions que les autres champs */
.admin-create-video-page .admin-inline-field {
  align-items: stretch !important;
  gap: 10px;
}
.admin-create-video-page .admin-inline-field .form__input {
  flex: 1 1 auto;
  min-height: 46px;
}
.admin-create-video-page .admin-inline-field .admin-add-btn {
  flex: 0 0 140px;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 10px 14px !important;
}
.admin-form select.form__input:hover {
  border-color: rgba(255,154,66,0.45) !important;
  background-color: rgba(255,255,255,0.08) !important;
}
.admin-form .form__input:focus,
.admin-form .form__textarea:focus,
.admin-form select:focus {
  border-color: rgba(255,106,0,0.55) !important;
  box-shadow: 0 0 0 3px rgba(255,106,0,0.18);
  transform: translateY(-1px);
}
.admin-form select.form__input option {
  background: #171d2c;
  color: #f0f1f5;
}
.admin-form input[type="file"] {
  padding: 10px 12px !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: #f0f1f5 !important;
  border-radius: 12px !important;
  height: 46px !important;
  line-height: 24px !important;
  display: inline-flex;
  align-items: center;
}
.admin-form input[type="file"]::file-selector-button {
  background: linear-gradient(135deg,#2a2f3d,#1f2430);
  color: #eef1f7;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 10px 12px;
  margin-right: 12px;
  cursor: pointer;
  height: 40px;
  line-height: 20px;
  display: inline-flex;
  align-items: center;
}
.admin-form input[type="file"]::-webkit-file-upload-button {
  background: linear-gradient(135deg,#2a2f3d,#1f2430);
  color: #eef1f7;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 10px 12px;
  margin-right: 12px;
  cursor: pointer;
  height: 40px;
  line-height: 20px;
}
.admin-form input[type="file"]:hover::file-selector-button,
.admin-form input[type="file"]:hover::-webkit-file-upload-button {
  filter: brightness(1.08);
}
.admin-form input[type="file"]:focus {
  border-color: rgba(255,106,0,0.55) !important;
  box-shadow: 0 0 0 3px rgba(255,106,0,0.18);
}
.admin-form .form__btn {
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.admin-form .form__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(255,106,0,0.32);
  filter: brightness(1.05);
}
.admin-form .form__radio input[type="radio"] {
  accent-color: #ff6a00;
}

/* Alignements responsive: champs + boutons (réalisateurs/acteurs) */
@media (max-width: 992px) {
  .admin-create-video-page .col-md-12.d-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px;
  }
  .admin-create-video-page .col-md-12.d-flex .form__input {
    width: 100% !important;
  }
  .admin-create-video-page .col-md-12.d-flex .btn {
    width: 100% !important;
    height: 42px !important;
    margin: 0 !important;
  }
  .admin-create-video-page .admin-inline-field .admin-add-btn {
    width: 100% !important;
    flex: 1 1 auto;
    min-height: 42px !important;
  }
  .admin-create-video-page .help { font-size: 12px; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Modal de confirmation admin (remplace confirm() natif) */
.admin-confirm-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}
.admin-confirm-modal.is-open {
  display: flex;
}
.admin-confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 14, 0.65);
  backdrop-filter: blur(4px);
}
.admin-confirm-modal__dialog {
  position: relative;
  width: min(92vw, 420px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  padding: 16px;
}
.admin-confirm-modal__title {
  margin: 0 0 8px;
  color: #f4f7ff;
  font-size: 18px;
  font-weight: 800;
}
.admin-confirm-modal__message {
  margin: 0 0 14px;
  color: #dbe3f5;
  font-size: 14px;
}
.admin-confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.admin-confirm-modal__btn {
  min-height: 38px;
  padding: 8px 12px !important;
}
.admin-confirm-modal__btn--cancel {
  background: rgba(255,255,255,0.08) !important;
  color: #f1f4fb !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  box-shadow: none !important;
}
.admin-confirm-modal__btn--ok {
  background: linear-gradient(135deg,#ff6a00,#ff8f3f) !important;
}

/* Global app loader (admin) */
.app-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px) saturate(110%);
  transition: opacity .32s ease, visibility .32s ease;
}

/* Force override legacy preloader backgrounds */
#preloader {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(12px) saturate(110%) !important;
}
.app-loader__content {
  width: min(92vw, 560px);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.app-loader__brand {
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: .2px;
  opacity: .8;
}
.app-loader__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  margin-bottom: 6px;
}
.app-loader__track {
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}
.app-loader__bar {
  display: block;
  height: 100%;
  width: 24%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 106, 0, 0), rgba(255, 138, 61, 0.95), rgba(255, 106, 0, 0));
  animation: appLoaderFlow 1.1s ease-in-out infinite;
}
.app-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.app-loader.is-busy .app-loader__bar {
  animation-duration: .65s;
}
@keyframes appLoaderFlow {
  0% { transform: translateX(-150%); }
  100% { transform: translateX(520%); }
}

/* Upload progress (admin create/edit) */
.upload-progress {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 8px 0 10px;
}
.upload-progress__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #eef2fb;
  font-size: 13px;
  margin-bottom: 8px;
}
.upload-progress__track {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.22);
}
.upload-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6a00, #ffb067);
  box-shadow: 0 4px 12px rgba(255,106,0,0.35);
  transition: width .2s ease;
}
.upload-progress__meta {
  display: inline-block;
  margin-top: 8px;
  color: rgba(240,245,255,0.86);
  font-size: 12px;
}
