/**
 * Painel administrativo — layout tipo dashboard (referência visual HelixWin / acopahelix.online).
 * Ativo com #page-copa-gerencia-admin.active
 */

body:has(#page-copa-gerencia-admin.active) {
  background: var(--copa-ink, #050a0c);
}

body:has(#page-copa-gerencia-admin.active)::-webkit-scrollbar-track {
  background: #0a1210;
}
body:has(#page-copa-gerencia-admin.active)::-webkit-scrollbar-thumb {
  background: rgba(57, 255, 106, 0.35);
}

#page-copa-gerencia-admin.active {
  min-height: 100vh;
}

.adm-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Poppins, system-ui, sans-serif;
  color: #e8ecf4;
  background: linear-gradient(168deg, #06040e 0%, #0c0a14 42%, #080612 100%);
}

/* ── Login (sem sessão) ───────────────────────────────────────── */
.adm-login-screen {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  min-height: 100vh;
}

@media (max-width: 900px) {
  .adm-login-screen {
    grid-template-columns: 1fr;
  }
}

.adm-login-brand {
  padding: 40px 32px;
  background: linear-gradient(180deg, rgba(0, 156, 59, 0.14) 0%, transparent 55%),
    linear-gradient(135deg, rgba(8, 22, 15, 0.95) 0%, rgba(5, 10, 8, 0.98) 100%);
  border-right: 1px solid rgba(232, 197, 71, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

@media (max-width: 900px) {
  .adm-login-brand {
    border-right: none;
    border-bottom: 1px solid rgba(232, 197, 71, 0.1);
    padding: 28px 22px;
    min-height: auto;
  }
}

.adm-login-brand__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(57, 255, 106, 0.85);
}

.adm-login-brand__title {
  font-family: 'Bebas Neue', Poppins, sans-serif;
  font-size: clamp(2.1rem, 5vw, 2.75rem);
  line-height: 1;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 0;
}

.adm-login-brand__sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.48);
  max-width: 320px;
}

.adm-login-brand__list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.adm-login-brand__list li {
  padding: 6px 0 6px 22px;
  position: relative;
}

.adm-login-brand__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copa-gold, #e8c547), var(--copa-green, #39ff6a));
  opacity: 0.85;
}

.adm-login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 28px;
}

.adm-login-card {
  width: 100%;
  max-width: 400px;
  padding: 28px 26px 30px;
  border-radius: 16px;
  background: rgba(18, 16, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.adm-login-card h1 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 700;
}

.adm-login-card > p {
  margin: 0 0 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

/* ── Shell logado: sidebar + main ───────────────────────────── */
.adm-shell {
  display: flex;
  flex: 1;
  min-height: 100vh;
}

.adm-side {
  width: 268px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 0 18px;
  background: linear-gradient(180deg, rgba(4, 8, 6, 0.94) 0%, rgba(6, 5, 12, 0.98) 100%);
  border-right: 1px solid rgba(232, 197, 71, 0.1);
  box-shadow: 4px 0 32px rgba(0, 0, 0, 0.25);
}

.adm-side__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 20px;
  margin: 0 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.adm-side__brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(232, 197, 71, 0.35));
}

.adm-side__brand-text {
  min-width: 0;
}

.adm-side__brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.adm-side__brand-text span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(57, 255, 106, 0.55);
  margin-top: 4px;
}

.adm-side__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 10px 12px;
  -webkit-overflow-scrolling: touch;
}

.adm-side__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  padding: 14px 14px 8px;
}

.adm-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 2px 0;
  padding: 11px 14px;
  border: none;
  border-radius: 11px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

a.adm-nav-btn {
  color: inherit;
}

a.adm-nav-btn:visited {
  color: inherit;
}

.adm-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.adm-nav-btn.is-active {
  background: linear-gradient(90deg, rgba(57, 255, 106, 0.14) 0%, rgba(57, 255, 106, 0.04) 100%);
  color: #b6ffd0;
  box-shadow: inset 0 0 0 1px rgba(57, 255, 106, 0.22);
}

