/* ═══════════════════════════════════════════════════════
   hesabim.css  –  Account Dashboard Styles
   Uses emerald-clone.css design tokens
   ═══════════════════════════════════════════════════════ */

/* ── Dashboard Shell: sidebar + main ── */
.dash-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  width: min(1800px, calc(100vw - clamp(24px, 10vw, 220px)));
  max-width: none;
  margin: 18px auto 40px;
  padding: 0 12px;
  min-height: calc(100vh - 200px);
}

/* ──────────────────────────────────────
   SIDEBAR
   ────────────────────────────────────── */
.dash-sidebar {
  position: sticky;
  top: 130px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(180deg, rgba(11, 4, 24, 0.97), rgba(11, 4, 24, 0.98));
  border: 1px solid rgba(166, 92, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(11, 4, 24, 0.35);
}

/* ── User Card ── */
.sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 14px;
  background: linear-gradient(135deg, rgba(166, 92, 255, 0.12), transparent);
  border-bottom: 1px solid rgba(166, 92, 255, 0.1);
}

.sidebar-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-strong));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(166, 92, 255, 0.35);
}

.avatar-letter {
  font-family: "GilroyArwen", "Inter", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #f5f1e6;
  line-height: 1;
}

.avatar-status-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(11, 4, 24, 0.98);
}

.avatar-status-dot.online {
  background: #a86bff;
  box-shadow: 0 0 8px rgba(166, 92, 255, 0.6);
}

.sidebar-username {
  margin: 0;
  font-size: 17px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
}

/* ── Balance Cards ── */
.sidebar-balance-card {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(166, 92, 255, 0.08);
}

.balance-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.balance-label span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.balance-refresh-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(166, 92, 255, 0.2);
  background: rgba(166, 92, 255, 0.08);
  color: var(--emerald);
  font-size: 11px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.balance-refresh-btn:hover {
  transform: rotate(180deg);
  background: rgba(166, 92, 255, 0.2);
}

.balance-amount {
  margin: 2px 0 10px;
  font-size: 26px;
  font-family: "GilroyArwen", "Inter", sans-serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.bonus-amount {
  color: #c9a8ff;
}

.balance-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.bal-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 6px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.bal-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 4, 24, 0.3);
}

.bal-deposit {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-strong));
  color: #f5f1e6;
}

.bal-withdraw {
  background: linear-gradient(135deg, rgba(26, 14, 48, 0.95), rgba(11, 4, 24, 0.95));
  color: var(--text);
  border: 1px solid rgba(166, 92, 255, 0.2);
}

.balance-note {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0.7;
}

.sidebar-balance-bonus {
  padding-bottom: 16px;
}

/* ── Sidebar Nav ── */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 6px 0 10px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-link i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.sidebar-link:hover {
  color: var(--text);
  background: rgba(166, 92, 255, 0.06);
}

.sidebar-link:hover i {
  opacity: 1;
}

.sidebar-link.active {
  color: var(--emerald);
  background: linear-gradient(90deg, rgba(166, 92, 255, 0.12), transparent);
  border-left-color: var(--emerald);
}

.sidebar-link.active i {
  opacity: 1;
  color: var(--emerald);
}

/* ──────────────────────────────────────
   MAIN CONTENT
   ────────────────────────────────────── */
.dash-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* ── Breadcrumb ── */
.dash-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0;
}

.dash-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.dash-breadcrumb a:hover {
  color: var(--emerald);
}

.dash-breadcrumb i {
  font-size: 11px;
  opacity: 0.5;
}

.dash-breadcrumb span {
  color: var(--text);
  font-weight: 600;
}

/* ── Profile Strip ── */
.dash-profile-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(166, 92, 255, 0.15);
  background: linear-gradient(135deg, rgba(11, 4, 24, 0.97), rgba(11, 4, 24, 0.98));
  box-shadow: 0 8px 28px rgba(11, 4, 24, 0.25);
}

.profile-strip-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-strip-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b11226, #1a0e30);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(177, 18, 38, 0.35);
}

.avatar-letter-lg {
  font-family: "GilroyArwen", "Inter", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #f5f1e6;
  line-height: 1;
}

.profile-strip-name {
  margin: 0 0 4px;
  font-size: 20px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  color: var(--text);
}

.profile-strip-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.badge-online {
  background: #a86bff;
  box-shadow: 0 0 6px rgba(166, 92, 255, 0.5);
}

