/* 
========================================================================
   BGL CAPITAL - DASHBOARD CUSTOM STYLESHEET
   Aesthetics: Deep Slate Dark Mode, Neon Crimson/Orange Glows, Glassmorphism
========================================================================
*/

/* Dashboard Layout Variables */
:root {
  --sidebar-width: 260px;
  --sidebar-bg: #090a0e;
  --dashboard-bg: #060709;
  --card-bg: #0c0e12;
  --card-border: rgba(255, 255, 255, 0.05);
  
  /* Icon colors */
  --green-wallet: #10b981;
  --red-wallet: #ef4444;
  --purple-wallet: #8b5cf6;
  
  --green-wallet-bg: rgba(16, 185, 129, 0.12);
  --red-wallet-bg: rgba(239, 68, 68, 0.12);
  --purple-wallet-bg: rgba(139, 92, 246, 0.12);
}

/* Body override for dashboard context */
body.dashboard-body {
  background-color: var(--dashboard-bg);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Sidebar Wrapper */
.sidebar-wrapper {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.sidebar-brand {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1px;
}

.sidebar-logo-img {
  height: 22px;
  width: auto;
  margin-right: 8px;
}

.sidebar-logo-text {
  color: #ffffff;
}

/* Sidebar Navigation */
.sidebar-menu {
  flex-grow: 1;
  padding: 24px 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Hide scrollbar for sidebar menu */
.sidebar-menu::-webkit-scrollbar {
  width: 4px;
}
.sidebar-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #ffffff;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.badge-gray { background-color: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.7); }
.badge-green { background-color: #10b981; }
.badge-red { background-color: #ef4444; }
.badge-purple { background-color: #6366f1; }
.badge-orange { background-color: #f59e0b; }

.sidebar-nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.04);
}

.sidebar-nav-link:hover .nav-icon-badge {
  transform: scale(1.08);
}

.sidebar-nav-link.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.sidebar-nav-link.active .badge-gray {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.sidebar-menu-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.05);
  margin: 15px 16px;
}

/* Sidebar Bottom (Live Chat) */
.sidebar-bottom {
  padding: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.live-chat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.live-chat-card:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-1px);
}

.live-chat-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-chat-status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

.live-chat-text {
  font-size: 0.9rem;
  font-weight: 600;
}

.live-chat-badge-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-chat-badge {
  background-color: rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.live-chat-arrow {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Main Dashboard Panel */
.dashboard-panel {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  padding: 30px 40px;
  transition: var(--transition-smooth);
}

/* Top Navigation Header inside Dashboard */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.dash-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-header-title i {
  font-size: 1.4rem;
  color: #ffffff;
}

.dash-header-title h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

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

/* Utility buttons (search, notification, gift) */
.dash-util-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dash-util-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* User profile avatar */
.dash-profile-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 5px;
}

.dash-profile-avatar-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.dash-profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-logout-btn {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.dash-logout-btn:hover {
  color: var(--accent-red);
  transform: translateX(2px);
}

/* Dashboard Action Buttons Row (Deposit & Withdrawal) */
.dash-quick-actions-row {
  margin-bottom: 25px;
}

.btn-dash-action {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-dash-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: 0.75s;
  opacity: 0;
}

.btn-dash-action:hover::before {
  left: 125%;
  opacity: 1;
}

.btn-dash-deposit {
  background-color: #10b981;
}

.btn-dash-deposit:hover {
  background-color: #059669;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  transform: translateY(-3px);
}

.btn-dash-withdraw {
  background-color: #ef4444;
}

.btn-dash-withdraw:hover {
  background-color: #dc2626;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
  transform: translateY(-3px);
}

.action-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Statistics Grid Section */
.dash-stats-row {
  margin-bottom: 25px;
}

.stat-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.stat-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.stat-card:hover .stat-icon-wrapper {
  transform: scale(1.08);
}

.icon-deposit {
  background-color: var(--green-wallet-bg);
  color: var(--green-wallet);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.icon-withdraw {
  background-color: var(--red-wallet-bg);
  color: var(--red-wallet);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.icon-balance {
  background-color: var(--purple-wallet-bg);
  color: var(--purple-wallet);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-title {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  font-weight: 500;
}

.stat-value {
  font-size: 2.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.15;
}

.stat-trend {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
}

.trend-up {
  color: #10b981;
}

.trend-down {
  color: #ef4444;
}

.trend-label {
  color: rgba(255, 255, 255, 0.45);
}

/* News Panels Section */
.dash-news-row {
  margin-bottom: 25px;
}

.news-card-wrapper {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
}

.news-card-wrapper:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

.news-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
}

.news-view-all {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.news-view-all:hover {
  color: var(--accent-red);
}

/* Custom Carousel styling */
.news-carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/9;
}

.news-slide-item {
  width: 100%;
  height: 100%;
  position: relative;
}

.news-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-carousel:hover .news-slide-img {
  transform: scale(1.02);
}

/* Overlay gradient for sliders */
.news-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.news-slide-tag {
  background-color: var(--accent-red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-slide-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Custom carousel indicators dots */
.custom-carousel-indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 15;
  padding: 0;
  margin: 0;
  list-style: none;
}

.custom-carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.custom-carousel-indicators button.active {
  background-color: #ffffff;
  transform: scale(1.25);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

/* Promotions bottom banner */
.dash-promo-banner {
  background: linear-gradient(135deg, rgba(12, 14, 18, 0.85) 0%, rgba(6, 7, 9, 0.95) 100%);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

/* Left colored glow indicator */
.dash-promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent-red) 0%, var(--accent-orange) 100%);
}

.promo-brand-group {
  display: flex;
  align-items: center;
}

.promo-brand-bgl {
  color: var(--accent-red);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 1.5px;
}

.promo-brand-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.45rem;
  margin-left: 2px;
}

.promo-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin: 0;
  max-width: 580px;
  line-height: 1.5;
}

.btn-promo-join {
  background-color: var(--accent-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-promo-join:hover {
  background-color: var(--accent-red-hover);
  box-shadow: 0 4px 15px var(--accent-red-glow);
  transform: translateY(-2px);
}

/* Dashboard Footer */
.dash-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.dash-footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.dash-footer-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.dash-footer-link:hover {
  color: var(--accent-red);
}

/* Hamburger mobile menu button */
.hamburger-toggle {
  display: none;
  font-size: 1.6rem;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Sidebar overlay backdrop for mobile navigation drawer */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.show {
  display: block;
}

/* Animations */
.fade-up-dash {
  animation: fadeUpDash 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUpDash {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Platform Option Cards (Deposit / Withdrawal screens) */
.platform-card-wrapper {
  margin-top: 10px;
  margin-bottom: 30px;
}

.platform-grid-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.platform-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  transition: var(--transition-smooth);
  height: 100%;
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  background-color: rgba(255, 255, 255, 0.01);
  color: #ffffff;
}

.platform-logo-badge {
  width: 130px;
  height: 86px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 24px;
  flex-shrink: 0;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.platform-card:hover .platform-logo-badge {
  transform: scale(1.03);
}

/* Colors matching screenshot */
.logo-badge-xm {
  background-color: #e00e12;
}

.logo-badge-skrill {
  background-color: #81125c;
}

.logo-badge-usdt {
  background-color: #4bb08d;
}

.logo-badge-deriv {
  background-color: #f24e3e;
}

.platform-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.platform-name {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.2px;
}

.platform-chevron {
  margin-left: auto;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  width: 24px;
  height: 24px;
}

.platform-card:hover .platform-chevron {
  transform: translateX(5px);
  color: #ffffff;
}

/* Custom Form Styling (Deposit method input forms) */
.form-title-custom {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.form-subtitle-custom {
  font-size: 0.92rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 20px;
}

.form-group-custom {
  margin-bottom: 22px;
}

.form-label-custom {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 8px;
}

.form-control-custom {
  width: 100%;
  background-color: #0c0e12;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition-smooth);
  outline: none;
}

.form-control-custom::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.form-control-custom:focus {
  border-color: rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.01);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.03);
}

/* Suffix positioning inside inputs */
.input-suffix-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-suffix-wrapper .form-control-custom {
  padding-right: 65px;
}

.input-suffix {
  position: absolute;
  right: 20px;
  color: rgba(255, 255, 255, 0.22);
  font-weight: 700;
  font-size: 0.9rem;
  pointer-events: none;
  text-transform: uppercase;
}

/* Custom select styling for arrow replacement */
select.form-control-custom {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='rgba(255,255,255,0.45)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 50px;
  color: rgba(255, 255, 255, 0.22);
}

select.form-control-custom:focus {
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
}

/* Styled dropdown option colors */
select.form-control-custom option {
  background-color: #0c0e12;
  color: #ffffff;
  padding: 12px;
}

/* Form Action Buttons */
.form-actions-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 35px;
  gap: 20px;
}

.btn-form-custom {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 700;
  border: none;
  transition: var(--transition-smooth);
  text-align: center;
  flex: 1;
  max-width: 200px;
  text-decoration: none;
}

.btn-form-back {
  background-color: #1a1e27;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.btn-form-back:hover {
  background-color: #242934;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-form-next {
  background-color: #c62828;
  color: #ffffff;
}

.btn-form-next:hover {
  background-color: #b71c1c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(198, 40, 40, 0.4);
}

/* Info Column Layout */
.info-column-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.xm-promo-card {
  background-color: #e00e12;
  border-radius: 20px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 8px 25px rgba(224, 14, 18, 0.25);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.xm-promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(224, 14, 18, 0.35);
}

.xm-promo-logo {
  height: 55px;
  width: auto;
}

.rate-info-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 45px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
  box-shadow: var(--card-shadow);
  height: calc(100% - 165px);
  min-height: 250px;
}

.rate-info-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.rate-info-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
}

.rate-info-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 8px 0;
  letter-spacing: 0.5px;
}

.rate-info-date {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

/* Bank Account Selection Styles */
.bank-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.bank-user-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.bank-user-avatar-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.bank-user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bank-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bank-user-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.bank-user-id {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.add-bank-account-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.add-bank-account-btn:hover {
  color: #10b981;
}

.add-bank-account-btn i {
  font-size: 1.5rem;
  color: #10b981;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

.add-bank-account-btn:hover i {
  transform: scale(1.1) rotate(90deg);
}

.bank-accounts-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 10px;
}

.bank-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 100%;
}

.bank-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.01);
}

.bank-card.selected {
  border-color: rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.02);
}

.bank-card-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.bank-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.bank-card-meta {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* Checkbox styling */
.bank-card-checkbox-wrapper {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  background-color: transparent;
  flex-shrink: 0;
}

.bank-card.selected .bank-card-checkbox-wrapper {
  background-color: #ffffff;
  border-color: #ffffff;
}

.bank-card-checkbox-wrapper i {
  font-size: 0.8rem;
  color: #0c0e12;
  display: none;
  font-weight: 900;
}

.bank-card.selected .bank-card-checkbox-wrapper i {
  display: block;
}

.bank-view-all-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
}

.bank-view-all-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: underline;
  transition: var(--transition-smooth);
}

.bank-view-all-link:hover {
  color: var(--accent-red);
}

/* Terms and conditions scrollbox styling */
.terms-box-wrapper {
  margin-bottom: 30px;
}

.terms-scroll-box {
  background-color: #0c0e12;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  height: 180px;
  overflow-y: auto;
}

.terms-box-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  text-align: left;
}

.terms-scroll-content {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

.terms-clause-item {
  margin: 0;
}

/* Custom scrollbar for terms scrollbox */
.terms-scroll-box::-webkit-scrollbar {
  width: 6px;
}

.terms-scroll-box::-webkit-scrollbar-track {
  background: transparent;
}

.terms-scroll-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.terms-scroll-box::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Details summary review cards (deposit3.html) */
.details-card-custom {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--card-shadow);
}

.details-card-custom:hover {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.details-group-custom {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.details-label-custom {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
  font-weight: 500;
  text-transform: capitalize;
}

.details-val-custom {
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* Specific styling for the large deposit amount display */
.details-val-amount {
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffffff;
}

/* Deposit slip image wrapper */
.slip-preview-card {
  background-color: #0c0e12;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  width: 100%;
  aspect-ratio: 4/3;
  margin-top: 5px;
}

.slip-preview-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.slip-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.slip-preview-card:hover .slip-preview-img {
  transform: scale(1.03);
}


/* Submission Success Card Styles (deposit4.html) */
.success-container-custom {
  max-width: 600px;
  margin: 15px auto 35px auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.success-checkmark-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.success-sparkle-svg {
  position: absolute;
  width: 150px;
  height: 150px;
  top: -20px;
  left: -20px;
  pointer-events: none;
}

.success-checkmark-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.45);
  animation: success-pulse-glow 3s ease-in-out infinite;
  z-index: 2;
}

@keyframes success-pulse-glow {
  0% { transform: scale(1); box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
  50% { transform: scale(1.04); box-shadow: 0 0 32px rgba(16, 185, 129, 0.55); }
  100% { transform: scale(1); box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
}

.success-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.5px;
}

.success-subtitle {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

.success-details-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 10px 24px;
  width: 100%;
  margin-top: 10px;
  box-shadow: var(--card-shadow);
}

.success-details-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.success-details-row:last-child {
  border-bottom: none;
}

.success-row-label-group {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
}

.success-row-label-group i {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.35);
}

.success-row-value-group {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

/* Status indicators */
.status-badge-pending {
  border: 1px solid #ff9f00;
  color: #ff9f00;
  background-color: rgba(255, 159, 0, 0.06);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.text-green-success {
  color: #10b981;
}

.success-actions-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-top: 25px;
}

.btn-success-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 700;
  border: none;
  transition: var(--transition-smooth);
  flex: 1;
  text-decoration: none;
  color: #ffffff;
}

.btn-success-dash-grey {
  background-color: #0c0e12;
  border: 1px solid var(--border-color);
}

.btn-success-dash-grey:hover {
  background-color: #161a22;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.btn-success-track-green {
  background-color: #10b981;
}

.btn-success-track-green:hover {
  background-color: #059669;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

.btn-success-action i {
  font-size: 1.2rem;
}

.success-notification-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(16, 185, 129, 0.85);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 22px;
  width: 100%;
}

.success-notification-alert i {
  font-size: 1.1rem;
  color: #10b981;
}


/* Order Tracking Styles (trackmyorder.html) */
.track-tabs-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}

.track-tab {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: var(--transition-smooth);
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.track-tab:hover {
  color: #ffffff;
}

.track-tab.active {
  color: #ffffff;
  border-bottom-color: var(--accent-orange);
}

.track-table-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: var(--card-shadow);
  overflow-x: auto;
}

.track-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.track-table th {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}

.track-table td {
  padding: 18px 15px;
  font-size: 0.94rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  vertical-align: middle;
}

.track-table tr:last-child td {
  border-bottom: none;
}

.track-order-id {
  font-weight: 600;
  color: #ffffff;
}

.track-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.track-type-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #ffffff;
}

.type-icon-deposit {
  background-color: #10b981;
}

.type-icon-withdraw {
  background-color: #ef4444;
}

.track-date-time {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.track-time-sub {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.3);
}

.track-status-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.status-badge-completed {
  border: 1px solid #10b981;
  color: #10b981;
  background-color: rgba(16, 185, 129, 0.06);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge-rejected {
  border: 1px solid #ef4444;
  color: #ef4444;
  background-color: rgba(239, 68, 68, 0.06);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-sub-info {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.3);
  margin-left: 2px;
}

.track-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.track-showing-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.3);
}