.adm-nav-btn__ico {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0.85;
}

.adm-side__foot {
  padding: 14px 16px 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.adm-side__version {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.32);
  padding: 0 8px 10px;
  line-height: 1.45;
}

.adm-btn-ghost {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 8px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.adm-btn-ghost:hover {
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.06);
}

.adm-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(8, 6, 14, 0.5) 0%, transparent 120px);
}

.adm-main__top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 28px 16px;
  background: linear-gradient(180deg, rgba(6, 4, 12, 0.92) 70%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.adm-crumb {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
}

.adm-crumb strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.adm-main__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.adm-btn-primary {
  padding: 11px 20px;
  border: none;
  border-radius: 11px;
  background: linear-gradient(135deg, #00c97a, #12b981);
  color: #041208;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 18px rgba(0, 201, 122, 0.28);
}

.adm-btn-primary:hover {
  filter: brightness(1.05);
}

.adm-btn-outline {
  padding: 11px 16px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.adm-btn-outline:hover {
  border-color: rgba(232, 197, 71, 0.35);
  color: #fde68a;
}

.adm-main__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px 48px;
}

.adm-msg {
  min-height: 22px;
  font-size: 13px;
  margin: 0 0 16px;
  padding: 0 2px;
}

.adm-sec {
  scroll-margin-top: 88px;
  margin-bottom: 28px;
  padding: 22px 22px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.adm-sec__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.adm-sec__head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.adm-sec__head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.5;
  max-width: 560px;
}

/* Bloco de texto no topo das secções (Geral / Casa) */
.adm-sec__head--stack {
  align-items: flex-start;
}
.adm-prose-stack {
  flex: 1;
  min-width: 0;
  max-width: 720px;
}
.adm-info-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 8px 0 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(134, 239, 172, 0.88);
}
.adm-info-kicker code {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}
.adm-info-lead {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.48);
  max-width: 680px;
}
.adm-info-bullets {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.44);
  max-width: 680px;
}
.adm-info-bullets li {
  margin-bottom: 7px;
}
.adm-info-bullets li:last-child {
  margin-bottom: 0;
}

/* Sliders RTP + retenção em grelha */
.adm-geral-sliders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 18px;
  max-width: 920px;
}
.adm-geral-sliders .adm-field--casino {
  max-width: none;
}

.adm-subsec {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.adm-geral-sliders + .adm-subsec {
  margin-top: 22px;
  padding-top: 0;
  border-top: none;
}
.adm-subsec__title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 230, 138, 0.58);
}
.adm-subsec__title--nested {
  margin: 16px 0 10px;
  color: rgba(180, 255, 200, 0.55);
}

.adm-settings-panel {
  max-width: 560px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}
.adm-settings-panel--econ {
  max-width: 640px;
  background: rgba(18, 40, 28, 0.35);
  border-color: rgba(57, 255, 106, 0.15);
}

.adm-resumo-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.58;
  max-width: 640px;
}
.adm-resumo-list li {
  margin-bottom: 6px;
}

.adm-sec__tag {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(57, 255, 106, 0.1);
  color: #86efac;
  border: 1px solid rgba(57, 255, 106, 0.2);
}

.adm-sec--gold .adm-sec__tag {
  background: rgba(232, 197, 71, 0.1);
  color: #fde68a;
  border-color: rgba(232, 197, 71, 0.22);
}

.adm-sec--blue .adm-sec__tag {
  background: rgba(30, 136, 229, 0.12);
  color: #93c5fd;
  border-color: rgba(30, 136, 229, 0.22);
}

.adm-sec--muted .adm-sec__tag {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.08);
}

.adm-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adm-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 7px;
}

.adm-field input,
.adm-field textarea {
  width: 100%;
  max-width: 560px;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}