.badge-text {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-text.muted {
  opacity: 0.6;
}

.profile-strip-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.psa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid rgba(166, 92, 255, 0.18);
  background: linear-gradient(135deg, rgba(26, 14, 48, 0.95), rgba(11, 4, 24, 0.95));
  color: var(--text);
  font-size: 13px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.psa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 4, 24, 0.3);
  border-color: var(--emerald);
}

.psa-btn.active,
.psa-btn-deposit.active {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-strong));
  color: #f5f1e6;
  border-color: rgba(245, 241, 230, 0.15);
}

/* ── Dashboard Card ── */
.dash-card {
  border-radius: 14px;
  border: 1px solid rgba(166, 92, 255, 0.12);
  background: linear-gradient(180deg, rgba(11, 4, 24, 0.97), rgba(11, 4, 24, 0.98));
  padding: 22px;
  box-shadow: 0 8px 28px rgba(11, 4, 24, 0.25);
}

.dash-card-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
}

/* ── Deposit/Withdraw Tabs ── */
.dw-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 22px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(166, 92, 255, 0.15);
}

.dw-tab {
  padding: 12px 16px;
  border: none;
  background: linear-gradient(180deg, rgba(11, 4, 24, 0.98), rgba(11, 4, 24, 0.98));
  color: var(--muted);
  font-size: 15px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
  text-align: center;
  letter-spacing: 0.3px;
}

.dw-tab:first-child {
  border-right: 1px solid rgba(166, 92, 255, 0.1);
}

.dw-tab:hover {
  color: var(--text);
  background: rgba(166, 92, 255, 0.08);
}

.dw-tab.active {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-strong));
  color: #f5f1e6;
}

/* ── Panels ── */
.dw-panel {
  display: none;
}

.dw-panel.active {
  display: block;
  animation: dashFadeIn 0.35s ease;
}

@keyframes dashFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Payment Methods Grid ── */
.payment-methods {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pm-card {
  flex: 0 0 calc(20% - 8px);
  min-width: 120px;
  padding: 0;
  border-radius: 12px;
  border: 2px solid rgba(166, 92, 255, 0.12);
  background: linear-gradient(180deg, rgba(26, 14, 48, 0.95), rgba(11, 4, 24, 0.98));
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.pm-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 16px 10px;
}

.pm-card i {
  font-size: 24px;
  color: var(--emerald);
  transition: transform 0.2s ease;
}

.pm-card span {
  font-size: 13px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
}

.pm-card small {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pm-card:hover {
  transform: translateY(-3px);
  border-color: rgba(166, 92, 255, 0.4);
  box-shadow: 0 8px 20px rgba(166, 92, 255, 0.12);
}

.pm-card:hover i {
  transform: scale(1.15);
}

.pm-card.active {
  border-color: var(--emerald);
  background: linear-gradient(180deg, rgba(166, 92, 255, 0.15), rgba(26, 14, 48, 0.08));
  box-shadow: 0 0 0 1px rgba(166, 92, 255, 0.3), 0 8px 20px rgba(166, 92, 255, 0.15);
}

.pm-card.active i {
  color: #f5f1e6;
  filter: drop-shadow(0 0 6px rgba(166, 92, 255, 0.5));
}

/* ── Deposit Form ── */
.deposit-form {
  max-width: 600px;
}

.deposit-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.deposit-input-wrap {
  position: relative;
  margin-bottom: 14px;
}

.deposit-currency {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 700;
  color: var(--emerald);
  pointer-events: none;
}

.deposit-input {
  width: 100%;
  padding: 14px 16px 14px 38px;
  border-radius: 10px;
  border: 2px solid rgba(166, 92, 255, 0.2);
  background: rgba(11, 4, 24, 0.3);
  color: var(--text);
  font-size: 18px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: textfield;
  -moz-appearance: textfield;
}

.deposit-input::-webkit-inner-spin-button,
.deposit-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.deposit-input::placeholder {
  color: rgba(169, 187, 176, 0.4);
  font-weight: 500;
}

.deposit-input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(166, 92, 255, 0.15), 0 4px 12px rgba(166, 92, 255, 0.1);
}

/* ── Quick Amounts ── */
.quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.qa-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(166, 92, 255, 0.15);
  background: rgba(166, 92, 255, 0.06);
  color: var(--text);
  font-size: 13px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.qa-btn:hover {
  transform: translateY(-1px);
  background: rgba(166, 92, 255, 0.15);
  border-color: var(--emerald);
  color: #f5f1e6;
}

.qa-btn:active {
  transform: scale(0.97);
}

.qa-btn.selected {
  background: var(--emerald);
  color: #f5f1e6;
  border-color: var(--emerald);
}

/* ── Note ── */
.deposit-note {
  margin: 0 0 18px;
  font-size: 12px;
  color: #c9a8ff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Submit ── */
.deposit-submit-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-strong));
  color: #f5f1e6;
  font-size: 16px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 4px 16px rgba(166, 92, 255, 0.3);
}

