/* -------------------------------------------------------------
   MODERN MOBILE DESIGN SYSTEM - FF RESELL SHQIP
   ------------------------------------------------------------- */

:root {
  --bg-main: #0b0f19;
  --bg-card: rgba(18, 24, 38, 0.88);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-hover: rgba(26, 35, 54, 0.95);
  
  --primary: #f59e0b;
  --primary-glow: rgba(245, 158, 11, 0.25);
  --secondary: #6366f1;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;

  --neon-red: #ff2d55;
  --neon-red-glow: 0 0 16px rgba(255, 45, 85, 0.45);

  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dark: #64748b;

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  --shadow-card: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(245, 158, 11, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  overflow-x: hidden;
}

.mobile-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  padding: 0 14px calc(90px + env(safe-area-inset-bottom, 16px)) 14px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hidden {
  display: none !important;
}

/* -------------------------------------------------------------
   LOGIN SCREEN
   ------------------------------------------------------------- */
.login-container {
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  padding-top: max(24px, calc(env(safe-area-inset-top) + 20px));
  padding-bottom: max(24px, calc(env(safe-area-inset-bottom) + 20px));
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
}

.login-brand {
  text-align: center;
  margin-bottom: 22px;
}

.logo-icon-lg {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px auto;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.login-brand h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.login-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.login-form .form-group {
  margin-bottom: 14px;
}

.remember-row {
  margin-bottom: 18px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}

.quick-login-hints {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.quick-login-hints small {
  font-size: 13px;
  color: var(--text-dark);
  display: block;
  margin-bottom: 8px;
}

.quick-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* -------------------------------------------------------------
   HEADER
   ------------------------------------------------------------- */
.app-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  margin-left: -14px;
  margin-right: -14px;
  margin-bottom: 16px;
  padding-top: max(16px, calc(env(safe-area-inset-top) + 12px));
  padding-bottom: 12px;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  color: #fff;
}

.brand-text h1 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text .subtitle {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lootbar-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-full);
}

.lootbar-pill.low-balance {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: currentColor;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.logout-badge {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

/* -------------------------------------------------------------
   HERO METRIC CARDS
   ------------------------------------------------------------- */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.highlight-card {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.15), rgba(18, 24, 38, 0.95));
  border-color: rgba(245, 158, 11, 0.3);
}

.cash-card {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.15), rgba(18, 24, 38, 0.95));
  border-color: rgba(16, 185, 129, 0.3);
}

.card-icon-svg {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.card-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 2px 0 2px 0;
}

.card-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

.card-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.card-subtext {
  font-size: 13px;
  color: var(--text-dark);
}

.settle-mini-btn {
  margin-top: 6px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.analytics-row {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}
.analytics-row strong {
  color: #f59e0b;
}

/* -------------------------------------------------------------
   NAVIGATION TABS
   ------------------------------------------------------------- */
.nav-tabs {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
  padding-bottom: max(14px, calc(env(safe-area-inset-bottom) + 8px));
  padding-left: max(8px, env(safe-area-inset-left));
  padding-right: max(8px, env(safe-area-inset-right));
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
  padding: 4px 0;
  transition: all 0.2s ease;
}

.tab-icon-svg {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-btn.active {
  color: var(--primary);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.2s ease-out;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------------
   SEARCH & FILTERS
   ------------------------------------------------------------- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 16px;
  font-weight: 700;
}

.live-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.blink-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 3px;
}

.icon-action-btn {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.search-bar-wrap {
  margin-bottom: 10px;
}

.search-bar-wrap input {
  width: 100%;
  background: #101726;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  outline: none;
}

.search-bar-wrap input:focus {
  border-color: var(--primary);
}

.filter-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 10px;
  scrollbar-width: none;
}

.filter-pill {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  cursor: pointer;
}

.filter-pill.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  font-weight: 700;
}

/* -------------------------------------------------------------
   ORDERS LIST (CLICKABLE)
   ------------------------------------------------------------- */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.order-card:active {
  transform: scale(0.98);
}

.order-card.special-order {
  border-color: rgba(255, 45, 85, 0.4);
  box-shadow: 0 0 12px rgba(255, 45, 85, 0.2);
}

.order-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.customer-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.customer-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.player-uid {
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.order-product {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.order-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dark);
}