.adm-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.adm-field input:focus,
.adm-field textarea:focus {
  outline: none;
  border-color: rgba(57, 255, 106, 0.45);
  box-shadow: 0 0 0 3px rgba(57, 255, 106, 0.08);
}

.adm-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.adm-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--copa-green, #39ff6a);
}

.adm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.adm-card {
  padding: 16px 16px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.adm-card__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px;
}

.adm-card__val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.adm-card__hint {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.4;
}

.adm-card--wide {
  grid-column: span 2;
}

@media (max-width: 520px) {
  .adm-card--wide {
    grid-column: 1 / -1;
  }
}

.adm-placeholder {
  padding: 20px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .adm-shell {
    flex-direction: column;
  }

  .adm-side {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 12px;
    border-right: none;
    border-bottom: 1px solid rgba(232, 197, 71, 0.1);
  }

  .adm-side__brand {
    margin: 0 8px 0 0;
    padding: 0 10px 0 8px;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    flex: 0 0 auto;
  }

  .adm-side__scroll {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
    max-height: none;
    padding: 8px 4px;
    gap: 4px;
  }

  .adm-side__label {
    width: 100%;
    padding: 8px 8px 4px;
  }

  .adm-nav-btn {
    width: auto;
    flex: 1 1 auto;
    min-width: 120px;
    justify-content: center;
    font-size: 12px;
    padding: 9px 10px;
  }

  .adm-nav-btn__ico {
    display: none;
  }

  .adm-side__foot {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 10px 8px 0;
    margin-top: 8px;
  }

  .adm-side__version {
    flex: 1;
    min-width: 140px;
    padding: 0 4px 4px;
  }

  .adm-btn-ghost {
    width: auto;
    flex: 1;
    min-width: 120px;
    margin-bottom: 0;
  }

  .adm-main__scroll {
    padding: 16px 16px 40px;
  }

  .adm-main__top {
    padding: 14px 16px;
  }
}

.adm-tab-panel {
  display: none;
}
.adm-tab-panel.is-active {
  display: block;
}

.adm-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.adm-table th,
.adm-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.adm-table th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 700;
}
.adm-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}
.adm-row-click {
  cursor: pointer;
}

.adm-btn-edit {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(57, 255, 106, 0.35);
  background: rgba(57, 255, 106, 0.1);
  color: #b6ffd0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.adm-btn-edit:hover {
  background: rgba(57, 255, 106, 0.2);
  border-color: rgba(57, 255, 106, 0.55);
}

.adm-settings-intro {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.adm-settings-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}
.adm-settings-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
}
.adm-settings-desc code {
  font-size: 12px;
  opacity: 0.85;
}

.adm-settings-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 960px) {
  .adm-settings-layout {
    grid-template-columns: 1fr;
  }
}
.adm-settings-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.adm-settings-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.adm-field-hint {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.36);
}

.adm-drawer {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: stretch;
  justify-content: flex-end;
}
.adm-drawer.is-open {
  display: flex;
}
.adm-drawer__panel {
  width: min(420px, 100%);
  background: #12101c;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px;
  overflow-y: auto;
}
.adm-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.adm-logs-pre {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 62vh;
  overflow-y: auto;
  padding: 14px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.adm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.adm-toolbar--wrap {
  align-items: stretch;
}
.adm-input-search {
  flex: 1;
  min-width: 140px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #e8ecf4;
  font-size: 13px;
}
.adm-input-search:focus {
  outline: none;
  border-color: rgba(57, 255, 106, 0.45);
}

.adm-alert-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.adm-alert {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.adm-alert--mid {
  border-color: rgba(250, 204, 21, 0.35);
  background: rgba(250, 204, 21, 0.08);
}
.adm-alert--high {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.1);
}
.adm-alert__meta {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.65;
}

.adm-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.adm-badge--bad {
  background: rgba(248, 113, 113, 0.2);
  color: #fecaca;
}

.adm-banner-mod {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  font-size: 13px;
  margin-bottom: 14px;
}

.adm-readonly-hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 12px;
}
.adm-static {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 14px;
}