.deposit-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(166, 92, 255, 0.4);
  filter: brightness(1.08);
}

.deposit-submit-btn:active {
  transform: translateY(0) scale(0.99);
}

.withdraw-submit-btn {
  background: linear-gradient(135deg, #b11226, #b11226);
  box-shadow: 0 4px 16px rgba(177, 18, 38, 0.3);
}

.withdraw-submit-btn:hover {
  box-shadow: 0 8px 24px rgba(177, 18, 38, 0.4);
}

/* ── Empty State ── */
.transactions-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 12px;
  color: var(--muted);
  opacity: 0.5;
}

.transactions-empty i {
  font-size: 40px;
}

.transactions-empty p {
  margin: 0;
  font-size: 14px;
}

/* ── Topbar Logged-in State ── */
.auth-logged-in {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-deposit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-strong));
  color: #f5f1e6;
  font-size: 13px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar-deposit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(166, 92, 255, 0.35);
}

.topbar-balance {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(11, 4, 24, 0.3);
  border: 1px solid rgba(166, 92, 255, 0.1);
  white-space: nowrap;
}

.topbar-avatar-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(166, 92, 255, 0.25);
  background: radial-gradient(circle at 30% 25%, rgba(166, 92, 255, 0.22), rgba(11, 4, 24, 0.92));
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar-avatar-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(166, 92, 255, 0.3);
}

.topbar-time {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  min-width: 56px;
  text-align: right;
}

/* ── Mobile Sidebar Toggle ── */
.mobile-sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--emerald);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-strong));
  color: #f5f1e6;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(166, 92, 255, 0.4);
  transition: transform 0.2s ease;
}

.mobile-sidebar-toggle:hover {
  transform: scale(1.05);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(11, 4, 24, 0.6);
  backdrop-filter: blur(3px);
}

.sidebar-overlay.active {
  display: block;
  animation: fadeInOverlay 0.25s ease;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ──────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────── */
@media (max-width: 1140px) {
  .dash-shell {
    grid-template-columns: 230px 1fr;
    gap: 14px;
  }

  .pm-card {
    flex: 0 0 calc(25% - 8px);
  }

  .profile-strip-actions {
    gap: 6px;
  }

  .psa-btn {
    padding: 7px 12px;
    font-size: 12px;
  }
}

@media (max-width: 960px) {
  .dash-shell {
    grid-template-columns: 1fr;
    width: calc(100vw - 24px);
  }

  .dash-sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    bottom: 0;
    z-index: 50;
    width: 280px;
    border-radius: 0 16px 16px 0;
    transition: left 0.35s cubic-bezier(.22,.68,0,1.1);
    overflow-y: auto;
  }

  .dash-sidebar.open {
    left: 0;
  }

  .mobile-sidebar-toggle {
    display: grid;
    place-items: center;
  }

  .dash-profile-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .pm-card {
    flex: 0 0 calc(33.333% - 8px);
  }
}

@media (max-width: 680px) {
  .dash-shell {
    margin-top: 12px;
  }

  .profile-strip-actions {
    flex-direction: column;
    width: 100%;
  }

  .psa-btn {
    width: 100%;
    justify-content: center;
  }

  .pm-card {
    flex: 0 0 calc(50% - 5px);
    min-width: 0;
  }

  .quick-amounts {
    gap: 6px;
  }

  .qa-btn {
    padding: 7px 10px;
    font-size: 12px;
  }

  .dash-card {
    padding: 16px;
  }

  .topbar-balance,
  .topbar-time {
    display: none;
  }
}

@media (max-width: 420px) {
  .pm-card {
    flex: 1 1 100%;
  }
}

/* ══════════════════════════════════════════════════
   FOOTER TICKER STRIPS  –  Scrolling Logo Marquees
   ══════════════════════════════════════════════════ */