.badge-special {
  background: rgba(255, 45, 85, 0.2);
  color: #ff2d55;
  border: 1px solid rgba(255, 45, 85, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.badge-reward {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.order-financials {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.order-sell-price {
  font-size: 16px;
  font-weight: 800;
  color: #10b981;
}

.order-profit {
  font-size: 13px;
  font-weight: 700;
  color: #f59e0b;
}

.order-cost {
  font-size: 13px;
  color: var(--text-dark);
}

/* -------------------------------------------------------------
   PAGINATION BAR
   ------------------------------------------------------------- */
.pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 8px 4px;
}

.page-indicator {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   VIP LEADERBOARD CARDS (WHITE NORMAL VS NEON RED SPECIAL)
   ------------------------------------------------------------- */
.customers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.customer-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #ffffff;
}

.customer-card:active {
  transform: scale(0.98);
}

/* E Kuqe Neon për Miqtë & Familjarët */
.customer-card.neon-red-card {
  background: linear-gradient(145deg, rgba(255, 45, 85, 0.12), rgba(18, 24, 38, 0.95));
  border: 1.5px solid #ff2d55;
  box-shadow: 0 0 16px rgba(255, 45, 85, 0.4), inset 0 0 10px rgba(255, 45, 85, 0.08);
}

.customer-card.neon-red-card .customer-title {
  color: #ff436b;
  text-shadow: 0 0 8px rgba(255, 45, 85, 0.5);
}

.neon-red-badge {
  background: rgba(255, 45, 85, 0.2);
  color: #ff2d55;
  border: 1px solid #ff2d55;
  font-size: 13px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(255, 45, 85, 0.4);
}

.customer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cust-rank-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rank-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
}

.loyalty-progress-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loyalty-bar-bg {
  width: 100%;
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
  overflow: hidden;
}

.loyalty-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #10b981);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.loyalty-bar-fill.eligible {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  animation: pulse 1.5s infinite;
}

.loyalty-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.reward-ready-banner {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #f59e0b;
}

/* -------------------------------------------------------------
   SETTLEMENT TAB
   ------------------------------------------------------------- */
.settlement-hero-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(18, 24, 38, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  margin-bottom: 20px;
}

.box-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.settle-amount {
  font-size: 32px;
  font-weight: 800;
  color: #10b981;
  margin: 6px 0;
}

.box-desc {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.subsection-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.settlement-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

/* -------------------------------------------------------------
   PRICING LIST
   ------------------------------------------------------------- */
.product-row {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-info h4 {
  font-size: 14px;
  font-weight: 700;
}

.product-prices {
  display: flex;
  gap: 10px;
  align-items: center;
}

.price-box {
  text-align: right;
}

.price-box small {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
}

.price-box strong {
  font-size: 14px;
}

.product-action-btns {
  display: flex;
  gap: 6px;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

/* -------------------------------------------------------------
   SETTINGS CARDS
   ------------------------------------------------------------- */
.settings-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 14px;
}

.settings-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.form-group input, .form-group select {
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
}

.history-sync-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.history-sync-box h4 {
  font-size: 13px;
  margin-bottom: 4px;
}

.small-text {
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.sync-actions-row {
  display: flex;
  gap: 8px;
}

.sync-actions-row select {
  background: #0f172a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 6px;
  font-size: 14px;
}

/* -------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------- */
.btn {
  font-family: inherit;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
}

.btn-secondary {
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-large {
  width: 100%;
  padding: 12px;
  font-size: 14px;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* -------------------------------------------------------------
   MODALS
   ------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}

.modal-content {
  width: 100%;
  max-width: 400px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.modal-content-large {
  max-width: 440px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.player-modal-uid {
  font-size: 13px;
  color: var(--text-muted);
}

.player-stats-bar {
  display: flex;
  justify-content: space-between;
  background: #1a2234;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-size: 13px;
}

.player-stats-bar strong {
  color: #10b981;
}

.modal-scrollable {
  overflow-y: auto;
  max-height: 50vh;
}

.player-orders-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.player-order-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
}

.modal-body {
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.modal-footer-between {
  justify-content: space-between;
  align-items: center;
}

.modal-footer-right {
  display: flex;
  gap: 8px;
}

/* -------------------------------------------------------------
   TOAST NOTIFICATIONS
   ------------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideDown 0.3s ease-out;
}

.toast.toast-success {
  border-color: #10b981;
}

.toast.toast-error {
  border-color: #ef4444;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hide owner elements when in manager view */
body.manager-mode .owner-only {
  display: none !important;
}


/* -------------------------------------------------------------
   DATE & TIME BADGES (HIGH CONTRAST & VISIBILITY)
   ------------------------------------------------------------- */
.order-time-badge {
  display: inline-flex;
  align-items: center;
  font-size: 13px !important;
  font-weight: 700;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.2px;
}

.order-time-badge.today {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.45);
  color: #38bdf8;
}

.order-time-badge.yesterday {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

.customer-name {
  font-size: 16px !important;
  font-weight: 800;
  color: #ffffff;
}

.player-uid {
  font-size: 13px !important;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 7px;
  border-radius: 5px;
}

.order-product {
  font-size: 15px !important;
  font-weight: 700;
  color: #e2e8f0;
  margin: 2px 0;
}

.order-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.order-profit {
  font-size: 13px !important;
  font-weight: 700;
  color: #f59e0b;
}

.order-cost {
  font-size: 12px !important;
  font-weight: 600;
  color: #94a3b8;
}

.tab-btn {
  font-size: 12px !important;
  font-weight: 700;
  color: #94a3b8;
  gap: 5px;
}

.tab-btn.active {
  color: #60a5fa;
}

.card-label {
  font-size: 13px !important;
  font-weight: 700;
  color: #cbd5e1;
}

.card-subtext {
  font-size: 13px !important;
  color: #94a3b8;
}

.form-group label {
  font-size: 13px !important;
  font-weight: 700;
  color: #e2e8f0;
}

.badge-special {
  font-size: 12px !important;
  font-weight: 800;
  padding: 3px 8px;
}

.badge-reward {
  font-size: 12px !important;
  font-weight: 800;
  padding: 3px 8px;
}

.neon-red-badge {
  font-size: 12px !important;
  font-weight: 800;
  padding: 3px 8px;
}


.badge-settled {
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}

.badge-unsettled {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}