.track-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.track-page-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.track-page-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.track-page-btn.active {
  background-color: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.25);
}

/* Support Help Banner */
.support-banner-card {
  background: linear-gradient(135deg, rgba(12, 14, 18, 0.85) 0%, rgba(6, 7, 9, 0.95) 100%);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.support-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background-color: #10b981;
}

.support-banner-left {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.support-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #10b981;
  flex-shrink: 0;
}

.support-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.support-banner-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.support-banner-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.btn-support-contact {
  background-color: #10b981;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.btn-support-contact:hover {
  background-color: #059669;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}

/* ========================================================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ======================================================================== */

@media (max-width: 1199.98px) {
  .dashboard-panel {
    padding: 25px 30px;
  }
  
  .stat-card {
    padding: 20px 15px;
    gap: 12px;
  }
  
  .stat-value {
    font-size: 1.8rem;
  }
}

@media (max-width: 991.98px) {
  /* Sidebar becomes a drawer */
  .sidebar-wrapper {
    transform: translateX(-100%);
  }
  
  body.sidebar-open .sidebar-wrapper {
    transform: translateX(0);
  }
  
  .dashboard-panel {
    margin-left: 0;
    padding: 25px 20px;
  }
  
  .hamburger-toggle {
    display: block;
    margin-right: 15px;
  }
  
  .dash-header-title {
    align-items: center;
  }
  
  .rate-info-card {
    height: auto;
    padding: 35px 20px;
    margin-top: 20px;
    min-height: 200px;
  }
  
  .details-card-custom {
    height: auto;
    margin-bottom: 20px;
    padding: 24px;
  }
}

@media (max-width: 767.98px) {
  .dash-header-actions {
    gap: 10px;
  }
  
  .dash-profile-group {
    gap: 8px;
  }
  
  .dash-logout-btn {
    font-size: 0.88rem;
  }
  
  .btn-dash-action {
    padding: 14px 15px;
    font-size: 1.05rem;
  }
  
  .stat-card {
    padding: 24px;
    gap: 20px;
  }
  
  .stat-value {
    font-size: 2.15rem;
  }
  
  .dash-promo-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
  }
  
  .btn-promo-join {
    width: 100%;
    text-align: center;
  }
  
  .dash-footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 480.98px) {
  .dash-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .dash-header-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .stat-card {
    padding: 16px;
    gap: 12px;
  }
  
  .stat-value {
    font-size: 1.65rem;
  }
  
  .platform-logo-badge {
    width: 90px;
    height: 60px;
    margin-right: 15px;
    padding: 8px;
    border-radius: 10px;
  }
  
  .platform-name {
    font-size: 1.15rem;
  }
  
  .platform-card {
    padding: 12px;
    border-radius: 14px;
  }
}

