/*==============================================================
	PANOUL DE ADMINISTRARE
==============================================================*/
.adm {
  background-color: #1f1f24;
  color: #c7c7c7;
  min-height: 100vh;
}
.adm a { color: #ff8cc2; }
.adm a:hover { color: #fff; }

/*---------- meniul lateral ----------*/
.adm-side {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  width: 250px;
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  background-color: #18181c;
  border-right: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.adm-side__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 22px;
}
.adm-side__logo img { height: 28px; }
.adm-side__logo span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(90deg, #ff5860 0%, #ff55a5 100%);
}
.adm-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.adm-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 15px;
  color: #a8a8b1 !important;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.adm-nav__link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}
.adm-nav__link:hover {
  color: #fff !important;
  background-color: rgba(255,255,255,0.04);
  transform: translateX(3px);
}
.adm-nav__link.is-active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(255,85,165,0.22) 0%, rgba(255,85,165,0.04) 100%);
}
.adm-nav__link.is-active:before {
  content: '';
  position: absolute;
  left: -16px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #ff5860 0%, #ff55a5 100%);
}
.adm-nav__badge {
  margin-left: auto;
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 10px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background-color: #ff5860;
  animation: adm-pulse 2.4s ease-in-out infinite;
}
@keyframes adm-pulse {
  50% { box-shadow: 0 0 0 5px rgba(255,88,96,0.15); }
}
.adm-side__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.adm-side__add { justify-content: center; }
.adm-side__site {
  padding: 4px 10px;
  font-size: 13px;
  color: #8d8d96 !important;
}
.adm-side__site:hover { color: #fff !important; }

/*---------- zona principala ----------*/
.adm-main {
  margin-left: 250px;
  min-height: 100vh;
}
.adm-top {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 70px;
  padding: 0 30px;
  background-color: rgba(31,31,36,0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.adm-top__menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: none;
  border: none;
}
.adm-top__menu span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
}
.adm-top__title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
}
.adm-top__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.adm-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 13px;
  background-color: rgba(62,207,142,0.1);
  border: 1px solid rgba(62,207,142,0.3);
}
.adm-live b { color: #fff; }
.adm-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3ecf8e;
  box-shadow: 0 0 0 0 rgba(62,207,142,0.7);
  animation: adm-live 1.8s ease-out infinite;
}
@keyframes adm-live {
  70% { box-shadow: 0 0 0 8px rgba(62,207,142,0); }
  100% { box-shadow: 0 0 0 0 rgba(62,207,142,0); }
}
.adm-top__user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.adm-top__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff5860 0%, #ff55a5 100%);
}
.adm-top__logout { margin: 0; }
.adm-top__logout button {
  display: flex;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.25s ease;
}
.adm-top__logout svg { width: 18px; height: 18px; fill: #c7c7c7; }
.adm-top__logout button:hover { border-color: rgba(255,88,96,0.6); }
.adm-top__logout button:hover svg { fill: #ff5860; }

.adm-content {
  padding: 28px 30px 110px;
}

@media (max-width: 991px) {
  .adm-side { transform: translateX(-100%); box-shadow: 20px 0 40px rgba(0,0,0,0.5); }
  .adm-side.is-open { transform: none; }
  .adm-main { margin-left: 0; }
  .adm-top { padding: 0 16px; }
  .adm-top__menu { display: flex; }
  .adm-top__user { display: none; }
  .adm-content { padding: 20px 16px 110px; }
}

/*---------- aparitie animata ----------*/
.adm [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.adm [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/*---------- salut, cifre ----------*/
.adm-hello {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 24px 28px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255,85,165,0.28) 0%, rgba(255,85,165,0) 60%),
    radial-gradient(ellipse at 100% 100%, rgba(255,88,96,0.18) 0%, rgba(255,88,96,0) 55%),
    #24242a;
  border: 1px solid rgba(255,85,165,0.18);
}
.adm-hello h2 { margin: 0 0 4px; font-size: 26px; font-weight: 500; color: #fff; }
.adm-hello p { margin: 0; }

.adm-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.adm-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  border-radius: 14px;
  background-color: #26262c;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.adm-tile:hover { transform: translateY(-3px); border-color: rgba(255,85,165,0.3); }
.adm-tile__label { font-size: 13px; color: #9d9da6; }
.adm-tile__value { font-size: 32px; font-weight: 600; line-height: 1.2; color: #fff; }
.adm-tile__value--small { font-size: 22px; padding-top: 6px; }
.adm-tile__note { font-size: 12px; color: #8d8d96; }
.adm-tile--hero {
  background: linear-gradient(135deg, rgba(255,88,96,0.25) 0%, rgba(255,85,165,0.25) 100%);
  border-color: rgba(255,85,165,0.35);
}
.adm-tile--hero .adm-tile__value { font-size: 46px; }

/*---------- carduri ----------*/
.adm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.adm-card {
  min-width: 0;
  padding: 20px 22px;
  border-radius: 16px;
  background-color: #26262c;
  border: 1px solid rgba(255,255,255,0.06);
}
.adm-card--wide { grid-column: 1 / -1; }
@media (max-width: 991px) {
  .adm-grid { grid-template-columns: minmax(0, 1fr); }
}
.adm-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 16px;
}
.adm-card__head h3 { margin: 0; font-size: 17px; font-weight: 500; color: #fff; }
.adm-card__head span { font-size: 12px; color: #8d8d96; }
.adm-card__head a { font-size: 13px; }
.adm-empty { margin: 10px 0; color: #8d8d96; font-size: 14px; }
.adm-hint { margin: 12px 0 0; font-size: 12px; color: #8d8d96; }
.adm-subtitle { margin: 18px 0 8px; font-size: 14px; font-weight: 500; color: #fff; }

.adm .colchart__plot { height: 170px; }
.colchart--dense .colchart__bar { max-width: 18px; }
.colchart__bar.is-today { background-color: #ff8cc2; }

/* clasament */
.adm-rank { margin: 0; padding: 0; list-style: none; }
.adm-rank li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1.4fr) 1fr 30px;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.adm-rank img { width: 34px; height: 48px; object-fit: cover; border-radius: 5px; }
.adm-rank a { color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-rank b { color: #fff; text-align: right; }
.adm-rank__bar { height: 14px; display: flex; align-items: center; }
.adm-card.is-revealed .adm-rank .bars__bar { width: var(--v); }

/* sanatate: inel */
.adm-health { display: flex; align-items: center; gap: 22px; }
.adm-ring {
  position: relative;
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3ecf8e;
}
.adm-ring--big { width: 150px; height: 150px; }
.adm-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.adm-ring circle { fill: none; stroke-width: 5; }
.adm-ring circle:first-child { stroke: rgba(255,255,255,0.08); }
.adm-ring circle:last-child {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-dasharray: 163.4;
  stroke-dashoffset: 163.4;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.is-revealed .adm-ring circle:last-child,
.adm-ring.is-revealed circle:last-child,
.adm-audit-head.is-revealed .adm-ring circle:last-child {
  stroke-dashoffset: calc(163.4 - 163.4 * var(--p) / 100);
}
.adm-ring b { position: relative; font-size: 30px; font-weight: 600; color: #fff; }
.adm-ring--big b { font-size: 42px; }
.adm-ring small { position: relative; font-size: 14px; color: #c7c7c7; align-self: center; margin-top: 8px; }
.adm-ring.is-mid { color: #f5c451; }
.adm-ring.is-bad { color: #ff5860; }

.adm-issues { flex: 1; margin: 0; padding: 0; list-style: none; }
.adm-issues li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
}
.adm-issues a { display: flex; align-items: center; gap: 10px; color: #c7c7c7; }
.adm-issues i { width: 8px; height: 8px; border-radius: 50%; background-color: #3ecf8e; }
.adm-issues .is-eroare i { background-color: #ff5860; }
.adm-issues .is-avertisment i { background-color: #f5c451; }
.adm-issues b { color: #fff; }

.adm-recent { margin: 0; padding: 0; list-style: none; }
.adm-recent li { display: flex; gap: 12px; align-items: center; padding: 6px 0; }
.adm-recent img { width: 40px; height: 56px; object-fit: cover; border-radius: 6px; }
.adm-recent span { display: flex; flex-direction: column; min-width: 0; }
.adm-recent a { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-recent small { font-size: 12px; color: #8d8d96; }

.adm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.adm-chips a {
  display: inline-flex;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 13px;
  color: #ff8cc2;
  background-color: rgba(255,85,165,0.1);
  border: 1px solid rgba(255,85,165,0.3);
}
.adm-chips b { color: #fff; }

.adm-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

/*---------- audit ----------*/
.adm-audit-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-bottom: 20px;
  padding: 24px 28px;
  border-radius: 18px;
  background: radial-gradient(ellipse at 0% 50%, rgba(255,85,165,0.18) 0%, rgba(255,85,165,0) 55%), #26262c;
  border: 1px solid rgba(255,255,255,0.06);
}
.adm-audit-head__text { flex: 1; min-width: 240px; }
.adm-audit-head__text h2 { margin: 0 0 4px; font-size: 24px; font-weight: 500; color: #fff; }
.adm-audit-head__text p { margin: 0 0 14px; font-size: 14px; }
.adm-audit-head__actions { display: flex; flex-direction: column; gap: 10px; }
.adm-levels { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.adm-levels li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 10px;
  background-color: rgba(255,255,255,0.04);
  border-left: 3px solid #3ecf8e;
}
.adm-levels li.is-eroare { border-color: #ff5860; }
.adm-levels li.is-avertisment { border-color: #f5c451; }
.adm-levels li.is-info { border-color: #5ea0ff; }
.adm-levels b { font-size: 20px; color: #fff; }
.adm-levels span { font-size: 13px; }

.adm-live-check { margin-bottom: 20px; }
.adm-progress {
  height: 8px;
  border-radius: 4px;
  background-color: rgba(255,255,255,0.06);
  overflow: hidden;
}
.adm-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #ff5860 0%, #ff55a5 100%);
  box-shadow: 0 0 10px rgba(255,85,165,0.7);
  transition: width 0.3s ease;
}
.adm-live-check__counts { display: flex; gap: 20px; margin: 12px 0; font-size: 14px; }
.adm-live-check__counts b { font-size: 18px; color: #fff; }
.adm-live-check__counts .is-ok b { color: #3ecf8e; }
.adm-live-check__counts .is-bad b { color: #ff5860; }
.adm-live-check__log {
  max-height: 220px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.adm-live-check__log li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  animation: film-details-in 0.3s ease both;
}
.adm-live-check__log .is-ok { color: #3ecf8e; }
.adm-live-check__log .is-bad { color: #ff5860; }

.adm-compl { margin: 0; padding: 0; list-style: none; }
.adm-compl li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.adm-compl__title { color: #fff !important; font-size: 14px; }
.adm-compl__title small { color: #8d8d96; }
.adm-compl__pct { font-weight: 700; }
.adm-compl__missing { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; }
.adm-compl__missing em {
  font-style: normal;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 8px;
  background-color: rgba(255,88,96,0.12);
  color: #ff8c8f;
}
.is-good { color: #3ecf8e; }
.is-mid { color: #f5c451; }
.is-bad { color: #ff5860; }

.adm-checks { display: flex; flex-direction: column; gap: 10px; }
.adm-check {
  border-radius: 12px;
  background-color: #26262c;
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid #5ea0ff;
  overflow: hidden;
}
.adm-check.is-eroare { border-left-color: #ff5860; }
.adm-check.is-avertisment { border-left-color: #f5c451; }
.adm-check.is-pass { border-left-color: #3ecf8e; opacity: 0.7; }
.adm-check[hidden] { display: none; }
.adm-check summary {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  grid-template-areas: "dot title count" "dot desc count";
  gap: 0 12px;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
}
.adm-check summary::-webkit-details-marker { display: none; }
.adm-check summary i { grid-area: dot; width: 8px; height: 8px; border-radius: 50%; background-color: #5ea0ff; }
.adm-check.is-eroare summary i { background-color: #ff5860; }
.adm-check.is-avertisment summary i { background-color: #f5c451; }
.adm-check.is-pass summary i { background-color: #3ecf8e; }
.adm-check__title { grid-area: title; color: #fff; font-size: 15px; }
.adm-check__desc { grid-area: desc; font-size: 12px; color: #8d8d96; }
.adm-check summary b { grid-area: count; font-size: 18px; color: #fff; }
.adm-check__list {
  margin: 0;
  padding: 0 16px 12px;
  list-style: none;
  animation: film-details-in 0.35s ease both;
}
.adm-check__list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
}
.adm-check__list img { width: 30px; height: 42px; object-fit: cover; border-radius: 4px; }
.adm-check__name { color: #fff !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-check__detail { color: #a8a8b1; font-size: 13px; }
@media (max-width: 767px) {
  .adm-check__list li { grid-template-columns: 30px minmax(0, 1fr) 24px; }
  .adm-check__detail { grid-column: 2; }
}

/*---------- lista de filme ----------*/
.adm-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.adm-toolbar__search { flex: 1; min-width: 240px; }
.adm-toolbar__search input { height: 50px; }
.adm-toolbar__sort { width: 220px; }
.adm-films {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.adm-film {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 12px;
  background-color: #26262c;
  border: 1px solid rgba(255,255,255,0.06);
  animation: catalog-card-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 25ms);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.adm-film:hover { border-color: rgba(255,85,165,0.35); transform: translateY(-2px); }
.adm-film[hidden] { display: none; }
.adm-film > img { width: 54px; height: 76px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.adm-film__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.adm-film__title { color: #fff !important; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-film__meta { font-size: 12px; color: #8d8d96; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-film__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.adm-pct, .adm-tag {
  font-style: normal;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 7px;
  background-color: rgba(255,255,255,0.06);
  color: #a8a8b1;
}
.adm-pct { font-weight: 700; }
.adm-tag.is-ok { background-color: rgba(62,207,142,0.12); color: #3ecf8e; }
.adm-tag.is-bad { background-color: rgba(255,88,96,0.14); color: #ff8c8f; }
.adm-tag.is-mid { background-color: rgba(245,196,81,0.14); color: #f5c451; }
.adm-film__actions { display: flex; flex-direction: column; gap: 6px; }
.adm-icon-btn {
  display: flex;
  padding: 7px;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.05);
  transition: background-color 0.2s ease;
}
.adm-icon-btn svg { width: 16px; height: 16px; fill: #c7c7c7; }
.adm-icon-btn:hover { background-color: rgba(255,85,165,0.25); }
.adm-icon-btn:hover svg { fill: #fff; }

/*---------- formularul filmului ----------*/
.adm-tmdb { margin-bottom: 18px; }
.adm-tmdb__bar { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-tmdb__bar .catalog-search { flex: 1; min-width: 220px; }
.adm-tmdb__bar .catalog-search input { height: 50px; }
.adm-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.09);
  background-color: #1f1f24;
  color: #fff;
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.6s ease;
}
.adm-input:focus { outline: none; border-color: rgba(255,85,165,0.6); box-shadow: 0 0 0 3px rgba(255,85,165,0.12); }
textarea.adm-input { resize: vertical; line-height: 1.6; }
select.adm-input { -webkit-appearance: none; appearance: none; cursor: pointer; }
.adm-input--year { width: 100px; min-height: 50px; }
.adm-input.is-filled { background-color: rgba(255,85,165,0.14); border-color: rgba(255,85,165,0.5); }
.adm-input.is-invalid { border-color: #ff5860; }

.adm-tmdb__results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.adm-tmdb__results:empty { display: none; }
.adm-tmdb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  text-align: left;
  color: #c7c7c7;
  background-color: #1f1f24;
  border: 1px solid rgba(255,255,255,0.07);
  animation: catalog-card-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 40ms);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.adm-tmdb-card:hover { border-color: rgba(255,85,165,0.5); transform: translateY(-3px); }
.adm-tmdb-card.is-chosen { border-color: #ff55a5; box-shadow: 0 0 0 2px rgba(255,85,165,0.4); }
.adm-tmdb-card img, .adm-tmdb-card .adm-tmdb-card__noimg {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  background-color: #2b2b31;
}
.adm-tmdb-card b { color: #fff; font-size: 14px; font-weight: 500; line-height: 1.3; }
.adm-tmdb-card small { font-size: 12px; color: #8d8d96; }
.adm-tmdb-card__exists {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: #1b1b20;
  background-color: #f5c451;
}
.adm-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  font-size: 14px;
}
.adm-loading:before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,85,165,0.25);
  border-top-color: #ff55a5;
  animation: catalog-spin 0.8s linear infinite;
}

.adm-film-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 18px;
}
@media (max-width: 1199px) {
  .adm-film-form__grid { grid-template-columns: minmax(0, 1fr); }
}
.adm-film-form__side { display: flex; flex-direction: column; gap: 18px; }
.adm-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
@media (max-width: 575px) {
  .adm-fields { grid-template-columns: minmax(0, 1fr); }
}
.adm-field { position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.adm-field--wide { grid-column: 1 / -1; }
.adm-field > span { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #9d9da6; }
.adm-field > span b { color: #fff; font-size: 15px; }
.adm-field > span em { font-style: normal; text-transform: none; letter-spacing: 0; color: #8d8d96; }
.adm-suggest {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: #ff8cc2;
  background-color: rgba(255,85,165,0.1);
  border: 1px dashed rgba(255,85,165,0.4);
}
.adm-range { width: 100%; accent-color: #ff55a5; }

.adm-genres { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-genre { margin: 0; }
.adm-genre input { position: absolute; opacity: 0; pointer-events: none; }
.adm-genre span {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 13px;
  color: #a8a8b1;
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: 0.2s ease;
}
.adm-genre input:checked + span {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, #ff5860 0%, #ff55a5 100%);
  animation: adm-pop 0.3s ease;
}
.adm-genre input:focus-visible + span { outline: 2px solid #ff55a5; outline-offset: 2px; }
.adm-genre.is-odd span { border-style: dashed; border-color: rgba(245,196,81,0.6); }
@keyframes adm-pop {
  50% { transform: scale(1.08); }
}

.adm-trailer-preview { margin-top: 12px; }
.adm-trailer-preview img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.adm-trailer-preview p { margin: 6px 0 0; font-size: 13px; }

.adm-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.adm-image--features { grid-row: span 2; }
.adm-image { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.adm-image__frame {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background-color: #1f1f24;
  border: 1px dashed rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.adm-image__frame img { width: 100%; height: 100%; object-fit: cover; animation: film-fade-in 0.5s ease both; }
.adm-image__empty { font-size: 12px; color: #6f6f78; }
.adm-image__drop {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  color: #fff;
  background-color: rgba(255,85,165,0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.adm-image.is-drag .adm-image__drop { opacity: 1; }
.adm-image.is-busy .adm-image__frame:after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  animation: catalog-spin 0.8s linear infinite;
}
.adm-image__info { display: flex; justify-content: space-between; font-size: 12px; }
.adm-image__info b { color: #fff; font-weight: 500; }
.adm-image__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-mini {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 12px;
  color: #fff;
  background-color: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: 0.2s ease;
}
.adm-mini:hover { background-color: rgba(255,85,165,0.3); border-color: rgba(255,85,165,0.5); }
.adm-mini[data-img-tmdb]:not([hidden]) { border-color: rgba(255,85,165,0.5); color: #ff8cc2; }

.adm-savebar {
  position: fixed;
  left: 250px;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 30px;
  background-color: rgba(24,24,28,0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.adm-savebar__state { margin-right: auto; font-size: 13px; color: #8d8d96; }
.adm-savebar__state.is-dirty { color: #f5c451; }
@media (max-width: 991px) {
  .adm-savebar { left: 0; padding: 12px 16px; }
  .adm-savebar__state { display: none; }
}

/*---------- instrumente ----------*/
.adm-tools {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}
.adm-tool {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px;
  border-radius: 16px;
  background-color: #26262c;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.adm-tool:hover { transform: translateY(-3px); border-color: rgba(255,85,165,0.3); }
.adm-tool__icon {
  display: flex;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,88,96,0.25) 0%, rgba(255,85,165,0.25) 100%);
}
.adm-tool__icon svg { width: 24px; height: 24px; fill: #ff8cc2; }
.adm-tool h3 { margin: 0; font-size: 17px; font-weight: 500; color: #fff; }
.adm-tool p { margin: 0; font-size: 13px; line-height: 1.6; }
.adm-tool__state { margin-top: auto; font-size: 13px; color: #a8a8b1; }
.adm-tool__row { display: flex; gap: 8px; }
.adm-tool .film-btn { height: 42px; }
.adm-tool button:disabled { opacity: 0.45; pointer-events: none; }

/*---------- securitate, sistem ----------*/
.adm-list { margin: 0; padding: 0; list-style: none; }
.adm-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
}
.adm-list .adm-mini { margin-left: auto; }
.adm code { color: #ff8cc2; background: rgba(255,255,255,0.05); padding: 1px 6px; border-radius: 5px; }
.adm-checklist { margin: 0; padding: 0; list-style: none; }
.adm-checklist li { position: relative; padding: 6px 0 6px 28px; font-size: 14px; }
.adm-checklist li:before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  color: #1b1b20;
  background-color: #3ecf8e;
}
.adm-checklist--plain li:before { content: ''; width: 6px; height: 6px; top: 13px; left: 6px; background-color: #ff55a5; }
.adm-checklist--plain { margin-top: 14px; }
.adm-table-wrap { overflow-x: auto; }
.adm-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.adm-table th {
  padding: 8px 10px;
  text-align: left;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8d8d96;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.adm-table td { padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,0.04); white-space: nowrap; }
.adm-table tr:hover td { background-color: rgba(255,255,255,0.02); }

/*---------- notificari ----------*/
.adm-toast {
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 3000;
  max-width: 380px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  color: #fff;
  background-color: #2b2b31;
  border-left: 4px solid #3ecf8e;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.adm-toast.is-visible { opacity: 1; transform: none; }
.adm-toast.is-error { border-left-color: #ff5860; }

@media (prefers-reduced-motion: reduce) {
  .adm [data-reveal] { opacity: 1; transform: none; transition: none; }
  .adm-film, .adm-tmdb-card, .adm-nav__badge, .adm-live i { animation: none; }
}

/*==============================================================
	AUTENTIFICARE
==============================================================*/
.login {
  position: relative;
  min-height: calc(100vh - 70px);
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  overflow: hidden;
  background-color: #141417;
}
/* coloane de postere care curg incet in fundal */
.login__posters {
  position: absolute;
  inset: -10%;
  display: flex;
  gap: 16px;
  justify-content: center;
  transform: rotate(-8deg);
  opacity: 0.22;
  filter: saturate(0.7);
}
.login__posters:after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(20,20,23,0.4) 0%, #141417 75%);
}
.login__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 150px;
  flex-shrink: 0;
  animation: login-col 60s linear infinite;
  animation-direction: alternate;
  animation-delay: calc(var(--k) * -9s);
}
.login__col:nth-child(even) { animation-direction: alternate-reverse; }
.login__col img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; }
@keyframes login-col {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.login__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 36px 32px 30px;
  border-radius: 20px;
  text-align: center;
  background-color: rgba(34,34,39,0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
  animation: person-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.login__card.is-error { animation: login-shake 0.5s ease both; }
@keyframes login-shake {
  15%, 55% { transform: translateX(-10px); }
  35%, 75% { transform: translateX(10px); }
  90% { transform: translateX(-3px); }
}
.login__icon {
  display: inline-flex;
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5860 0%, #ff55a5 100%);
  box-shadow: 0 10px 30px rgba(255,85,165,0.45);
}
.login__icon svg { width: 30px; height: 30px; fill: #fff; }
.login__icon.is-locked { background: #3a3a42; box-shadow: none; animation: login-shake 0.6s ease 0.3s both; }
.login__title { margin: 0; font-size: 26px; font-weight: 500; color: #fff; }
.login__sub { margin: 4px 0 22px; font-size: 14px; color: #9d9da6; }
.login__error {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: #ffb3b5;
  background-color: rgba(255,88,96,0.12);
  border: 1px solid rgba(255,88,96,0.35);
  text-align: left;
}
.login__error span { display: block; margin-top: 4px; font-size: 12px; color: #f5c451; }
.login__form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.login__field { position: relative; margin: 0; }
.login__field input {
  width: 100%;
  height: 56px;
  padding: 20px 46px 6px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background-color: #1b1b20;
  font-size: 16px;
  color: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.login__field input:focus { outline: none; border-color: rgba(255,85,165,0.6); box-shadow: 0 0 0 4px rgba(255,85,165,0.12); }
/* eticheta urca deasupra textului cand campul e activ sau completat */
.login__field span {
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 15px;
  color: #8d8d96;
  pointer-events: none;
  transition: 0.2s ease;
}
.login__field input:focus + span,
.login__field input:not(:placeholder-shown) + span {
  top: 7px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff8cc2;
}
.login__eye {
  position: absolute;
  right: 10px;
  top: 14px;
  display: flex;
  padding: 4px;
  background: none;
  border: none;
}
.login__eye svg { width: 20px; height: 20px; fill: #8d8d96; }
.login__eye.is-on svg { fill: #ff55a5; }
.login__attempts { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.login__attempts span { width: 22px; height: 5px; border-radius: 3px; background-color: rgba(255,255,255,0.1); }
.login__attempts span.is-on { background-color: #3ecf8e; }
.login__attempts em { margin-left: 6px; font-style: normal; color: #8d8d96; }
.login__submit { justify-content: center; width: 100%; height: 52px; }
.login__blocked { padding: 8px 0 18px; }
.login__blocked strong { display: block; font-size: 18px; color: #ff8c8f; }
.login__blocked p { margin: 8px 0; font-size: 14px; }
.login__timer { font-size: 30px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.login__blocked small { color: #8d8d96; }
.login__back { justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .login__col, .login__card { animation: none; }
}
/* butoanele pastreaza textul alb (culoarea linkurilor din panou nu se aplica lor) */
.adm .film-btn,
.adm .film-btn:hover { color: #fff; }
.adm-check__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 42px;
  border-radius: 4px;
  background-color: rgba(94,160,255,0.12);
}
.adm-check__icon svg { width: 18px; height: 18px; fill: #5ea0ff; }
/* audit: filtrele, la distanta egala intre panourile de sus si lista verificarilor */
.adm-audit-filter {
  align-items: center;
  margin: 26px 0;
}

/*---------- fereastra (modal) ----------*/
.adm-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(10,10,12,0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.adm-modal[hidden] { display: none; }
.adm-modal.is-open { opacity: 1; }
.adm-modal__box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  max-width: 820px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 18px;
  background-color: #26262c;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.adm-modal.is-open .adm-modal__box { transform: none; }
@media (max-width: 700px) {
  .adm-modal__box { grid-template-columns: minmax(0, 1fr); }
}
.adm-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: #fff;
  background-color: rgba(0,0,0,0.4);
  border: none;
}
.adm-modal__close:hover { background-color: rgba(255,85,165,0.6); }
.adm-modal__img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 20px;
  background:
    repeating-conic-gradient(#2b2b31 0% 25%, #232328 0% 50%) 50% / 20px 20px;
}
.adm-modal__img img {
  max-width: 100%;
  max-height: 60vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.adm-modal__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 22px;
}
.adm-modal__body h3 { margin: 0; font-size: 20px; font-weight: 500; color: #fff; word-break: break-all; }
.adm-modal__facts { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.adm-modal__facts li { display: flex; gap: 10px; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.adm-modal__facts b { width: 90px; font-weight: 400; color: #8d8d96; }
.adm-modal__warn {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: #f5c451;
  background-color: rgba(245,196,81,0.1);
  border: 1px solid rgba(245,196,81,0.35);
}
.adm-modal__check { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; cursor: pointer; }
.adm-modal__check[hidden] { display: none; }
.adm-modal__check input { accent-color: #ff55a5; width: 16px; height: 16px; }
.adm-modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: auto; }
.adm-btn-danger {
  border: none;
  background: linear-gradient(90deg, #d93a4a 0%, #ff5860 100%);
  box-shadow: 0 10px 26px rgba(255,88,96,0.35);
}
.adm-btn-danger:hover { background: linear-gradient(90deg, #d93a4a 0%, #ff5860 100%); box-shadow: 0 14px 30px rgba(255,88,96,0.5); }
.adm-btn-danger:disabled { opacity: 0.6; }

/* numele imaginii din lista: arata ca un link, deschide fereastra */
.adm-orphan {
  padding: 0;
  text-align: left;
  background: none;
  border: none;
  color: #ff8cc2 !important;
  text-decoration: underline dotted;
  cursor: zoom-in;
}
.adm-orphan:hover { color: #fff !important; }
.adm-check__list li.is-removing {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
/* tema ascunde casutele de bifare; aici trebuie sa se vada */
.adm-modal__check input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: auto;
  position: static;
  display: inline-block;
  opacity: 1;
  visibility: visible;
  margin: 0;
}
.adm-modal__check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 2px solid rgba(255,255,255,0.35);
  background-color: #1f1f24;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.adm-modal__check input[type="checkbox"]:checked {
  border-color: #ff55a5;
  background: #ff55a5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2Z'/%3E%3C/svg%3E") no-repeat center / 16px;
}
.adm-modal__check input[type="checkbox"]:focus-visible {
  outline: 2px solid #ff55a5;
  outline-offset: 2px;
}
/* formatul fara poza arata sablonul, atenuat, cu eticheta */
.adm-image__frame img.is-template { opacity: 0.55; filter: grayscale(0.3); }
.adm-image__badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  color: #1b1b20;
  background-color: #f5c451;
}

/*---------- serii si genuri ----------*/
.adm-addbar { margin-bottom: 18px; }
.adm-addbar__row { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-addbar__row .adm-input { flex: 1; min-width: 220px; }
.adm-inline {
  min-width: 0;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #fff;
  font-size: 16px;
  transition: border-color 0.2s ease, background-color 0.4s ease;
}
.adm-inline:hover { border-color: rgba(255,255,255,0.12); }
.adm-inline:focus { outline: none; border-color: rgba(255,85,165,0.6); background-color: #1f1f24; }
.adm-inline.is-saving { opacity: 0.6; }
.adm-inline.is-filled { background-color: rgba(62,207,142,0.18); border-color: rgba(62,207,142,0.5); }
.adm-icon-btn { border: none; cursor: pointer; }
.adm-icon-btn--danger:hover { background-color: rgba(255,88,96,0.35); }
.is-removing { opacity: 0; transform: scale(0.96); transition: opacity 0.35s ease, transform 0.35s ease; }

.adm-series { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px; margin-top: 12px; align-items: start; }
.adm-serie {
  padding: 14px;
  border-radius: 14px;
  background-color: #26262c;
  border: 1px solid rgba(255,255,255,0.06);
  animation: catalog-card-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 30ms);
}
.adm-serie[hidden] { display: none; }
.adm-serie__head { display: flex; align-items: center; gap: 10px; }
.adm-serie__head .adm-inline { flex: 1; font-weight: 500; }
.adm-serie__stack { position: relative; flex-shrink: 0; width: 58px; height: 52px; }
.adm-serie__stack img {
  position: absolute;
  top: 0;
  left: calc(var(--k) * 12px);
  width: 34px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transform: rotate(calc((var(--k) - 1) * 6deg));
}
.adm-serie__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 50px;
  border-radius: 5px;
  border: 1px dashed rgba(255,255,255,0.2);
  font-size: 12px;
  color: #8d8d96;
}
.adm-serie__count { font-size: 12px; color: #8d8d96; white-space: nowrap; }
.adm-serie__films { margin-top: 10px; }
.adm-serie__films summary { font-size: 13px; color: #ff8cc2; cursor: pointer; }
.adm-serie__list { margin: 8px 0; padding: 0; list-style: none; counter-reset: cap; }
.adm-serie__list li {
  display: grid;
  grid-template-columns: 22px 28px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
  counter-increment: cap;
}
.adm-serie__list li:before { content: counter(cap); font-size: 12px; font-weight: 700; color: #ff8cc2; text-align: center; }
.adm-serie__list img { width: 28px; height: 40px; object-fit: cover; border-radius: 4px; }
.adm-serie__list a { color: #fff !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-serie__list small { color: #8d8d96; }
.adm-serie__add { display: block; margin: 6px 0 0; }
.adm-serie__add .adm-input { min-height: 40px; font-size: 14px; }
.adm-serie__suggest { margin: 6px 0 0; padding: 4px; list-style: none; border-radius: 10px; background-color: #1f1f24; border: 1px solid rgba(255,255,255,0.08); }
.adm-serie__suggest[hidden] { display: none; }
.adm-serie__suggest button {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 2px 10px;
  width: 100%;
  padding: 5px 8px;
  border: none;
  border-radius: 8px;
  text-align: left;
  color: #fff;
  background: transparent;
  font-size: 13px;
}
.adm-serie__suggest button:hover { background-color: rgba(255,85,165,0.15); }
.adm-serie__suggest img { grid-row: span 2; width: 26px; height: 38px; object-fit: cover; border-radius: 4px; }
.adm-serie__suggest small { color: #f5c451; font-size: 11px; }
.adm-serie__suggest .is-empty { padding: 8px; font-size: 13px; color: #8d8d96; }

.adm-genres-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.adm-genre-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background-color: #26262c;
  border: 1px solid rgba(255,255,255,0.06);
  animation: catalog-card-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 25ms);
}
.adm-genre-card .adm-inline { flex: 1; }
.adm-genre-card__count {
  padding: 2px 9px;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
  background-color: rgba(255,85,165,0.12);
}
.adm-variants { margin-bottom: 18px; border-color: rgba(245,196,81,0.3); }
.adm-variants__list { margin: 0; padding: 0; list-style: none; }
.adm-variants__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.adm-variants__tag { padding: 3px 12px; border-radius: 14px; border: 1px dashed rgba(245,196,81,0.6); color: #f5c451; font-size: 14px; }
.adm-variants__films { font-size: 12px; color: #8d8d96; }
.adm-variants__arrow { color: #8d8d96; }
.adm-variants__select { width: auto; min-width: 200px; min-height: 36px; padding: 4px 10px; font-size: 14px; }
.adm-mini--primary { border-color: rgba(255,85,165,0.6); background-color: rgba(255,85,165,0.2); }

/*==============================================================
	POEZII (administrare)
==============================================================*/
.adm-nav__group {
  display: block;
  margin: 14px 14px 4px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f6f78;
}
.adm-side { overflow-y: auto; }
.adm-poem__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,88,96,0.25) 0%, rgba(255,85,165,0.25) 100%);
}
.adm-poem__icon.is-video { background: linear-gradient(135deg, rgba(120,90,255,0.3) 0%, rgba(169,155,255,0.2) 100%); }
.adm-poem__icon svg { width: 22px; height: 22px; fill: #ff8cc2; }
.adm-poem__icon.is-video svg { fill: #a99bff; }
.adm-poem__icon:empty:before { content: '\266A'; color: #ff8cc2; font-size: 20px; }
.adm-poem__icon.is-video:empty:before { content: '\25B6'; color: #a99bff; font-size: 16px; }
.adm-unreg { margin-bottom: 14px; border-color: rgba(245,196,81,0.3); }

.adm-upload__zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 16px;
  border-radius: 14px;
  border: 2px dashed rgba(255,85,165,0.35);
  background-color: rgba(255,85,165,0.04);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}
.adm-upload__zone:hover,
.adm-upload__zone.is-drag { border-color: #ff55a5; background-color: rgba(255,85,165,0.1); transform: scale(1.01); }
.adm-upload__zone.is-busy { pointer-events: none; opacity: 0.6; }
.adm-upload__zone svg { width: 34px; height: 34px; fill: #ff8cc2; }
.adm-upload.has-file .adm-upload__zone { padding: 14px; }
.adm-upload__zone strong { color: #fff; font-weight: 500; }
.adm-upload__zone span { font-size: 12px; color: #8d8d96; }
.adm-upload__progress {
  position: relative;
  height: 26px;
  margin-top: 12px;
  border-radius: 13px;
  background-color: rgba(255,255,255,0.06);
  overflow: hidden;
}
.adm-upload__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ff5860 0%, #ff55a5 100%);
  transition: width 0.3s ease;
}
.adm-upload__progress em {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 12px;
  color: #fff;
}
.adm-upload__file { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.adm-upload__file span:last-child { display: flex; flex-direction: column; min-width: 0; }
.adm-upload__file b { color: #fff; font-weight: 500; word-break: break-all; }
.adm-upload__file small { font-size: 12px; color: #8d8d96; }
.adm-poem-preview { margin-top: 16px; }
.adm-poem-preview audio,
.adm-poem-preview video { width: 100%; border-radius: 10px; background: #000; }
.adm-poem-preview video { max-height: 340px; }
.adm-poem-wave { position: relative; margin-top: 10px; }
.adm-poem-wave canvas { display: block; width: 100%; height: 70px; cursor: pointer; }
.adm-poem-wave { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.adm-poem-wave canvas { align-self: stretch; }
.adm-poem-text {
  font-family: Georgia, Cambria, 'Palatino Linotype', 'DejaVu Serif', serif;
  font-size: 17px;
  line-height: 1.7;
}
.adm-fields--one { grid-template-columns: minmax(0, 1fr); }
.adm-input--small { min-height: 38px; margin-top: 8px; font-size: 14px; }
.adm-poem-rights { margin: 0; padding: 8px 12px; border-radius: 8px; font-size: 13px; }
.adm-poem-rights.is-ok { color: #3ecf8e; background-color: rgba(62,207,142,0.1); }
.adm-poem-rights.is-warn { color: #f5c451; background-color: rgba(245,196,81,0.1); }

/* comutatoare */
.adm-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 12px;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
}
.adm-switch input { position: absolute; opacity: 0; pointer-events: none; }
.adm-switch span {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background-color: rgba(255,255,255,0.14);
  transition: background-color 0.25s ease;
}
.adm-switch span:after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #fff;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.adm-switch input:checked + span { background: linear-gradient(90deg, #ff5860 0%, #ff55a5 100%); }
.adm-switch input:checked + span:after { transform: translateX(18px); }
.adm-switch input:focus-visible + span { outline: 2px solid #ff55a5; outline-offset: 2px; }

/* sincronizarea */
.adm-sync { margin-top: 18px; }
.adm-sync__intro p { font-size: 14px; line-height: 1.6; }
.adm-sync__intro kbd,
.adm-sync__big kbd {
  padding: 1px 7px;
  border-radius: 5px;
  font-size: 12px;
  color: #fff;
  background-color: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
}
.adm-sync__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
#sync-state.is-dirty { color: #f5c451; }
.adm-sync__tap {
  position: sticky;
  top: 80px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 14px;
  background-color: rgba(34,34,39,0.95);
  border: 1px solid rgba(255,85,165,0.4);
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
  animation: film-details-in 0.3s ease both;
}
.adm-sync__tap[hidden] { display: none; }
.adm-sync__big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 26px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff5860 0%, #ff55a5 100%);
  box-shadow: 0 10px 26px rgba(255,85,165,0.45);
  transition: transform 0.12s ease;
}
.adm-sync__big:active { transform: scale(0.95); }
.adm-sync__now { flex: 1; min-width: 200px; display: flex; flex-direction: column; }
.adm-sync__now small { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #8d8d96; }
.adm-sync__now strong { font-family: Georgia, 'DejaVu Serif', serif; font-size: 20px; font-weight: 400; color: #fff; }
.adm-sync__list { margin: 0; padding: 0; list-style: none; counter-reset: vers; }
.adm-sync__list li {
  display: grid;
  grid-template-columns: 28px 30px 84px 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  counter-increment: vers;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.adm-sync__list li:before { content: counter(vers); font-size: 12px; color: #6f6f78; text-align: right; }
.adm-sync__list li.is-strofa { margin-top: 14px; }
.adm-sync__list li.is-set .adm-sync__time { color: #3ecf8e; }
.adm-sync__list li.is-next { background-color: rgba(255,85,165,0.12); box-shadow: inset 3px 0 0 #ff55a5; animation: adm-next 1.2s ease-in-out infinite; }
.adm-sync__list li.is-flash { background-color: rgba(62,207,142,0.25); }
.adm-sync__list li.is-live { background-color: rgba(255,85,165,0.16); }
.adm-sync__list li.is-live .adm-sync__verse { color: #fff; }
@keyframes adm-next {
  50% { background-color: rgba(255,85,165,0.2); }
}
.adm-sync__play {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  font-size: 11px;
  color: #fff;
  background-color: rgba(255,255,255,0.08);
}
.adm-sync__play:hover { background-color: rgba(255,85,165,0.4); }
.adm-sync__time {
  width: 84px;
  padding: 5px 8px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.1);
  background-color: #1f1f24;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: #c7c7c7;
  text-align: right;
}
.adm-sync__nudge { display: flex; gap: 2px; }
.adm-sync__nudge button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: none;
  color: #fff;
  background-color: rgba(255,255,255,0.06);
}
.adm-sync__nudge button:hover { background-color: rgba(255,85,165,0.35); }
.adm-sync__verse { font-family: Georgia, 'DejaVu Serif', serif; font-size: 15px; color: #c7c7c7; }
@media (max-width: 767px) {
  .adm-sync__list li { grid-template-columns: 30px 70px minmax(0, 1fr); }
  .adm-sync__list li:before, .adm-sync__nudge, .adm-sync__words { display: none; }
}

/* poeti si teme */
.adm-meta-add { margin-bottom: 8px; }
.adm-meta-list { margin: 14px 0 0; padding: 0; list-style: none; }
.adm-meta-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.adm-meta-list li .adm-inline[data-camp="nume"] { flex: 1; min-width: 160px; }
.adm-inline--year { width: 74px; text-align: center; font-size: 14px; }
.adm-meta-dash, .adm-meta-hash { color: #8d8d96; }
.adm-sync__shift { margin: 4px 0 10px; font-size: 13px; }
.adm-sync__warn {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: #f5c451;
  background-color: rgba(245,196,81,0.1);
  border: 1px solid rgba(245,196,81,0.35);
}
.adm-sync__acts { display: flex; gap: 4px; }
.adm-sync__list li.is-suspect { box-shadow: inset 3px 0 0 #f5c451; background-color: rgba(245,196,81,0.08); }
.adm-sync__list li.is-suspect .adm-sync__time { color: #f5c451; }
@media (max-width: 767px) { .adm-sync__acts { display: none; } }

/*---------- editorul rich text al descrierii (content/js/rte.js) ----------*/
.rte-wrap {
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  background-color: #1f1f24;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.6s ease;
}
.rte-wrap:focus-within { border-color: rgba(255,85,165,0.6); box-shadow: 0 0 0 3px rgba(255,85,165,0.12); }
.rte-wrap.is-filled { background-color: rgba(255,85,165,0.14); border-color: rgba(255,85,165,0.5); }
.rte-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  padding: 6px;
  background-color: #18181c;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.rte-toolbar button {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #c7c7c7;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.rte-toolbar button:hover { background-color: rgba(255,85,165,0.18); color: #fff; }
.rte-toolbar button.activ { background-color: rgba(255,85,165,0.85); border-color: transparent; color: #fff; }
.rte-toolbar button:disabled { opacity: 0.3; cursor: not-allowed; background: transparent; }
.rte-toolbar button[data-cmd="episoade"] { border-color: rgba(255,85,165,0.4); color: #ff9fcd; }
.rte-sep { width: 1px; height: 20px; background-color: rgba(255,255,255,0.1); margin: 0 4px; }
.rte-editor {
  min-height: 180px;
  max-height: 560px;
  overflow-y: auto;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
  outline: none;
}
.rte-editor p { margin: 0 0 10px; }
.rte-editor h3, .rte-editor h4 { margin: 12px 0 6px; font-weight: 600; color: #fff; }
.rte-editor h3 { font-size: 20px; }
.rte-editor h4 { font-size: 17px; }
.rte-editor ul, .rte-editor ol { margin: 0 0 10px; padding-left: 25px; }
.rte-editor ul { list-style: disc; }
.rte-editor ol { list-style: decimal; }
.rte-editor blockquote { margin: 0 0 10px; padding: 6px 14px; border-left: 3px solid #ff55a5; color: #c7c7c7; background-color: rgba(255,85,165,0.06); }
.rte-editor a { color: #ff55a5; text-decoration: underline; }
.rte-editor table { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 14px; }
.rte-editor th, .rte-editor td { border: 1px solid rgba(255,255,255,0.1); padding: 5px 9px; min-width: 40px; vertical-align: top; }
.rte-editor th { background-color: rgba(255,85,165,0.16); color: #fff; font-weight: 500; text-align: left; }
.rte-editor tbody tr:nth-child(even) td { background-color: rgba(255,255,255,0.025); }
.rte-editor td:first-child { white-space: nowrap; }
.rte-editor details { margin: 0 0 12px; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 0 10px 2px; }
.rte-editor summary { display: block; font-weight: 600; padding: 8px 0; cursor: text; color: #fff; list-style: none; }
.rte-editor summary::-webkit-details-marker { display: none; }
.rte-editor summary::before { content: '\25BE'; display: inline-block; width: 18px; color: #ff55a5; }
.rte-editor details table { margin-bottom: 8px; }
.rte-wrap .rte-source {
  width: 100%;
  min-height: 180px;
  border: 0;
  border-radius: 0;
  padding: 12px 14px;
  background-color: #141418;
  color: #e6e6e6;
  font-family: Consolas, 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  box-shadow: none;
}

/* butonul "Verifica linkul" din cardul Trailer */
.adm-trailer-check { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.adm-trailer-check .adm-mini:disabled { opacity: 0.6; cursor: wait; }
.adm-trailer-check__rez { font-size: 13px; line-height: 1.4; color: #9d9da6; }
.adm-trailer-check__rez.is-ok { color: #3ecf8e; }
.adm-trailer-check__rez.is-bad { color: #ff5860; }
.adm-trailer-check__rez.is-warn { color: #f5b942; }
.adm-trailer-check .adm-mini[hidden] { display: none; }
