/* App Custom Enhancements for SMS444 Clone */

/* Smooth animations & typography */
html {
  scroll-behavior: smooth;
  font-family: 'Century Gothic', Tahoma, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

body {
  background-color: var(--mainBodyBG, #ededed) !important;
  color: #212529;
  min-height: 100vh;
}

/* Ensure font awesome icons display nicely */
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

/* Back and Lay Odds styling */
.back, .count .back, td .back, span.back {
  background-color: #72bbef !important;
  color: #111111 !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  padding: 3px 6px !important;
  min-width: 48px !important;
  max-width: 54px !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 2px !important;
  margin-right: 2px !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.lay, .count .lay, td .lay, span.lay {
  background-color: #faa9ba !important;
  color: #111111 !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  padding: 3px 6px !important;
  min-width: 48px !important;
  max-width: 54px !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.back:hover, .lay:hover {
  filter: brightness(0.92);
}

.back:active, .lay:active {
  transform: scale(0.96);
}

.count {
  text-align: center !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

.active-odds-selection {
  outline: 2px solid #ff9800 !important;
  outline-offset: -2px;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.7) !important;
}

/* Casino card hover effects */
.image-wrapper {
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
  cursor: pointer;
  background: #111;
}

.image-wrapper:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.image-wrapper img {
  transition: transform 0.3s ease;
}

.image-wrapper:hover img {
  transform: scale(1.04);
}

/* Bet Slip in Right Navigation */
.betslip-card {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid #ddd;
  font-family: inherit;
  animation: fadeInSlip 0.25s ease-out;
}

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

.betslip-header {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}

.betslip-header.back-header {
  background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
}

.betslip-header.lay-header {
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.betslip-header .close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.betslip-body {
  padding: 12px;
  background: #fbfbfb;
}

.betslip-runner {
  font-weight: 700;
  font-size: 14px;
  color: #111;
  margin-bottom: 2px;
}

.betslip-match {
  font-size: 11px;
  color: #666;
  margin-bottom: 10px;
}

.betslip-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.betslip-col {
  flex: 1;
}

.betslip-col label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #555;
  margin-bottom: 3px;
}

.betslip-input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  color: #111;
}

.betslip-input:focus {
  outline: none;
  border-color: #ff9800;
  box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.2);
}

.quick-stakes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 10px;
}

.quick-stake-btn {
  background: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: 3px;
  padding: 5px 2px;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.quick-stake-btn:hover {
  background: #ff9800;
  color: #fff;
  border-color: #ff9800;
}

.betslip-summary {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  padding: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  margin-bottom: 10px;
}

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

.betslip-btn {
  flex: 1;
  padding: 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.betslip-btn-cancel {
  background: #6c757d;
  color: #fff;
}

.betslip-btn-cancel:hover {
  background: #5a6268;
}

.betslip-btn-place {
  background: #28a745;
  color: #fff;
}

.betslip-btn-place:hover {
  background: #218838;
}

/* User Logged In Header State */
.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13px;
  padding: 4px 8px;
}

.user-profile-badge ~ button,
.user-profile-badge ~ .btn,
.user-profile-badge ~ a {
  display: none !important;
}

.user-balance-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
}

.user-exposure-pill {
  color: #ff5252;
  font-weight: 600;
  font-size: 12px;
}

.logout-btn-custom {
  background: #d32f2f;
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.logout-btn-custom:hover {
  background: #b71c1c;
}

/* Notification Toast */
.exchange-toast {
  position: fixed;
  top: 70px;
  right: 20px;
  background: #333;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  font-size: 13px;
  font-weight: 600;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.exchange-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.exchange-toast.success {
  background: #2e7d32;
  border-left: 5px solid #4caf50;
}

.exchange-toast.error {
  background: #c62828;
  border-left: 5px solid #ef5350;
}

.exchange-toast.info {
  background: #0277bd;
  border-left: 5px solid #29b6f6;
}

/* In-Play Pulse */
.inplay-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #4caf50;
  border-radius: 50%;
  margin-right: 5px;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(76, 175, 80, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

/* Search results in modal */
.search-results-list {
  max-height: 350px;
  overflow-y: auto;
  margin-top: 15px;
}

.search-result-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}

.search-result-item:hover {
  background: #f8f9fa;
}

.search-result-sport {
  font-size: 11px;
  background: #ff9800;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
}

/* ========================================================
   MATCH DETAIL & CASINO GAME ARENA STYLES
   ======================================================== */

.active-game-container {
  padding: 10px 15px;
  animation: fadeInContainer 0.25s ease-out;
}

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

/* Match Arena */
.match-detail-header {
  background: #1e293b;
  padding: 12px 18px;
  border-radius: 6px;
  margin-bottom: 12px;
  border-bottom: 2px solid #ff9800;
}

.match-scoreboard-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sport-badge {
  background: #ff9800;
  color: #000;
  font-weight: 800;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
}

.live-score-display {
  font-size: 15px;
}

.ball-timeline {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.ball-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #334155;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ball-dot.four {
  background: #1976d2;
  border-color: #64b5f6;
}

.ball-dot.six {
  background: #7b1fa2;
  border-color: #ba68c8;
}

.ball-dot.wkt {
  background: #d32f2f;
  border-color: #ef5350;
}

.match-table th, .match-table td {
  padding: 10px 8px;
  vertical-align: middle;
}

.back-cell-interactive {
  background-color: #72bbef !important;
  color: #111 !important;
  cursor: pointer !important;
  transition: all 0.15s ease;
  user-select: none;
}

.back-cell-interactive:hover {
  filter: brightness(0.92);
  transform: scale(0.98);
}

.lay-cell-interactive {
  background-color: #faa9ba !important;
  color: #111 !important;
  cursor: pointer !important;
  transition: all 0.15s ease;
  user-select: none;
}

.lay-cell-interactive:hover {
  filter: brightness(0.92);
  transform: scale(0.98);
}

/* Ball By Ball Betting Box */
.ball-bet-box {
  padding: 18px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.ball-bet-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.ball-bet-box .odds-val {
  font-size: 26px;
  font-weight: 800;
  display: block;
  line-height: 1.1;
  margin-bottom: 4px;
}

.ball-bet-box .ball-label {
  font-size: 12px;
}

/* ==========================================
   VIMAAN (AVIATOR) ARENA
   ========================================== */
.aviator-game-wrapper {
  background: #000000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid #222;
}

.aviator-top-bar {
  background: #111;
  padding: 10px 16px;
  border-bottom: 1px solid #222;
}

.aviator-history-pills {
  max-width: 65%;
  white-space: nowrap;
}

.pill-mult {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  display: inline-block;
}

.pill-mult.blue {
  background: #1565c0;
  color: #90caf9;
}

.pill-mult.purple {
  background: #6a1b9a;
  color: #ce93d8;
}

.pill-mult.red {
  background: #c62828;
  color: #ffcdd2;
}

.aviator-stage {
  background: radial-gradient(circle at 50% 60%, #1a0505 0%, #050505 100%);
  height: 420px;
  position: relative;
}

.aviator-multiplier-center {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.aviator-multiplier-center .mult-text {
  font-size: 64px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.aviator-multiplier-center .mult-status {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 3px;
}

.aviator-controls-panel {
  background: #141414;
  border-top: 1px solid #282828;
}

/* ==========================================
   LIVE CARD TABLE ARENA (TEEN PATTI, ETC)
   ========================================== */
.card-game-arena {
  background: #0d1117;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.card-game-header {
  background: #161b22;
  padding: 12px 18px;
  border-bottom: 2px solid #ff9800;
}

.live-table-felt {
  background: radial-gradient(circle, #0e4429 0%, #032313 100%);
  border: 8px solid #302418;
  border-radius: 80px;
  margin: 15px 10px;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

.table-timer-badge {
  display: inline-block;
  background: #ff9800;
  color: #000;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.table-timer-badge.warning {
  background: #d32f2f;
  color: #fff;
}

.playing-card {
  width: 58px;
  height: 82px;
  background: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #111;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  border: 1px solid #ddd;
}

.vs-circle {
  width: 48px;
  height: 48px;
  background: #ff9800;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.winner-label {
  animation: pulse-gold 1s infinite alternate;
}

@keyframes pulse-gold {
  from { transform: scale(1); filter: drop-shadow(0 0 4px #ffd700); }
  to { transform: scale(1.08); filter: drop-shadow(0 0 12px #ffd700); }
}

/* Match Row Hover and Cursor */
tr[id^="market"], .dashboard-custom-table tbody tr, .tbody-custom tr {
  cursor: pointer !important;
  transition: background-color 0.15s ease;
}

tr[id^="market"]:hover, .dashboard-custom-table tbody tr:hover, .tbody-custom tr:hover {
  background-color: #f1f7fd !important;
}

tr[id^="market"] a.match-name, .td-event-name a {
  cursor: pointer !important;
  text-decoration: none;
}

tr[id^="market"] a.match-name:hover, .td-event-name a:hover {
  color: #ff9800 !important;
  text-decoration: underline;
}

/* Casino Card Pointer & Hover */
.casinoicons, app-old-casino .col, app-old-casino .casinoicons a, app-old-casino img {
  cursor: pointer !important;
}

.casinoicons {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease;
  position: relative;
}

.casinoicons:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

.casinoicons:active {
  transform: scale(0.97);
}

/* Live Card Tables: Dragon Tiger, Lucky 7, Andar Bahar */
.dt-card-box {
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid #555;
  border-radius: 10px;
  padding: 15px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.dt-card-box.dragon {
  border-color: #e53935;
}

.dt-card-box.tiger {
  border-color: #fdd835;
}

.dt-card-box.winner {
  border-color: #00e676;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.6);
  transform: scale(1.04);
}

.l7-box {
  background: #1e2638;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid #334155;
}

.l7-box:hover {
  transform: translateY(-3px);
  filter: brightness(1.15);
  border-color: #ff9800;
}

.ab-slot {
  background: #14233c;
  border: 2px dashed #3a506b;
  border-radius: 8px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px;
}

.ab-slot.active-deal {
  border-color: #ff9800;
  background: #1d3356;
}

/* Back button glow */
.btn-back-to-home {
  font-weight: 700 !important;
  transition: all 0.2s ease;
}

.btn-back-to-home:hover {
  background-color: #ffffff !important;
  color: #111111 !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

/* Floating Bet Slip (Mobile & Game Arena) */
.floating-betslip {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 340px;
  max-width: 92vw;
  z-index: 99999;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  animation: slideUpSlip 0.25s ease-out;
}

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

/* Wallet and Exposure Animation & Hover */
.val-pulse {
  animation: numPulse 0.45s ease-out !important;
  display: inline-block;
}

@keyframes numPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); color: #ffeb3b !important; filter: drop-shadow(0 0 6px #ffeb3b); }
  100% { transform: scale(1); }
}

.user-balance-pill {
  cursor: pointer;
  transition: transform 0.18s ease;
}

.user-exposure-pill {
  cursor: pointer;
  transition: transform 0.18s ease;
  background: rgba(244, 67, 54, 0.15);
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.user-balance-pill:hover, .user-exposure-pill:hover {
  transform: scale(1.05);
}

.exposureModals, #exposureModals, #exposureModalss, .modal {
  z-index: 99999 !important;
}

.modal-backdrop {
  z-index: 99990 !important;
}

/* Mobile Specific Responsive Polish */
@media (max-width: 992px) {
  /* Mobile Header Badge */
  .user-profile-badge.mobile-badge {
    display: flex !important;
    align-items: center;
    gap: 4px;
    padding: 2px 2px;
    margin: 0;
  }
  .user-profile-badge.mobile-badge .user-name-tag {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .user-profile-badge.mobile-badge .user-balance-pill {
    padding: 2px 6px;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    white-space: nowrap;
  }
  .user-profile-badge.mobile-badge .user-exposure-pill {
    padding: 2px 5px;
    font-size: 10px;
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.35);
    border-radius: 12px;
    white-space: nowrap;
    cursor: pointer;
  }
  .user-profile-badge.mobile-badge .logout-btn-custom {
    padding: 3px 6px;
    font-size: 11px;
    background: #d32f2f;
    color: #fff;
    border-radius: 4px;
    border: none;
    line-height: 1;
    cursor: pointer;
  }

  /* Floating Bet Slip Mobile Fitting */
  .floating-betslip {
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    width: auto !important;
    max-width: calc(100% - 16px) !important;
    margin: 0 auto;
    z-index: 999999 !important;
  }
  .floating-betslip .betslip-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  }

  /* Mobile Search Modal */
  #searchModal .modal-dialog {
    max-width: 94vw;
    margin: 20px auto !important;
  }
  #searchModal .modal-content {
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  /* Exposure Modal Mobile Sizing */
  .exposureModals .modal-dialog, #exposureModals .modal-dialog {
    max-width: 95vw;
    margin: 15px auto !important;
  }
  .exposureModals .modal-body {
    padding: 6px !important;
  }
  .exposureModals table {
    font-size: 11px;
  }

  /* Touch optimizations */
  .back, .lay, .menu-item, .add-pin, .btn {
    touch-action: manipulation;
  }
  .mobile-men .menu-list {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
}

/* ==========================================
   Account & Profile Modal Design System
   ========================================== */
.accountProfileModal .modal-content {
  background: #182229 !important;
  color: #fff !important;
  border: 1px solid rgba(253, 143, 59, 0.45) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
}
.accountProfileModal .modal-body {
  max-height: calc(88vh - 65px);
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}
.profile-modal-header {
  background: linear-gradient(180deg, #243540 0%, #15222a 100%) !important;
  border-bottom: 2px solid #fd8f3b !important;
  padding: 12px 16px !important;
}
.profile-user-card {
  background: linear-gradient(135deg, #1f2d37 0%, #121c23 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px;
}
.profile-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6a21e 0%, #d14100 100%);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(246, 162, 30, 0.35);
  flex-shrink: 0;
}
.profile-stat-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
}
.profile-stat-box .stat-label {
  font-size: 10px;
  color: #8c9ba5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.profile-stat-box .stat-val {
  font-size: 15px;
  margin-top: 2px;
}
.profile-nav-tabs .nav-link {
  background: rgba(255, 255, 255, 0.06);
  color: #9cb1c1 !important;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.profile-nav-tabs .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}
.profile-nav-tabs .nav-link.active {
  background: #f6a21e !important;
  color: #000 !important;
  font-weight: bold;
}
.profile-info-table {
  font-size: 12px;
  background: rgba(0, 0, 0, 0.25);
}
.profile-info-table td {
  padding: 8px 12px;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #f0f4f8;
}
.profile-info-table td.text-muted {
  color: #9cb1c1 !important;
  font-weight: 500;
}
.profile-user-card .text-muted {
  color: #9cb1c1 !important;
}
.user-profile-badge {
  cursor: pointer;
}
.user-profile-badge:hover {
  filter: brightness(1.1);
}
@media (max-width: 576px) {
  .accountProfileModal .modal-dialog {
    margin: 8px auto !important;
    max-width: 96vw !important;
  }
  .profile-stat-box .stat-val {
    font-size: 13px;
  }
  .profile-nav-tabs .nav-link {
    font-size: 10px;
    padding: 5px 8px;
  }
}

/* ==========================================
   SPA Router Views & Transitions
   ========================================== */
.router-view {
  width: 100%;
}

/* ==========================================
   Dedicated In-Play View (app-inplay)
   ========================================== */
app-inplay {
  display: block;
  width: 100%;
  background: #f4f6f8;
  min-height: calc(100vh - 120px);
}
.tabmenu {
  margin: 0;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid #e1e6eb;
}
.tabmenu .tab.col3 {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  border: 1px solid #c2cdd8;
  border-radius: 4px;
  overflow: hidden;
}
.tabmenu .tab.col3 li {
  flex: 1;
  text-align: center;
}
.tabmenu .tab.col3 li a {
  display: block;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  background: #fff;
  border-right: 1px solid #c2cdd8;
  cursor: pointer;
  transition: all 0.2s;
}
.tabmenu .tab.col3 li:last-child a {
  border-right: none;
}
.tabmenu .tab.col3 li a.select,
.tabmenu .tab.col3 li a.active {
  background: #243540 !important;
  color: #fff !important;
}
.inplay-sportwise {
  background: #fff;
  margin-bottom: 8px;
  border-bottom: 1px solid #e5e9ed;
}
.sporthead h3 {
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  padding: 8px 14px;
  text-align: center;
  letter-spacing: 0.5px;
}
.inplaytbl2 {
  width: 100%;
  margin-bottom: 0;
  font-size: 13px;
}
.inplaytbl2 tr {
  border-bottom: 1px solid #edf1f4;
}
.inplaytbl2 td {
  padding: 8px 10px;
  vertical-align: middle;
}
.inplaytbl2 .match-name {
  color: #0c588a !important;
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
  display: inline-block;
}
.inplaytbl2 .match-name:hover {
  color: #f6a21e !important;
}
.in_play {
  color: #008000;
  font-size: 11px;
  font-weight: 800;
  margin-left: 8px;
  display: inline-block;
  animation: inplayPulse 1.2s infinite ease-in-out;
}
@keyframes inplayPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.75; }
  100% { transform: scale(1); opacity: 1; }
}
.inplaytbl2 .badge-s {
  background: #ff5722;
  color: #fff;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  margin-left: 6px;
}

/* ==========================================
   Dedicated Sports Directory View (app-sports)
   ========================================== */
app-sports {
  display: block;
  width: 100%;
  background: #fff;
  min-height: calc(100vh - 120px);
}
.all-sports .quickHeader {
  background: #243540;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 2.4;
  text-align: center;
  margin: 0;
  letter-spacing: 0.5px;
}
.quick_link {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}
.quick_link li {
  flex: 0 1 20%;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  box-sizing: border-box;
  text-align: center;
}
.quick_link li:last-child {
  border-right: none;
}
.quick_link li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 4px;
  color: #1e1e1e !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}
.quick_link li a:hover {
  background: #f7f9fa;
  color: #f6a21e !important;
}
.quick_link li svg,
.quick_link li i {
  width: 26px;
  height: 26px;
  margin-bottom: 6px;
  color: #243540;
}
.account-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.account-nav .nav-item {
  border-bottom: 1px solid #edf1f4;
}
.account-nav .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  color: #0c588a !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  transition: background 0.2s;
}
.account-nav .nav-link:hover {
  background: #f8fafc;
  color: #f6a21e !important;
}
.account-nav .nav-link::after {
  content: '\f105';
  font-family: 'FontAwesome';
  font-size: 16px;
  color: #999;
  border: 1px solid #e0e0e0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

/* ==========================================
   Dedicated Casino Lobby View (app-casino-lobby)
   ========================================== */
app-casino-lobby {
  display: block;
  width: 100%;
  background: #141b20;
  min-height: calc(100vh - 120px);
  padding: 10px 8px 70px 8px;
}
.casino-lobby-header {
  background: linear-gradient(135deg, #1f2b33 0%, #10171c 100%);
  border: 1px solid rgba(246, 162, 30, 0.35);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.casino-cat-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 8px;
  margin-bottom: 12px;
  scrollbar-width: none;
}
.casino-cat-tabs::-webkit-scrollbar {
  display: none;
}
.casino-cat-tab {
  background: rgba(255, 255, 255, 0.08);
  color: #c0ccd8;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.casino-cat-tab:hover,
.casino-cat-tab.active {
  background: #f6a21e !important;
  color: #000 !important;
  border-color: #f6a21e !important;
}

/* ==========================================
   Original Dedicated Full-Screen Login Page (app-login-unity)
   ========================================== */
app-login-unity {
  display: block;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  background: radial-gradient(circle at 50% 20%, #444444 0%, #1c1c1c 45%, #000000 100%) !important;
  overflow-y: auto;
}
.main-Box-login {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  position: relative;
  padding: 20px;
  box-sizing: border-box;
}
.main-Box-login .crossIcon {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f6a21e;
  color: #000000;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
  z-index: 100;
}
.main-Box-login .crossIcon:hover {
  transform: scale(1.08);
}
.main-Box-login .centered-container {
  max-width: 360px;
  width: 90%;
  margin: 0 auto;
}
.main-Box-login .loginlogo img {
  height: 60px;
  object-fit: contain;
}
.main-Box-login .phoneNumberDiv {
  background: #ffffff;
  height: 46px;
  border: 1.5px solid #f6a21e;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  padding: 0 6px;
}
.main-Box-login .phoneNumberInput {
  background: transparent !important;
  color: #000000 !important;
  border: none !important;
  font-size: 15px;
  height: 100%;
  padding: 0 10px;
  box-shadow: none !important;
  outline: none !important;
  width: 100%;
}
.main-Box-login .phoneNumberInput::placeholder {
  color: #8c96a0 !important;
  font-size: 14.5px;
}
.main-Box-login .showPasswordbtn {
  background: transparent !important;
  border: none !important;
  color: #222222;
  padding: 0 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none !important;
}
.main-Box-login .loginBtn {
  background: linear-gradient(180deg, #f6a21e 0%, #e68a00 100%) !important;
  color: #000000 !important;
  font-weight: 700;
  font-size: 15.5px;
  height: 46px;
  line-height: 46px;
  text-align: center;
  border-radius: 6px;
  border: none;
  width: 100%;
  display: block;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(246, 162, 30, 0.35);
  text-decoration: none;
}
.main-Box-login .loginBtn:hover {
  background: #e59312 !important;
  transform: translateY(-1px);
}
.main-Box-login .loginBtnDemo {
  background: linear-gradient(180deg, #f6a21e 0%, #e68a00 100%) !important;
  margin-top: 12px !important;
}

/* Bottom Nav Raised Circular Arch for Sports */
/* ==========================================
   Bottom Navigation (Fixed at bottom on Mobile)
   Matches exact sms444.com live styling
   ========================================== */
app-bottom-nav {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #142838 !important;
  z-index: 1040;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.45);
}
@media (min-width: 993px) {
  app-bottom-nav {
    display: none !important;
  }
}
.mobile-footer-menu {
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 0;
  background: #142838;
}
.mobile-footer-menu ul {
  display: flex !important;
  flex-direction: row !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.mobile-footer-menu ul li {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.mobile-footer-menu ul li a.bottomNavBtn,
.mobile-footer-menu ul li a.ui-link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  padding-top: 3px !important;
  line-height: 1.15 !important;
  transition: background 0.15s ease;
}
.mobile-footer-menu ul li a svg {
  width: 22px !important;
  height: 22px !important;
  fill: #ffffff !important;
  color: #ffffff !important;
  margin-bottom: 3px !important;
}
.mobile-footer-menu ul li a img.casinoimg {
  width: 22px !important;
  height: 22px !important;
  margin-bottom: 3px !important;
}
/* Active Tab: Crisp blue fill matching screenshot */
.mobile-footer-menu ul li a.active,
.mobile-footer-menu ul li a.active-link {
  background: linear-gradient(180deg, #275d84 0%, #1c4563 100%) !important;
  color: #ffffff !important;
}
/* Sports Center Arch Tab */
.mobile-footer-menu ul li.main-nav a {
  position: relative;
  z-index: 2;
}
.mobile-footer-menu ul li.main-nav::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 28px;
  background: #142838;
  border-radius: 28px 28px 0 0;
  z-index: 1;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   Mobile Header (After Login & Sticky)
   Matches exact media_1792444467024.png
   ========================================== */
body.user-logged-in #mobileHeaderBeforeLogin,
body.user-logged-in app-header .before-login-items,
body.user-logged-in #mblHeaderLoginBtn,
body.user-logged-in app-header .login-signup,
body.user-logged-in app-desktop-header button.login {
  display: none !important;
}

body.user-logged-in #mobileHeaderAfterLogin,
body.user-logged-in app-header .after-login {
  display: flex !important;
}

body:not(.user-logged-in) #mobileHeaderAfterLogin,
body:not(.user-logged-in) app-header .after-login {
  display: none !important;
}

@media (max-width: 992px) {
  .site-header.app-header {
    background: #000000 !important;
    height: 52px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1025 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }
  .after-login {
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    height: 52px !important;
    background: #000000 !important;
    box-sizing: border-box !important;
  }
  .after-login-bets-buttons {
    display: flex !important;
    align-items: center !important;
  }
  .open-bets {
    color: #ffffff !important;
    background: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 4px !important;
    height: 32px !important;
    padding: 2px 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
  }
  .open-bets svg {
    width: 17px !important;
    height: 17px !important;
    fill: #ffffff !important;
  }
  .demo {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .user-blnc {
    text-align: right !important;
    line-height: 1.25 !important;
  }
  .pti-ic {
    display: block !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }
  .pti-ic strong {
    font-weight: 700 !important;
    color: #ffffff !important;
  }
  .exp-topcount {
    display: block !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }
  .exp-red {
    color: #ff1111 !important;
    font-weight: 700 !important;
  }
  .reload-banking-btns {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .bet-refresh, .bet-setting {
    background: #000000 !important;
    border: 1px solid #7c683b !important;
    border-radius: 4px !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
  }
  .bet-refresh svg, .bet-setting svg {
    width: 16px !important;
    height: 16px !important;
    fill: #ffffff !important;
    color: #ffffff !important;
  }
}

/* ==========================================
   Dedicated Account View (app-account)
   100% Matches sms444.com/account Screenshot
   ========================================== */
app-account {
  display: block;
  width: 100%;
  background: #ededed !important;
  min-height: calc(100vh - 108px);
  padding-bottom: 70px;
}
.exchange-heading.exchange {
  background: #243540 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  height: 38px !important;
  line-height: 38px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
}
.exchange-heading.exchange i {
  color: #ffffff !important;
  font-size: 18px !important;
  margin-right: 8px !important;
}
.containerr {
  background: #ffffff !important;
  padding: 0 !important;
}
.account-nav {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: #ffffff !important;
}
.account-tabs {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 1px solid #edf1f4 !important;
  padding: 11px 14px !important;
  background: #ffffff !important;
  color: #2789ce !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background 0.15s ease;
}
.account-tabs:hover {
  background: #f7fafc !important;
}
.account-tabs .tab-name {
  font-size: 15px !important;
  color: #2789ce !important;
  font-weight: 700 !important;
  letter-spacing: 0.1px !important;
}
.right-arroww {
  display: flex !important;
  border: 1px solid #333333 !important;
  background: #ffffff !important;
  color: #222222 !important;
  border-radius: 3px !important;
  width: 20px !important;
  height: 20px !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}
.right-arroww span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
.right-arroww i {
  color: #222222 !important;
  font-size: 13px !important;
  font-weight: bold !important;
  position: static !important;
  top: 0 !important;
  line-height: 1 !important;
}
.logout-btn {
  background: #d0281c !important;
  height: 48px !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  display: flex !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background 0.2s;
}
.logout-btn:hover {
  background: #b71c1c !important;
}
.logout-btn a.logout {
  color: #ffffff !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  font-size: 15px !important;
}
.logout-btn a.logout i {
  color: #ffffff !important;
  font-size: 15px !important;
  margin-left: 8px !important;
}

/* Global mobile layout containment & zero margin-top */
@media only screen and (max-width: 992px) {
  .app-body {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  app-account#viewAccount {
    margin-top: 0 !important;
  }
}
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}
.prevent-select, app-layout, .app-body, .content, .router-view {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}
app-account, .containerr, .account-nav, .account-tabs, .logout-btn {
  max-width: 100vw !important;
  box-sizing: border-box !important;
}