@media (max-width: 575.98px) {
  .success-actions-row {
    flex-direction: column;
    gap: 12px;
  }
  .btn-success-action {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .support-banner-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
  }
  .support-banner-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .btn-support-contact {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================================================
   CUSTOM STYLES FOR NEW DASHBOARD PAGES
   ======================================================================== */

/* 1. Bank Details Page */
.bank-details-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.bank-details-row {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
  width: 100%;
}

.bank-details-row:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  background-color: rgba(255, 255, 255, 0.01);
  transform: translateY(-2px);
}

.bank-details-columns {
  display: flex;
  align-items: center;
  width: calc(100% - 100px);
  gap: 20px;
}

.bank-details-cell {
  flex: 1;
  text-align: left;
}

.bank-details-label-mobile {
  display: none;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.bank-details-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bank-details-val-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.bank-details-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  width: 100px;
}

.bank-details-action-btn {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.25rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bank-details-action-btn:hover {
  transform: scale(1.15);
}

.bank-action-edit-btn:hover {
  color: #ffffff;
}

.bank-action-delete-btn:hover {
  color: var(--accent-red);
}

.bank-actions-divider-line {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  height: 22px;
  width: 1px;
}

.bank-details-header-row {
  display: flex;
  align-items: center;
  padding: 10px 28px;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
}

.bank-details-header-columns {
  display: flex;
  align-items: center;
  width: calc(100% - 100px);
  gap: 20px;
}

.bank-details-header-cell {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  text-align: left;
}

.bank-details-header-actions-label {
  width: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  text-align: right;
  padding-right: 4px;
}

/* 2. Trading Platform Page */
.platform-id-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.platform-id-row {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: var(--transition-smooth);
}

.platform-id-row:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  background-color: rgba(255, 255, 255, 0.01);
  transform: translateY(-2px);
}

.platform-id-logo-box {
  width: 130px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.platform-id-field-wrapper {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.platform-id-field {
  width: 100%;
  background-color: #0c0e12;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  outline: none;
  transition: var(--transition-smooth);
}

.platform-id-field:focus {
  border-color: rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.01);
}

.btn-platform-update {
  background-color: #10b981;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 12px;
  border: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  flex-shrink: 0;
}

.btn-platform-update:hover {
  background-color: #059669;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

/* 3. User Profile Page */
.btn-profile-save {
  background-color: var(--accent-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-profile-save:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(241, 21, 31, 0.4);
}

/* 4. Star Rewards Page */
.rewards-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 24px;
  margin-bottom: 25px;
  margin-top: 10px;
}

.rewards-card-block {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  height: 100%;
}

.rewards-card-block:hover {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.rewards-top-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.rewards-badge-round-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 123, 0, 0.1);
  border: 1px solid rgba(255, 123, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--accent-orange);
}

.rewards-badge-round-red {
  background-color: rgba(241, 21, 31, 0.1);
  border-color: rgba(241, 21, 31, 0.15);
  color: var(--accent-red);
}

.rewards-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.rewards-card-main-val {
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 8px 0 12px 0;
  letter-spacing: -0.5px;
}

.rewards-card-main-val-red {
  color: #ffffff;
}

.rewards-points-label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
}

.rewards-card-desc {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
  margin: 0;
}

.btn-rewards-card-action {
  background-color: var(--accent-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  align-self: flex-start;
  margin-top: 15px;
  text-decoration: none;
}

.btn-rewards-card-action:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-1px);
}