/* Override the old static footer strips – the footer from emerald-clone.css
   is included via the shared stylesheet, so we override with the ticker
   versions here.  */
.footer-provider-strip,
.footer-payment-strip {
  display: none !important;   /* hide old static strips on this page */
}

/* Ticker container */
.footer-ticker-strip {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  /* Fade edges to suggest continuity */
  mask-image: linear-gradient(90deg, transparent 0%, #0b0418 6%, #0b0418 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #0b0418 6%, #0b0418 94%, transparent 100%);
}

/* The track holds two identical .ticker-content divs side-by-side */
.ticker-track {
  display: flex;
  width: max-content;
  animation: footerTickerScroll 40s linear infinite;
}

.footer-ticker-strip:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  padding-right: 28px;   /* gap between the two copies */
}

/* Provider logo images */
.footer-ticker-strip .ticker-content img {
  height: 55px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0.88) saturate(0.9);
  transition: transform 0.25s ease, filter 0.25s ease;
  flex-shrink: 0;
}

.footer-ticker-strip .ticker-content img:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1) saturate(1) drop-shadow(0 6px 12px rgba(166, 92, 255, 0.25));
}

/* Payment logo overrides — slightly larger pills */
.footer-ticker-payments .ticker-content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 5px 14px;
  border-radius: 10px;
  border: 1px solid rgba(245, 241, 230, 0.1);
  background: rgba(245, 241, 230, 0.05);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  flex-shrink: 0;
}

.footer-ticker-payments .ticker-content a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(11, 4, 24, 0.3);
  background: rgba(245, 241, 230, 0.1);
}

.footer-ticker-payments .ticker-content img {
  height: 30px;
  max-width: 120px;
  border: none;
  background: none;
  padding: 0;
  filter: brightness(0.95);
}

.footer-ticker-payments .ticker-content img:hover {
  box-shadow: none;
  transform: none;
}

/* Keyframe for continuous left-to-right scroll */
@keyframes footerTickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Payment ticker scrolls a bit slower since fewer items */
.footer-ticker-payments .ticker-track {
  animation-duration: 30s;
}

/* Footer on hesabim needs full-width since it's outside dash-shell */
.site-footer .footer-shell {
  width: min(1600px, calc(100vw - clamp(28px, 14vw, 360px)));
}

@media (max-width: 820px) {
  .footer-ticker-strip .ticker-content img {
    height: 45px;
    max-width: 140px;
  }

  .footer-ticker-payments .ticker-content a {
    height: 40px;
    padding: 4px 10px;
  }

  .footer-ticker-payments .ticker-content img {
    height: 24px;
  }

  .ticker-content {
    gap: 18px;
    padding-right: 18px;
  }

  .ticker-track {
    animation-duration: 30s;
  }

  .footer-ticker-payments .ticker-track {
    animation-duration: 22s;
  }
}


/* ══════════════════════════════════════════════════════════
   MOBILE FIX — Deposit / Withdraw Pages
   Added: 2026-04-13
   Fixes missing mobile responsive styles for para yatir/cek
   ══════════════════════════════════════════════════════════ */

/* ── 960px: Tablet ── */
@media (max-width: 960px) {
  .deposit-form {
    max-width: 100%;
  }

  .dw-tabs {
    margin-bottom: 16px;
  }

  .dw-tab {
    padding: 11px 12px;
    font-size: 14px;
  }
}