.adm-btn-edit--disabled {
  opacity: 0.65;
  cursor: default;
}

/* Caixa de contexto — modelo económico (Admin → Geral) */
.adm-econ-callout {
  max-width: 560px;
  padding: 14px 16px 15px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 58, 90, 0.35) 0%, rgba(45, 25, 60, 0.4) 100%);
  border: 1px solid rgba(120, 180, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 13px;
  line-height: 1.58;
  color: rgba(235, 242, 255, 0.82);
}
.adm-econ-callout strong {
  color: #b8e0ff;
  font-weight: 800;
}
.adm-econ-callout em {
  color: rgba(255, 220, 160, 0.9);
  font-style: normal;
  font-weight: 600;
}

/* ── Sliders estilo cassino (Admin → Geral) ─────────────────────────────── */
.adm-field--casino {
  max-width: 560px;
  padding: 18px 18px 20px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(40, 22, 8, 0.55) 0%, rgba(12, 8, 22, 0.72) 55%, rgba(8, 14, 28, 0.65) 100%);
  border: 1px solid rgba(255, 200, 80, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 160, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.35);
}
.adm-field--casino > label {
  color: rgba(255, 218, 170, 0.55);
  letter-spacing: 0.12em;
}
.adm-casino-slider__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.adm-casino-slider__chip {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 8, 6, 0.92);
  background: linear-gradient(135deg, #ffe566, #d4a012 55%, #8a6a0a);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 240, 200, 0.35);
  box-shadow: 0 2px 10px rgba(212, 160, 18, 0.25);
}
.adm-casino-slider__readout {
  font-size: 1.65rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff9e8 0%, #e8c44a 45%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(255, 200, 60, 0.15);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}
.adm-casino-slider__tier {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 245, 230, 0.92);
  margin-bottom: 2px;
  line-height: 1.35;
}
.adm-casino-slider__tierhint {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 16px;
  min-height: 2.6em;
}
.adm-casino-slider__rail {
  position: relative;
  padding: 4px 0 8px;
}
.adm-casino-slider__range {
  --fill: 35%;
  display: block;
  width: 100%;
  height: 32px;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: grab;
}
.adm-casino-slider__range:active {
  cursor: grabbing;
}
.adm-casino-slider__range:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.adm-casino-slider__range:focus {
  outline: none;
}
.adm-casino-slider__range:focus-visible {
  outline: 2px solid rgba(255, 200, 80, 0.45);
  outline-offset: 4px;
  border-radius: 8px;
}
.adm-casino-slider__range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #1a0f28 0%,
    #2a1a38 var(--fill),
    #12101a var(--fill),
    #12101a 100%
  );
  border: 1px solid rgba(255, 200, 100, 0.12);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.55);
}
.adm-casino-slider__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fffef5, #ffe566 38%, #c9a227 62%, #5c4818 100%);
  border: 2px solid rgba(255, 248, 220, 0.95);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 4px 14px rgba(255, 190, 40, 0.5),
    0 0 28px rgba(255, 200, 60, 0.22);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.adm-casino-slider__range:hover::-webkit-slider-thumb {
  transform: scale(1.06);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 6px 20px rgba(255, 200, 60, 0.55),
    0 0 36px rgba(255, 210, 80, 0.35);
}
.adm-casino-slider__range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #1a0f28 0%,
    #2a1a38 var(--fill),
    #12101a var(--fill),
    #12101a 100%
  );
  border: 1px solid rgba(255, 200, 100, 0.12);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.55);
}
.adm-casino-slider__range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 248, 220, 0.95);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fffef5, #ffe566 38%, #c9a227 62%, #5c4818 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 4px 14px rgba(255, 190, 40, 0.45);
  cursor: grab;
}
.adm-casino-slider__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}
.adm-casino-slider--edge .adm-casino-slider__readout {
  background: linear-gradient(180deg, #e8fff0 0%, #5eead4 40%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}