/* Circle Progress Gauge */
.progress-dial-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 20px;
}

.progress-dial-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.dial-svg-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 18px;
}

.dial-circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dial-bg-stroke {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 8;
}

.dial-active-stroke {
  fill: none;
  stroke: var(--accent-orange);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 377;
  stroke-dashoffset: 94; /* 75% filled */
  transition: stroke-dashoffset 1s ease-in-out;
}

.dial-percentage-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.progress-dial-badge-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.progress-dial-desc-text {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.4;
  margin: 0 0 20px 0;
  max-width: 200px;
}

.progress-dial-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  gap: 10px;
}

.dial-stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.dial-stat-item i {
  font-size: 0.85rem;
}

.dial-stat-orange { color: var(--accent-orange); }
.dial-stat-green { color: #10b981; }

.dial-stat-item-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
}

.dial-stat-item-badge i {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Share Affiliate Link Card */
.share-referral-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 24px 30px;
  margin-bottom: 25px;
  box-shadow: var(--card-shadow);
}

.share-referral-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.share-referral-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.share-referral-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.referral-input-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.referral-input-field {
  flex: 1;
  background-color: #0c0e12;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  transition: var(--transition-smooth);
}

.referral-input-field:focus {
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-referral-copy {
  background-color: var(--accent-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 12px;
  border: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-referral-copy:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(241, 21, 31, 0.35);
}

/* Loyalty Tier Toggles */
.loyalty-rewards-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  margin-top: 10px;
}

.loyalty-rewards-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.loyalty-benefits-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  transition: var(--transition-smooth);
}

