/* ===================================================
   Cine Mitra – new menu + additional components
   (loaded after style.css and pages.css)
   =================================================== */

/* ---------- Header with 10 menu items ---------- */
.site-header .container.header-inner { max-width: 1440px; }
.main-nav { gap: 16px; font-size: 13.5px; }
.main-nav i.fa-chevron-down { font-size: 8px; margin-left: -2px; }
.header-actions { gap: 16px; margin-left: 16px; }
.header-actions .btn-sm { white-space: nowrap; }

/* Mega menu: full-width panel under the header */
.header-inner { position: relative; }
.has-drop.mega-parent { position: static; }
.mega { position: absolute; left: 24px; right: 24px; top: 74px; background: #121214; border: 1px solid var(--border); border-top: 2px solid var(--gold); border-radius: 0 0 12px 12px; padding: 18px 22px 22px;
  box-shadow: 0 20px 40px rgba(0,0,0,.55); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 60; max-height: calc(100vh - 100px); overflow-y: auto; }
.has-drop:hover .mega, .has-drop:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-head { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.mega-head a { color: var(--gold); font-size: 13px; font-weight: 600; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px 26px; }
.mega-col h6 { margin: 0 0 8px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.mega-col h6 i { font-size: 11px; }
.mega-col a { display: block; padding: 4px 0; font-size: 13px; color: #d8d5cf; }
.mega-col a:hover { color: var(--gold); }
.drop-right { left: auto; right: -10px; }
.more-drop .drop { min-width: 220px; }

@media (max-width: 1260px) {
  .menu-toggle { display: inline-block; }
  .login-link { display: none; }
  .main-nav { position: fixed; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #0e0e10; border-top: 1px solid var(--border);
    padding: 12px 24px 20px; max-height: calc(100vh - 84px); overflow-y: auto; display: none; font-size: 15px; }
  .main-nav.open { display: flex; }
  .main-nav > a, .has-drop > a { padding: 12px 0; border-bottom: 1px solid #1d1d20; width: 100%; justify-content: space-between; }
  .main-nav a.active::after { display: none; }
  .drop, .mega { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: none; box-shadow: none; padding: 6px 0 12px 12px; display: none; max-height: none; }
  .has-drop.open .drop, .has-drop.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .site-header { background: rgba(10,10,11,.9); }
}
@media (max-width: 640px) { .mega-grid { grid-template-columns: 1fr; } .header-actions .btn-sm { padding: 0 12px; font-size: 13px; } }

/* ---------- Section navigation ---------- */
.sub-nav { margin-bottom: 22px; }
.sub-nav .chip { display: inline-block; }
.chips.static .chip { cursor: default; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.link-grid.one { grid-template-columns: 1fr; }
.link-tile { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.link-tile i { color: var(--gold); font-size: 12px; }
.link-tile:hover, .link-tile.current { border-color: var(--gold-soft); color: var(--gold); }
.link-feature { display: flex; flex-direction: column; gap: 4px; }
.link-feature:hover { border-color: var(--gold-soft); }
.link-feature .card-link { margin-top: 10px; }
.block-top { margin-top: 24px; }

/* ---------- News / videos ---------- */
.news-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; margin-top: 10px; }
.news-layout > .panel h4 i { color: #ff6b3d; margin-right: 6px; }
.news-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.news-row:last-child { border-bottom: 0; }
.news-row img { width: 74px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.news-row em { font-style: normal; font-size: 11px; color: var(--gold); display: block; }
.news-row strong { font-size: 13px; font-weight: 600; line-height: 1.35; display: block; }
.news-row small { font-size: 11px; color: var(--muted); }
.news-row:hover strong { color: var(--gold); }
.breaking { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; margin-bottom: 18px; font-size: 14px; }
.breaking span { background: #d7263d; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 4px 10px; border-radius: 4px; }
.video-card .media-img { position: relative; }
.play-sm { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(233,173,79,.92); color: #1a1206; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.8); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 4px; }
.big-video { display: flex; margin-bottom: 8px; }
.big-video .play { display: flex; align-items: center; justify-content: center; }
.video-title { position: absolute; left: 20px; bottom: 16px; font-size: 18px; font-weight: 600; }
.video-h1 { font-size: 24px; margin: 16px 0 4px; }

/* ---------- Service / process ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { counter-increment: s; background: #0f0f11; border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.steps li::before { content: counter(s); display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(180deg, #f3bb5f, var(--gold-2)); color: #1a1206; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 8px; }
.steps strong { display: block; font-size: 14px; margin-bottom: 4px; }
.steps span { font-size: 13px; color: var(--muted); }
.svc-pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 16px; }
.svc-pick legend { font-size: 13px; font-weight: 500; color: #ddd; margin-bottom: 6px; }
.narrow-panel { max-width: 820px; margin: 0 auto; }

/* ---------- Membership ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; }
.plan h4 { margin: 0 0 6px; font-size: 18px; }
.plan .ticks { flex: 1; }
.plan-hl { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.partner-logo { height: 80px; border: 1px dashed #3a3a3e; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.job { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.job:last-child { border-bottom: 0; }
.job strong { display: block; }
.job small { color: var(--muted); font-size: 13px; }

/* ---------- AI tool ---------- */
.ai-tool h3 i { color: var(--gold); margin-right: 8px; }
.ai-output { margin: 18px 0; min-height: 120px; border: 1px dashed #3a3a3e; border-radius: 8px; padding: 16px; }
.ai-output p { margin: 0 0 8px; }

/* ---------- Tracking / status ---------- */
.track-result { margin-top: 22px; }
.status-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.status-steps li { position: relative; padding-top: 22px; font-size: 13px; }
.status-steps li::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 4px; border-radius: 4px; background: #26262a; }
.status-steps li.done::before { background: var(--gold); }
.status-steps li.current::before { background: linear-gradient(90deg, var(--gold) 50%, #26262a 50%); }
.status-steps strong { display: block; }
.status-steps span { color: var(--muted); font-size: 12px; }

/* ---------- Seat selection ---------- */
.seat-map { overflow-x: auto; }
.screen { text-align: center; font-size: 12px; letter-spacing: 4px; color: var(--muted); border-top: 3px solid var(--gold); border-radius: 50% 50% 0 0 / 14px 14px 0 0; padding-top: 10px; margin: 0 auto 24px; max-width: 520px; }
.seat-row { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 8px; }
.seat-row > span { width: 20px; font-size: 12px; color: var(--muted); }
.seat { width: 30px; height: 28px; border-radius: 6px 6px 3px 3px; border: 1px solid #4a4a50; background: #1b1b1f; color: #bbb; font-size: 10px; cursor: pointer; display: inline-block; }
.seat.vip { border-color: var(--gold-soft); }
.seat.selected { background: var(--gold); color: #1a1206; border-color: var(--gold); }
.seat.taken { background: #333; color: #555; border-color: #333; cursor: not-allowed; }
.aisle { width: 18px; }
.seat-legend { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 18px; font-size: 12px; color: var(--muted); }
.seat-legend i.seat { width: 16px; height: 14px; vertical-align: -2px; margin-right: 4px; cursor: default; }

/* ---------- Account area ---------- */
.dash-nav nav { max-height: none; }
.dash-group { margin: 14px 0 4px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); padding-left: 12px; }
.dash-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-title h1 { margin: 6px 0 0; }
.dash-actions { display: flex; gap: 10px; }
.notif-list { list-style: none; margin: 0 0 10px; padding: 0; }
.notif-list li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.notif-list li:last-child { border-bottom: 0; }
.notif-list i { color: var(--gold); width: 18px; text-align: center; }
.notif-list span { flex: 1; }
.notif-list small { color: var(--muted); font-size: 12px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding: 10px 0 24px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.bar span { width: 100%; max-width: 44px; background: linear-gradient(180deg, #f3bb5f, var(--gold-2)); border-radius: 4px 4px 0 0; }
.bar small { position: absolute; bottom: -20px; font-size: 11px; color: var(--muted); }
.progress.wide { width: 100%; }
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px dashed #3a3a3e; border-radius: 12px; padding: 30px; text-align: center; cursor: pointer; background: #0f0f11; }
.dropzone:hover { border-color: var(--gold-soft); }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dropzone i { font-size: 28px; color: var(--gold); }
.dropzone small { color: var(--muted); }
.dropzone.small { padding: 18px; }
.gallery.manage figure { position: relative; margin: 0; }
.gallery.manage figcaption { position: absolute; top: 6px; right: 6px; display: flex; gap: 4px; }
.gallery.manage figcaption .icon-btn { background: rgba(0,0,0,.7); border-radius: 6px; font-size: 13px; }
.profile-edit { display: flex; gap: 18px; align-items: center; }
.avatar-img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.avatar.sm { width: 56px; height: 56px; font-size: 18px; margin: 0; }
.avatar.xs { width: 32px; height: 32px; font-size: 12px; margin: 0; border-width: 1px; flex-shrink: 0; }
.chips.editable .chip button { background: none; border: 0; color: inherit; cursor: pointer; margin-left: 4px; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.switch-row:last-child { border-bottom: 0; }
.switch-row.inline { border: 0; padding: 0; }
.switch { appearance: none; width: 40px; height: 22px; border-radius: 22px; background: #333; position: relative; cursor: pointer; flex-shrink: 0; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s; }
.switch:checked { background: var(--gold); }
.switch:checked::after { left: 21px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; }
.cal-h { font-size: 12px; color: var(--muted); text-align: center; }
.cal-day { height: 44px; border-radius: 8px; border: 1px solid var(--border); background: #0f0f11; color: #ddd; cursor: pointer; }
.cal-day.busy { background: rgba(215,38,61,.18); border-color: rgba(215,38,61,.5); }
.cal-day.today { border-color: var(--gold); color: var(--gold); }
.cal-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: #0f0f11; border: 1px solid var(--border); vertical-align: -1px; margin-right: 4px; }
.cal-dot.busy { background: rgba(215,38,61,.4); }
.invite { display: flex; gap: 18px; align-items: flex-start; }
.invite img { width: 150px; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.chat { display: grid; grid-template-columns: 280px 1fr; padding: 0; overflow: hidden; min-height: 520px; }
.chat-list { border-right: 1px solid var(--border); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.chat-list .field { min-width: 0; margin-bottom: 8px; height: 40px; }
.thread { display: flex; gap: 10px; align-items: center; text-align: left; background: none; border: 0; color: #ddd; padding: 10px; border-radius: 8px; cursor: pointer; width: 100%; }
.thread span:nth-child(2) { flex: 1; min-width: 0; }
.thread strong { display: block; font-size: 13px; }
.thread small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread em { font-style: normal; font-size: 11px; color: var(--muted); }
.thread.active, .thread:hover { background: rgba(233,173,79,.08); }
.thread.unread strong::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-left: 6px; vertical-align: 2px; }
.chat-main { display: flex; flex-direction: column; }
.chat-head { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.chat-head small { display: block; color: var(--muted); font-size: 12px; }
.chat-body { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.msg { max-width: 70%; padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.msg.in { background: #1f1f23; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.out { background: rgba(233,173,79,.18); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-input { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; background: #0d0d0e; border: 1px solid #3a3a3e; border-radius: 6px; color: #eee; padding: 0 12px; height: 40px; }
.course-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.course-row:last-child { border-bottom: 0; }
.course-row img { width: 110px; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; }
.course-row > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.course-row small { color: var(--muted); font-size: 12px; }
.course-row.big { margin-bottom: 14px; }
.cert { text-align: center; }
.cert > i { font-size: 36px; color: var(--gold); }
.cert .form-actions { justify-content: center; }
.ticket-card { display: flex; background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.t-main { flex: 1; padding: 20px; }
.t-main h3 { margin: 8px 0 4px; }
.t-qr { width: 160px; border-left: 2px dashed var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; }
.t-qr i { font-size: 70px; }
.t-qr small { color: var(--muted); }
.t-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.pay-method { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.pay-method > i { font-size: 22px; color: var(--gold); width: 28px; }
.pay-method span:nth-child(2) { flex: 1; }
.pay-method strong, .pay-method small { display: block; }
.pay-method small { color: var(--muted); font-size: 12px; }
.pay-method + .btn { margin-top: 14px; }
.plan-current { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.plan-current h3 { margin: 8px 0 2px; }
.danger { border-color: rgba(229,72,77,.5); }
.btn-danger { background: #c9303a; color: #fff; }
.status-pill.danger { background: rgba(229,72,77,.15); color: #ff8589; }

@media (max-width: 960px) {
  .news-layout, .chat { grid-template-columns: 1fr; }
  .chat-list { border-right: 0; border-bottom: 1px solid var(--border); }
  .steps, .status-steps { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .svc-pick { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .invite, .ticket-card { flex-direction: column; }
  .invite img { width: 100%; }
  .t-qr { width: auto; border-left: 0; border-top: 2px dashed var(--border); padding: 16px; }
}

/* Keep large feature images from over-scaling */
.feature-card img { max-height: 340px; min-height: 260px; }

/* ===================== Roles, registration, dashboards ===================== */
.role-switch { position: relative; margin: 0 0 12px; }
.role-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: rgba(233,173,79,.08); border: 1px solid var(--gold-soft); border-radius: 8px; padding: 8px 12px; color: #eee; cursor: pointer; text-align: left; }
.role-btn small { display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.role-btn strong { font-size: 14px; color: var(--gold); }
.role-switch .drop { left: 0; right: 0; min-width: 0; top: calc(100% + 4px); }
.role-switch.open .drop { opacity: 1; visibility: visible; transform: none; }
.role-switch .drop a { display: flex; gap: 8px; align-items: center; }
.role-switch .drop a em { margin-left: auto; font-style: normal; font-size: 10px; color: var(--gold); }
.role-switch .drop a.active { color: var(--gold); }
.role-banner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.role-banner h3 { margin: 6px 0 2px; }
.role-banner > div:nth-child(2) { flex: 1; min-width: 220px; }
.role-ic { width: 56px; height: 56px; border-radius: 14px; background: rgba(233,173,79,.12); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.role-ic.sm { width: 40px; height: 40px; font-size: 16px; border-radius: 10px; }
.progress-mini { min-width: 220px; }
.progress-mini small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.perm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ticks.crosses li::before { content: "\f00d"; color: #ff8589; }
.icon-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; background: #0f0f11; border: 1px solid var(--border); border-radius: 10px; padding: 16px 10px; font-size: 13px; }
.icon-tile i { font-size: 20px; color: var(--gold); }
.icon-tile:hover { border-color: var(--gold-soft); color: var(--gold); }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.adm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.adm-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.adm-toolbar .field { min-width: 240px; height: 40px; }
.adm-toolbar select { height: 40px; background: #0d0d0e; border: 1px solid #3a3a3e; border-radius: 6px; color: #eee; padding: 0 10px; font-size: 13px; }
.adm-table { padding: 16px; }
.row-actions { white-space: nowrap; }
.row-actions a, .row-actions button { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px 6px; }
.row-actions a:hover, .row-actions button:hover { color: var(--gold); }
.t-person { display: inline-flex; align-items: center; gap: 10px; }
.split-bars > div { display: grid; grid-template-columns: 120px 1fr 44px; gap: 12px; align-items: center; margin-bottom: 14px; font-size: 13px; }
.role-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.role-row > span:nth-child(2) { flex: 1; }
.role-row strong, .role-row small { display: block; }
.role-row small { color: var(--muted); font-size: 12px; }
.role-catalog h4 { margin: 16px 0 8px; color: var(--gold); }
.chip i { margin-right: 4px; color: var(--gold); }
.qr-scan { height: 220px; border: 2px dashed var(--gold-soft); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin-bottom: 14px; color: var(--muted); }
.qr-scan i { font-size: 64px; color: var(--gold); }
.mini-input { background: #0d0d0e; border: 1px solid #3a3a3e; border-radius: 6px; color: #eee; padding: 6px 8px; width: 110px; }
.mini-input.wide { width: 100%; }
.mini-sel { background: #0d0d0e; border: 1px solid #3a3a3e; border-radius: 6px; color: #eee; padding: 4px 6px; font-size: 12px; }

/* Registration wizard */
.small-hero { min-height: 0; padding: 140px 0 40px; }
.wizard { max-width: 980px; margin: 0 auto; }
.wz-steps { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 0; margin: 0 0 18px; }
.wz-steps li { font-size: 12px; color: var(--muted); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wz-steps li span { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 600; background: #111; }
.wz-steps li.done span { background: var(--gold); color: #1a1206; border-color: var(--gold); }
.wz-steps li.current { color: var(--gold); }
.wz-steps li.current span { border-color: var(--gold); color: var(--gold); }
.wz-panel { padding: 28px; }
.wz-step { display: none; }
.wz-step.active { display: block; }
.wz-step h2 { font-family: var(--font-head); font-weight: 500; margin: 0 0 6px; }
.wz-nav { display: flex; justify-content: space-between; margin-top: 24px; gap: 10px; }
.wz-nav .wz-next { margin-left: auto; }
.social-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.big-ic { font-size: 40px; color: var(--gold); margin-bottom: 8px; }
.big-ic.ok { color: #58c77f; font-size: 64px; }
.otp { display: flex; justify-content: center; gap: 8px; margin: 12px 0; }
.otp input { width: 42px; height: 48px; text-align: center; font-size: 20px; background: #0d0d0e; border: 1px solid #3a3a3e; border-radius: 8px; color: #fff; }
.intent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.intent, .role-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; background: #0f0f11; border: 1px solid var(--border); border-radius: 10px; padding: 16px 10px; cursor: pointer; font-size: 13px; }
.intent input, .role-card input { position: absolute; opacity: 0; }
.intent i, .role-card i { font-size: 22px; color: var(--gold); }
.intent:has(input:checked), .role-card:has(input:checked) { border-color: var(--gold); background: rgba(233,173,79,.1); }
.intent:has(input:focus-visible), .role-card:has(input:focus-visible) { outline: 2px solid var(--gold); }
.role-card small { color: var(--muted); font-size: 11px; }
.role-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.role-cards.big { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
a.role-card:hover { border-color: var(--gold-soft); }
.role-group h4 { margin: 18px 0 10px; color: var(--gold); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.wz-search { margin-top: 14px; max-width: 360px; }
.extra-roles { columns: 4 180px; margin-top: 12px; }
.extra-roles .check { break-inside: avoid; margin-bottom: 6px; }
.panel.inset { background: #0f0f11; margin: 16px 0; }
.dyn-fields h4 { margin: 18px 0 10px; color: var(--gold); }
.inline-ticks { display: inline-block; text-align: left; margin: 10px 0 20px; }

/* Seat designer */
.seat-designer { display: grid; gap: 18px; }
.sd-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.sd-tool { display: inline-flex; gap: 6px; align-items: center; background: #0f0f11; border: 1px solid var(--border); color: #ddd; border-radius: 6px; padding: 6px 10px; cursor: pointer; font-size: 13px; }
.sd-tool.active { border-color: var(--gold); color: var(--gold); }
.sd-tool .seat, td .seat { width: 16px; height: 14px; cursor: default; }
.sd-canvas { overflow-x: auto; padding: 10px 0; user-select: none; }
.sd-grid { display: flex; flex-direction: column; gap: 6px; align-items: center; min-width: max-content; margin: 0 auto; }
.sd-grid.curved .sd-row:nth-child(n) { transform: none; }
.sd-row { display: flex; gap: 5px; align-items: center; }
.sd-row .rl { width: 22px; font-size: 11px; color: var(--muted); text-align: center; cursor: pointer; }
.sd-row .rl:hover { color: var(--gold); }
.sd-seat { width: 24px; height: 22px; border-radius: 5px 5px 3px 3px; border: 1px solid #4a4a50; background: #1b1b1f; cursor: pointer; padding: 0; font-size: 9px; color: #999; }
.seat.premium, .sd-seat.premium { background: #3a2f1a; border-color: #8a6a2a; }
.seat.vip, .sd-seat.vip { background: var(--gold); border-color: var(--gold); }
.seat.recliner, .sd-seat.recliner { background: #5b3fa0; border-color: #7d62c4; width: 32px; }
.seat.wheelchair, .sd-seat.wheelchair { background: #2a6fdb; border-color: #4d8af0; }
.seat.blocked, .sd-seat.blocked { background: #3a1a1c; border-color: #6b2a2e; }
.seat.aisle, .sd-seat.aisle { background: transparent; border: 1px dashed #333; }
.seat.standard { background: #1b1b1f; }
.sd-summary { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.sd-summary strong { color: #eee; }

@media (max-width: 960px) {
  .adm-grid-2, .perm-cols { grid-template-columns: 1fr; }
  .quick, .intent-grid { grid-template-columns: repeat(2, 1fr); }
  .role-cards { grid-template-columns: repeat(3, 1fr); }
  .wz-steps { grid-template-columns: repeat(7, minmax(0, 1fr)); font-size: 10px; }
  .wz-steps li { font-size: 0; }
}
.cm-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #1b1b1f; border: 1px solid var(--gold); color: #fff; padding: 12px 18px; border-radius: 8px; font-size: 14px; opacity: 0; transition: .25s; z-index: 200; max-width: 90vw; }
.cm-toast.show { opacity: 1; transform: translate(-50%, 0); }
.theme-preview .tp-card { background: var(--card); color: var(--text); border-color: var(--border); }
.theme-preview .btn-gold { background: var(--gold); }

/* ===================== Pop-up, safety, reviews, promotions ===================== */
.cm-popup { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center; padding: 20px; animation: cmfade .25s ease; }
.cm-popup[hidden] { display: none; }
@keyframes cmfade { from { opacity: 0; } to { opacity: 1; } }
.cm-popup-card { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; max-width: 760px; width: 100%; background: #121214; border: 1px solid var(--gold-soft); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.cm-popup-img { background-size: cover; background-position: center; min-height: 300px; padding: 16px; }
.cm-popup-body { padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.cm-popup-body h2 { font-family: var(--font-head); font-weight: 500; margin: 0; font-size: 26px; }
.cm-popup-body p { margin: 0; color: #cfccc6; }
.cm-popup-body .news-form { margin: 0; }
.cm-popup-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; z-index: 2; }
.check.small { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .cm-popup-card { grid-template-columns: 1fr; } .cm-popup-img { min-height: 150px; } }
.popup-mini { display: flex; gap: 12px; border: 1px solid var(--gold-soft); border-radius: 10px; overflow: hidden; background: #121214; }
.popup-mini .pm-img { width: 90px; background-size: cover; background-position: center; }
.popup-mini > div:last-child { padding: 12px 12px 12px 0; }
.popup-mini p { margin: 2px 0 8px; font-size: 12px; }
.col-actions { flex-direction: column; align-items: stretch; }

.notice-box { display: flex; gap: 14px; align-items: flex-start; background: rgba(233,173,79,.08); border: 1px solid var(--gold-soft); border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; font-size: 14px; }
.notice-box > i { color: var(--gold); margin-top: 3px; }
.safety-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: rgba(215,38,61,.1); border: 1px solid rgba(215,38,61,.45); border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; font-size: 13.5px; }
.safety-strip > i { color: #ff6b6b; }
.safety-strip span { flex: 1; min-width: 220px; }
.safety-strip span a { color: var(--gold); text-decoration: underline; }
.safety-panel h4 i { color: #ff6b6b; margin-right: 6px; }
.rule-box { border-color: var(--gold); }
.rule-box h2 i { color: var(--gold); margin-right: 8px; }
.lead { font-size: 18px; line-height: 1.6; }

.stars { color: var(--gold); letter-spacing: 1px; }
.stars.big { font-size: 22px; }
.rating-badge { position: absolute; top: 10px; right: 10px; background: var(--gold); color: #1a1206; font-weight: 700; font-size: 13px; padding: 3px 8px; border-radius: 6px; }
.review-card .media-img { position: relative; }
.rating-sum { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.rating-sum > div { display: flex; flex-direction: column; }
.big-rating { font-size: 32px; font-family: var(--font-head); }
.rating-sum small { color: var(--muted); font-size: 12px; }
.review-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.review-row p { margin: 4px 0; }
.review-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.sm-poster { width: 110px; border-radius: 8px; }
.star-input { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input legend { width: 100%; margin-bottom: 6px; font-size: 13px; }
.star-input label { cursor: pointer; font-size: 30px; color: #444; }
.star-input input { position: absolute; opacity: 0; }
.star-input label:hover, .star-input label:hover ~ label, .star-input label:has(input:checked), .star-input label:has(input:checked) ~ label { color: var(--gold); }
.star-input label:has(input:focus-visible) { outline: 2px solid var(--gold); }

.ad-slot { border: 1px dashed #4a4a50; border-radius: 10px; height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); margin-top: 16px; }
.ad-slot small { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.wire { border: 1px solid var(--border); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.wire > div, .w-row > div { border-radius: 6px; padding: 10px; text-align: center; }
.w-bar { background: #1b1b1f; }
.w-ad { background: rgba(233,173,79,.14); border: 1px dashed var(--gold); color: var(--gold); }
.w-row { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; padding: 0 !important; }
.w-main { background: #151518; min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; }
.w-native { background: rgba(233,173,79,.14); border: 1px dashed var(--gold); color: var(--gold); padding: 8px; border-radius: 6px; }
.w-side { display: flex; flex-direction: column; gap: 8px; padding: 0 !important; }
.w-side .w-ad { flex: 1; }
.place-pick { columns: 2 260px; margin-top: 8px; }
.place-pick .check { break-inside: avoid; margin-bottom: 6px; }
.est { display: flex; justify-content: space-between; align-items: center; background: #0f0f11; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin: 14px 0; }
.split-img { width: 100%; border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; }
.infl-card small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.status-steps.six { grid-template-columns: repeat(6, 1fr); }
.status-steps.vert { grid-template-columns: 1fr; }
.review-img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.doc { line-height: 1.7; }
.sign-pad { width: 100%; height: 140px; background: #f4f1ea; border-radius: 8px; cursor: crosshair; touch-action: none; display: block; }
.typed-sign { width: 100%; height: 60px; font-family: 'Allura', cursive; font-size: 30px; background: #f4f1ea; color: #1a1a1a; border: 0; border-radius: 8px; padding: 0 12px; }
@media (max-width: 960px) { .status-steps.six { grid-template-columns: repeat(3, 1fr); } }
.ad-slot.leaderboard { height: 90px; max-width: 728px; margin: 0 auto; }
a.ad-slot:hover { border-color: var(--gold); color: var(--gold); }
.adm-grid-2.wide-left { grid-template-columns: 2fr 1fr; }
.rec-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.rec-head h2 { margin: 0 0 6px; font-size: 22px; }
.live-room { display: grid; grid-template-columns: 1fr 300px; gap: 16px; margin-bottom: 14px; }
.live-room .big-video { position: relative; min-height: 380px; }
.live-tag { position: absolute; top: 12px; left: 12px; background: #d7263d; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.chat-side { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.chat-side h4 { margin: 0; padding: 14px; border-bottom: 1px solid var(--border); }
.quiz-q { border: 1px solid var(--border); }
.quiz-q legend { font-weight: 600; padding: 0 6px; }
.timer i { color: var(--gold); }
.social-row { flex-wrap: wrap; }
.social-row .btn { flex: 1 1 120px; }
@media (max-width: 960px) { .live-room, .adm-grid-2.wide-left { grid-template-columns: 1fr; } }
.logo img, .footer-logo, .adm-logo img, .adm-login-logo { mix-blend-mode: normal; }

/* ---- Responsive safety: let grid/flex children shrink so wide tables scroll inside their box ---- */
.with-aside > *, .dash > *, .dash-main, .adm-grid-2 > *, .split > *, .grid > *, .news-layout > *, .adm-edit > *, .pb > *, .live-room > *, .adm-main, .footer-grid > * { min-width: 0; }
.table-wrap { max-width: 100%; }
img, video, canvas, iframe { max-width: 100%; }
.dash-title h1 { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .dash-actions { width: 100%; flex-wrap: wrap; }
  .rec-head .form-actions, .form-actions { flex-wrap: wrap; }
  .adm-toolbar .field { min-width: 0; flex: 1 1 100%; }
  .adm-toolbar select, .adm-bulk { flex: 1 1 auto; }
  .ticks.two-col { columns: 1; grid-template-columns: 1fr; }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .intent-grid { grid-template-columns: repeat(2, 1fr); }
  .role-cards { grid-template-columns: repeat(2, 1fr); }
}
.seat-designer > *, .sd-controls, .cc-grid > *, .search-results > *, .plans > *, .grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.live-room .big-video { width: 100%; }
.tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; }
.tabs .tab { flex-shrink: 0; }
@media (max-width: 640px) {
  .course-row { flex-wrap: wrap; }
  .course-row img { width: 90px; }
  .chat-list .field { width: 100%; }
  .chat-list .field input { min-width: 0; width: 100%; }
  .sd-controls .form-grid, .form-grid { grid-template-columns: 1fr; }
  .rating-sum { gap: 16px; }
}
.adm-bulk { flex-wrap: wrap; }
@media (max-width: 960px) { .chat { grid-template-columns: minmax(0, 1fr); } }

/* Row action buttons (visible text, work without icon font) */
.row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: nowrap; }
.row-actions .act-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border: 1px solid var(--border); border-radius: 6px; background: #0f0f11; color: #ddd; font-size: 12px; font-family: inherit; line-height: 1.2; cursor: pointer; white-space: nowrap; text-decoration: none; }
.row-actions .act-btn:hover, .row-actions .act-btn:focus-visible { border-color: var(--gold); color: var(--gold); }
.row-actions .act-btn.danger:hover { border-color: #e5484d; color: #ff8589; }
a.dropzone { text-decoration: none; }
.media-grid figure a { display: block; }
.js-drop-name { font-size: 13px; }
td.row-actions { display: table-cell; white-space: nowrap; text-align: right; }
td.row-actions .act-btn + .act-btn { margin-left: 4px; }
span.row-actions { display: inline-flex; }
.adm-table td { white-space: normal; }
.adm-table td.row-actions, .adm-table td.cb { white-space: nowrap; }
.adm-table .t-person { min-width: 140px; }
