/* ============================================================================
   MUWARRIOR S21 — LOJA WCOIN, LOJA VIP & GOBLIN POINTS (ISOLADO NA PRÉVIA)
   Inspirado na Loja de Pacotes do vídeo (2:42–2:54) sobre /economy_player.js
   ============================================================================ */

.econ-panel-inner {
  gap: 20px;
}

.econ-kpi-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.econ-kpi-card {
  background: linear-gradient(180deg, #1B1618 0%, #141012 100%) !important;
  border: 1px solid #654835 !important;
  border-radius: 10px !important;
  padding: 16px 18px !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.econ-kpi-card.is-wcoin {
  border-color: rgba(234, 189, 101, 0.65) !important;
}

.econ-kpi-card.is-goblin {
  border-color: rgba(52, 211, 153, 0.45) !important;
}

.econ-kpi-label {
  color: #C7BAB0 !important;
}

.econ-kpi-val {
  color: #F7D894 !important;
}

.econ-toolbar {
  background: #141012 !important;
  border: 1px solid #654835 !important;
  border-radius: 10px !important;
}

.econ-field select,
.econ-field input {
  background: #0D0B0C !important;
  border: 1px solid #654835 !important;
  color: #F3EBDD !important;
}

/* Loja de Pacotes estilo referência do vídeo (3 colunas, cabeçalho artístico, destaque ouro) */
.econ-packages-grid,
.econ-pkg-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

@media (max-width: 960px) {
  .econ-packages-grid,
  .econ-pkg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .econ-packages-grid,
  .econ-pkg-grid {
    grid-template-columns: 1fr !important;
  }
}

.econ-pkg-card {
  position: relative;
  background: linear-gradient(180deg, #20191C 0%, #141012 100%) !important;
  border: 1px solid #654835 !important;
  border-radius: 12px !important;
  padding: 20px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.econ-pkg-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 4px;
  background: linear-gradient(90deg, #782936 0%, #EABD65 50%, #782936 100%);
}

.econ-pkg-card:hover {
  border-color: #EABD65 !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.72), 0 0 22px rgba(234, 189, 101, 0.14);
}

.econ-pkg-badge,
.econ-badge-promo {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #EABD65, #C79238) !important;
  color: #21160B !important;
  border: none !important;
  margin-bottom: 10px;
}

.econ-pkg-title {
  font-family: var(--font-cinzel, 'Cinzel', serif) !important;
  font-size: 1.12rem !important;
  color: #F3EBDD !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px !important;
}

.econ-pkg-coins {
  font-size: 1.4rem !important;
  color: #F7D894 !important;
  margin-block: 6px 2px;
}

.econ-pkg-price {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #F3EBDD !important;
}

.econ-pkg-subprice {
  color: #C7BAB0 !important;
}

.econ-banner {
  background: rgba(25, 21, 23, 0.9) !important;
  border-color: #654835;
  color: #F3EBDD !important;
}

.econ-banner.is-warn {
  border-left-color: #EABD65 !important;
  background: rgba(234, 189, 101, 0.1) !important;
}

.econ-banner.is-ok {
  border-left-color: #34D399 !important;
  background: rgba(52, 211, 153, 0.1) !important;
}

.econ-table-wrap {
  background: #141012 !important;
  border: 1px solid #654835 !important;
}

.econ-table thead th {
  background: #1C1619 !important;
  color: #F7D894 !important;
  border-bottom: 1px solid #654835 !important;
  font-family: var(--font-cinzel, 'Cinzel', serif);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.econ-table tbody th,
.econ-table tbody td {
  color: #F3EBDD !important;
  border-bottom: 1px solid rgba(199, 186, 176, 0.08) !important;
}

dialog#econCheckoutModal,
dialog#econ-vip-confirm-dialog,
dialog.econ-checkout-dialog {
  background: linear-gradient(180deg, #1B1518 0%, #120E10 100%) !important;
  border: 1px solid #EABD65 !important;
  color: #F3EBDD !important;
}