.loyalty-benefits-link:hover {
  color: #ffffff;
}

.loyalty-badges-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.loyalty-badge-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 20px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 120px;
  transition: var(--transition-smooth);
}

.loyalty-badge-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.loyalty-badge-card.active {
  border-color: rgba(255, 123, 0, 0.3);
  background-color: rgba(255, 123, 0, 0.03);
}

.loyalty-badge-card.active .loyalty-badge-icon-circle {
  background-color: rgba(255, 123, 0, 0.15);
  border-color: rgba(255, 123, 0, 0.2);
  color: var(--accent-orange);
}

.loyalty-badge-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition-smooth);
}

.loyalty-badge-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.loyalty-badge-req-points {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  margin: 0;
}

/* Loyalty Benefits Banner */
.loyalty-benefits-banner {
  background: linear-gradient(135deg, rgba(26, 15, 10, 0.75) 0%, rgba(12, 7, 5, 0.9) 100%);
  border: 1px solid rgba(255, 123, 0, 0.12);
  border-radius: 20px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.loyalty-benefits-banner::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background-color: var(--accent-orange);
}

.benefits-gift-graphics-wrapper {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefits-gift-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.benefits-details-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.benefits-banner-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.benefits-bullet-list {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.benefits-bullet-item {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}

.benefits-bullet-item::before {
  content: '•';
  color: var(--accent-orange);
  font-size: 1.2rem;
  line-height: 1;
}

.table-badge-claimed {
  border: 1px solid #10b981;
  color: #10b981;
  background-color: rgba(16, 185, 129, 0.06);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-badge-notclaimed {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.03);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 5. Help/Support Page */
.help-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 25px;
  margin-top: 10px;
}

.help-widget-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-smooth);
  box-shadow: var(--card-shadow);
  height: 100%;
  text-align: left;
}