/* ── 680px: Mobile landscape / large phone ── */
@media (max-width: 680px) {
  /* Deposit form full width */
  .deposit-form {
    max-width: 100%;
    padding: 0;
  }

  /* Tabs — full width, larger touch targets */
  .dw-tabs {
    margin-bottom: 14px;
    border-radius: 8px;
  }

  .dw-tab {
    padding: 12px 8px;
    font-size: 14px;
    letter-spacing: 0.2px;
  }

  /* Payment method cards — 2 per row */
  .payment-methods {
    gap: 8px;
    margin-bottom: 16px;
  }

  .pm-card-inner {
    padding: 12px 8px;
    gap: 4px;
  }

  .pm-card-inner img {
    max-width: 90px;
    height: 32px;
  }

  .pm-card i {
    font-size: 20px;
  }

  .pm-card span {
    font-size: 12px;
  }

  .pm-card small {
    font-size: 11px;
  }

  /* Deposit input — full width, better sizing */
  .deposit-input-wrap {
    margin-bottom: 10px;
  }

  .deposit-input {
    font-size: 16px;
    padding: 12px 14px 12px 34px;
  }

  .deposit-currency {
    font-size: 16px;
    left: 12px;
  }

  .deposit-label {
    font-size: 12px;
    margin-bottom: 6px;
  }

  /* Quick amounts — wrap nicely, touch-friendly */
  .quick-amounts {
    gap: 6px;
    margin-bottom: 12px;
  }

  .qa-btn {
    padding: 9px 8px;
    font-size: 12px;
    flex: 1 1 calc(33.33% - 4px);
    min-width: 0;
    text-align: center;
  }

  /* Submit button */
  .deposit-submit-btn {
    padding: 13px 16px;
    font-size: 15px;
    border-radius: 10px;
  }

  /* Note */
  .deposit-note {
    font-size: 11px;
    margin-bottom: 14px;
  }

  /* Card title */
  .dash-card-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  /* Profile strip small screen fixes */
  .dash-profile-strip {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .profile-strip-avatar {
    width: 44px;
    height: 44px;
  }

  .avatar-letter-lg {
    font-size: 22px;
  }

  .profile-strip-name {
    font-size: 17px;
  }

  .profile-strip-badges {
    gap: 6px;
  }

  .badge-text {
    font-size: 11px;
  }
}

/* ── 480px: Small phones ── */
@media (max-width: 480px) {
  /* Dash card tighter padding */
  .dash-card {
    padding: 14px 12px;
    border-radius: 12px;
  }

  /* Tabs — tighter */
  .dw-tab {
    padding: 11px 6px;
    font-size: 13px;
  }

  /* Payment cards still 2 per row but tighter */
  .pm-card {
    flex: 0 0 calc(50% - 3px);
    border-radius: 10px;
  }

  .pm-card-inner {
    padding: 10px 6px;
    gap: 3px;
  }

  .pm-card-inner img {
    max-width: 76px;
    height: 28px;
  }

  .pm-card span {
    font-size: 11px;
  }

  /* Deposit input — prevent zoom on iOS (font-size >= 16px) */
  .deposit-input {
    font-size: 16px;
    padding: 11px 12px 11px 32px;
  }

  .deposit-currency {
    font-size: 15px;
    left: 10px;
  }

  /* Quick amounts — 3 per row */
  .qa-btn {
    flex: 1 1 calc(33.33% - 4px);
    padding: 8px 6px;
    font-size: 11px;
  }

  /* Submit button */
  .deposit-submit-btn {
    padding: 12px 14px;
    font-size: 14px;
  }

  /* Profile strip — stack actions */
  .profile-strip-actions {
    width: 100%;
  }

  .psa-btn {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
    font-size: 11px;
  }

  /* Breadcrumb */
  .dash-breadcrumb {
    font-size: 12px;
    gap: 6px;
    flex-wrap: wrap;
  }
}

/* ── 380px: Very small phones ── */
@media (max-width: 380px) {
  .dash-card {
    padding: 12px 10px;
  }

  /* Payment cards — single column */
  .pm-card {
    flex: 1 1 100%;
  }

  .pm-card-inner {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 12px;
  }

  .pm-card-inner img {
    max-width: 60px;
    height: 28px;
    flex-shrink: 0;
  }

  .pm-card span {
    font-size: 13px;
  }

  /* Quick amounts — 2 per row for very small */
  .qa-btn {
    flex: 1 1 calc(50% - 3px);
  }

  .dw-tab {
    font-size: 12px;
    padding: 10px 4px;
  }

  .deposit-submit-btn {
    font-size: 13px;
    padding: 11px 12px;
  }

  .deposit-note {
    font-size: 10px;
    flex-wrap: wrap;
  }
}

/* ── Touch-friendly overrides (any screen that supports hover:none) ── */
@media (hover: none) and (pointer: coarse) {
  .pm-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .pm-card:hover {
    transform: none;
  }

  .pm-card:active {
    transform: scale(0.97);
    border-color: rgba(166, 92, 255, 0.4);
  }

  .qa-btn:hover {
    transform: none;
  }

  .qa-btn:active {
    transform: scale(0.95);
    background: rgba(166, 92, 255, 0.15);
    border-color: var(--emerald);
  }

  .deposit-submit-btn:hover {
    transform: none;
  }

  .deposit-submit-btn:active {
    transform: scale(0.98);
  }
}