.help-widget-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  background-color: rgba(255, 255, 255, 0.01);
  transform: translateY(-2px);
}

.help-card-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 12px;
}

.help-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--accent-orange);
  transition: var(--transition-smooth);
}

.help-widget-card:hover .help-icon-box {
  background-color: rgba(255, 123, 0, 0.1);
  border-color: rgba(255, 123, 0, 0.15);
}

.help-recommended-badge {
  background-color: rgba(16, 185, 129, 0.12);
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.help-widget-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.help-widget-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
  margin: 0;
}

.help-meta-list {
  display: flex;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  flex-wrap: wrap;
  gap: 15px 20px;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 20px 24px;
  margin-bottom: 25px;
  box-shadow: var(--card-shadow);
}

.help-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 200px;
  text-align: left;
}

.help-meta-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.help-meta-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.help-meta-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}

.help-meta-value {
  font-size: 0.94rem;
  color: #ffffff;
  font-weight: 700;
  margin: 0;
}

.help-banner-row-custom {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(12, 14, 18, 0.85) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 24px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 35px;
  box-shadow: var(--card-shadow);
}

.help-banner-left-custom {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.help-banner-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 1.55rem;
  flex-shrink: 0;
}

.help-banner-text-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.help-banner-main-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.help-banner-sub-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  max-width: 450px;
}

.btn-help-chat-trigger {
  background-color: #10b981;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.btn-help-chat-trigger:hover {
  background-color: #059669;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.ticket-form-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--card-shadow);
}

.btn-send-ticket {
  background-color: #1a7a08;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 30px;
  border-radius: 10px;
  border: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-send-ticket:hover {
  background-color: #135c05;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 122, 8, 0.3);
}

/* Responsive Overrides for New Dashboard Components */
@media (max-width: 991.98px) {
  .rewards-grid-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .help-cards-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 767.98px) {
  .bank-details-header-row {
    display: none;
  }
  
  .bank-details-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
  }
  
  .bank-details-columns {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 12px;
  }
  
  .bank-details-cell {
    width: 100%;
  }
  
  .bank-details-label-mobile {
    display: block;
  }
  
  .bank-details-actions {
    width: 100%;
    justify-content: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
  }
  
  .platform-id-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
  }
  
  .platform-id-field-wrapper {
    width: 100%;
    max-width: 100%;
  }
  
  .btn-platform-update {
    width: 100%;
    text-align: center;
  }
  
  .loyalty-benefits-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
  }
  
  .benefits-gift-graphics-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .help-banner-row-custom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
  }
  
  .help-banner-left-custom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .btn-help-chat-trigger {
    width: 100%;
    justify-content: center;
  }
}

