/* ==========================================================================
   AZ JEWELRY LUXURY THEME - ROYAL MAROON & IMPERIAL GOLD
   Rebuilt for kesoaz.dk User Panel & Authentication
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;1,500&family=Poppins:wght@300;400;500;600;700;800&family=Alex+Brush&display=swap');

:root {
  /* Brand Maroon */
  --az-maroon-dark: #2A0208;
  --az-maroon-deep: #3A030D;
  --az-maroon: #4A0713;
  --az-maroon-light: #5E0C1C;
  --az-maroon-crimson: #781327;

  /* Imperial Gold */
  --az-gold-light: #FFF4B8;
  --az-gold-bright: #F5C542;
  --az-gold: #D4AF37;
  --az-gold-dark: #B8860B;
  --az-gold-bronze: #996515;

  /* Surfaces & Backgrounds */
  --az-bg-body: #FAF8F5;
  --az-bg-card: #FFFFFF;
  --az-bg-card-subtle: #F6F3EE;
  --az-border-gold: rgba(212, 175, 55, 0.28);
  --az-border-gold-strong: rgba(212, 175, 55, 0.55);

  /* Typography */
  --az-text-dark: #1A1A1A;
  --az-text-maroon: #4A0713;
  --az-text-muted: #7E7475;
  --az-text-gold: #B8860B;
  --az-text-white: #FFFFFF;

  /* Gradients */
  --az-grad-maroon: linear-gradient(145deg, #580B1A 0%, #3D040D 50%, #2A0208 100%);
  --az-grad-gold: linear-gradient(180deg, #FDE68A 0%, #D4AF37 50%, #B8860B 100%);
  --az-grad-gold-h: linear-gradient(90deg, #D4AF37 0%, #F5C542 50%, #B8860B 100%);
  --az-grad-metallic-circle: radial-gradient(circle at 35% 30%, #FFF5B8 0%, #F2CB55 35%, #D4A72C 70%, #9C6B10 100%);

  /* Shadows */
  --az-shadow-card: 0 4px 18px rgba(74, 7, 19, 0.06);
  --az-shadow-gold: 0 4px 14px rgba(212, 175, 55, 0.35);
  --az-shadow-maroon: 0 8px 24px rgba(42, 2, 8, 0.35);

  /* Radius */
  --az-radius-sm: 8px;
  --az-radius-md: 14px;
  --az-radius-lg: 20px;
  --az-radius-pill: 9999px;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--az-bg-body) !important;
  color: var(--az-text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  padding-bottom: 90px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   TOP LUXURY MAROON HEADER (1:1 EXACT AS REFERENCE IMAGE)
   ========================================================================== */
.az-header {
  background: radial-gradient(ellipse at 50% 50%, #681A27 0%, #450814 55%, #2A0208 100%);
  color: #FFFFFF;
  position: relative;
  padding: 16px 16px 36px;
  box-shadow: 0 10px 30px rgba(42, 2, 8, 0.3);
  overflow: hidden;
}

.az-header-curve-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  pointer-events: none;
  z-index: 2;
}

.az-header-wave {
  width: 100%;
  height: 100%;
  display: block;
}

.az-header-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 5;
}

.az-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* Black Square Logo Box */
.az-header-logo-box {
  width: 56px;
  height: 56px;
  background: #000000;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.az-header-logo-box:hover {
  transform: scale(1.03);
}

.az-header-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Vertical Gold Divider Line */
.az-header-divider {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(180deg, #F5C542 0%, #D4AF37 50%, #B8860B 100%);
  flex-shrink: 0;
  border-radius: 1px;
}

/* Elegant Tagline */
.az-header-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: #F8E292;
  font-size: 13.5px;
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  white-space: normal;
  max-width: 145px;
  word-wrap: break-word;
}

/* Right Section: Actions on Top, User Capsule Below */
.az-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.az-header-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.az-notification-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 18px;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.az-notification-btn:hover {
  transform: scale(1.08);
}

.az-notification-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  background: #E53E3E;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--az-maroon-dark);
}

.az-menu-toggle {
  width: 30px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}

.az-menu-toggle span {
  display: block;
  width: 20px;
  height: 2.2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: 0.3s;
}

/* User Capsule directly on the Right */
.az-user-capsule {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
  text-align: left;
}

.az-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid #F5C542;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F5C542;
  font-size: 15px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.az-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.az-user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.az-user-welcome {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.az-user-name {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.az-user-id {
  font-size: 10.5px;
  color: #FFF4B8;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   GOLD PRICE WIDGET (RECENT ACTIVITY SECTION)
   ========================================================================== */
.az-gold-widget-card {
  background: #FFFFFF;
  border-radius: var(--az-radius-card);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 18px rgba(42, 24, 16, 0.04);
  padding: 16px;
  margin-bottom: 22px;
}

.az-gold-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.az-gold-widget-title-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.az-gold-widget-title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--az-text-dark);
  margin: 0;
}

.az-gold-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(21, 128, 61, 0.1);
  border: 1px solid rgba(21, 128, 61, 0.3);
  color: #15803D;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.az-gold-live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #15803D;
  animation: azPulse 1.5s infinite;
}

@keyframes azPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.az-gold-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.az-gold-metric-item {
  background: #FAF8F5;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}

.az-gold-metric-label {
  font-size: 11px;
  color: var(--az-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.az-gold-metric-val {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 700;
  color: #4A0713;
  margin-top: 3px;
}

.az-gold-metric-sub {
  font-size: 10.5px;
  color: #D4AF37;
  font-weight: 600;
  margin-top: 2px;
}

.az-gold-chart-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: #FFFFFF;
}

.az-gold-quick-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.az-gold-btn-primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--az-grad-gold);
  color: #3A030D;
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
  transition: transform 0.2s ease;
}

.az-gold-btn-primary:hover {
  transform: translateY(-1px);
}

.az-gold-btn-secondary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #FAF8F5;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #4A0713;
  font-weight: 600;
  font-size: 12.5px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.az-gold-btn-secondary:hover {
  background: #FFFDF9;
}
/* Luxury Curved Wave at bottom of header */
.az-header-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: 28px;
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   APP CONTENT CONTAINER
   ========================================================================== */
.az-container {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 16px 14px;
}

/* Dashboard Section Heading */
.az-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.az-page-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--az-maroon-dark);
  letter-spacing: -0.5px;
}

.az-page-subtitle {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--az-text-muted);
}

/* Total Gold Gram Badge on Top Right */
.az-gold-gram-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  padding: 6px 12px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

.az-gold-gram-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.az-gold-gram-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.az-gold-gram-info,
.az-gold-gram-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.az-gold-gram-label {
  font-size: 10px;
  color: #666666;
  font-weight: 500;
  white-space: nowrap;
}

.az-gold-gram-val {
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
}

/* Notice Banner (Historical Review Alert from Reference UI) */
.az-notice-banner {
  background: #FFFDF9;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 11.5px;
  color: #333333;
  line-height: 1.45;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   THE 3 LUXURY WALLET CARDS
   ========================================================================== */
.az-wallets-row,
.az-wallets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.az-wallet-card {
  background: #FFFFFF;
  border-radius: var(--az-radius-md);
  overflow: hidden;
  border: 1px solid var(--az-border-gold);
  box-shadow: var(--az-shadow-card);
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.az-wallet-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 7, 19, 0.12);
}

.az-wallet-header,
.az-wallet-card-header {
  background: linear-gradient(180deg, #5B0C1B 0%, #3D040E 100%);
  padding: 12px 6px 10px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 85px;
}

.az-wallet-icon {
  width: 46px;
  height: 40px;
  margin-bottom: 5px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.35));
}

.az-wallet-title {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
}

.az-wallet-currency {
  font-size: 10px;
  color: var(--az-gold-bright);
  font-weight: 500;
}

.az-wallet-body {
  padding: 10px 6px 12px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
}

.az-wallet-amount,
.az-wallet-balance {
  font-size: 15px;
  font-weight: 800;
  color: #1A1A1A;
  line-height: 1.1;
  word-break: break-all;
  margin-bottom: 2px;
}

.az-wallet-subunit,
.az-wallet-unit {
  font-size: 10px;
  color: #666666;
  font-weight: 600;
  margin-bottom: 8px;
}

.az-wallet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 90%;
  padding: 5px 4px;
  border-radius: var(--az-radius-pill);
  background: var(--az-grad-gold-button);
  color: var(--az-maroon-dark);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.4);
  transition: transform 0.15s ease;
}

.az-wallet-btn:active {
  transform: scale(0.96);
}

/* ==========================================================================
   EQUIVALENT VALUE CARD
   ========================================================================== */
.az-equiv-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(42, 2, 8, 0.06);
  margin-bottom: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.az-equiv-card:hover {
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.6);
}

.az-equiv-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.az-equiv-left img {
  width: 46px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 5px rgba(212, 175, 55, 0.3));
}

.az-equiv-meta {
  min-width: 0;
  flex: 1;
}

.az-equiv-label {
  font-size: 11.5px;
  color: #7E7475;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 2px;
}

.az-equiv-amount {
  font-size: 20px;
  font-weight: 800;
  color: #4A0713 !important;
  line-height: 1.2;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.az-equiv-stats-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
}

.az-equiv-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FAF8F5;
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 2.5px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  color: #4A0713;
  line-height: 1.2;
}

.az-equiv-stat-item .az-equiv-stat-label {
  color: #7E7475;
  font-weight: 500;
}

.az-equiv-stat-item strong {
  color: #2A0208;
  font-weight: 700;
}

.az-equiv-stat-dot {
  color: #D4AF37;
  font-size: 11px;
  font-weight: 700;
}

.az-equiv-stat-custom {
  width: 100%;
  font-size: 10px;
  color: #7E7475;
  margin-top: 2px;
}

.az-equiv-btn {
  flex-shrink: 0;
  padding: 8px 15px;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #2A0208 !important;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.4);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.az-equiv-btn:hover {
  background: #FAF8F5;
  border-color: #D4AF37;
  color: #781327 !important;
  transform: translateX(2px);
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.25);
}

@media (max-width: 480px) {
  .az-equiv-card {
    padding: 11px 12px;
    gap: 8px;
  }
  .az-equiv-amount {
    font-size: 17px;
  }
  .az-equiv-btn {
    padding: 7px 11px;
    font-size: 10.5px;
  }
  .az-equiv-stat-item {
    font-size: 9.5px;
    padding: 2px 5px;
  }
}

/* ==========================================================================
   8 QUICK ACTION CIRCULAR BUTTONS
   ========================================================================== */
.az-actions-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  padding: 16px 8px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.az-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 8px;
}

.az-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.az-action-item:hover {
  transform: translateY(-2px);
}

.az-action-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F9ECD0 0%, #ECD39E 100%);
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.28);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
}

.az-action-circle i {
  color: #4A0713;
  font-size: 18px;
}

.az-action-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.az-action-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--az-text-dark);
  line-height: 1.2;
  max-width: 72px;
}

/* ==========================================================================
   INVEST IN GOLD PROMOTIONAL BANNER
   ========================================================================== */
.az-promo-banner {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(74, 7, 19, 0.16);
  margin-bottom: 20px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.az-promo-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 7, 19, 0.22);
}

.az-promo-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   RECENT ACTIVITY SECTION
   ========================================================================== */
.az-activity-card {
  background: #FFFFFF;
  border-radius: var(--az-radius-md);
  border: 1px solid var(--az-border-gold);
  box-shadow: var(--az-shadow-card);
  padding: 16px 14px;
  margin-bottom: 20px;
}

.az-activity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.az-activity-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--az-maroon-dark);
}

.az-activity-viewall {
  font-size: 12px;
  font-weight: 600;
  color: var(--az-maroon);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.az-activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.az-activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.az-activity-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.az-activity-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.az-activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.az-activity-icon.deposit {
  background: #10B981;
  color: #FFFFFF;
}

.az-activity-icon.purchase {
  background: var(--az-grad-metallic-circle);
  color: var(--az-maroon-dark);
}

.az-activity-icon.convert {
  background: #3B82F6;
  color: #FFFFFF;
}

.az-activity-icon.withdraw {
  background: #EF4444;
  color: #FFFFFF;
}

.az-activity-info {
  min-width: 0;
}

.az-activity-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--az-maroon-dark);
  line-height: 1.2;
}

.az-activity-desc {
  font-size: 11px;
  color: var(--az-text-muted);
  line-height: 1.3;
}

.az-activity-right {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right;
  flex-shrink: 0;
}

.az-activity-amount {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.az-activity-amount.positive {
  color: #059669;
}

.az-activity-amount.negative {
  color: #1F2937;
}

.az-activity-time {
  font-size: 10px;
  color: var(--az-text-muted);
  margin-top: 2px;
}

.az-activity-chevron {
  color: #D1D5DB;
  font-size: 14px;
}

/* ==========================================================================
   BOTTOM APP DOCK NAVIGATION
   ========================================================================== */
.az-bottom-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--az-border-gold);
  box-shadow: 0 -4px 20px rgba(74, 7, 19, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 12px;
  z-index: 999;
}

.az-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #8C8283;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  min-width: 56px;
  padding: 6px 0;
  position: relative;
  transition: all 0.2s ease;
}

.az-dock-item i, .az-dock-item svg {
  font-size: 18px;
  transition: all 0.2s ease;
}

.az-dock-item.active {
  color: var(--az-gold-dark);
}

.az-dock-item.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--az-grad-gold-h);
}

/* ==========================================================================
   GENERIC PAGE STYLING FOR ALL INNER PAGES
   ========================================================================== */
.az-inner-header {
  background: var(--az-grad-maroon);
  padding: 16px 18px 24px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  box-shadow: 0 4px 20px rgba(42, 2, 8, 0.25);
  margin-bottom: 18px;
}

.az-back-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.az-inner-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF !important;
  letter-spacing: 0.3px;
}

/* Generic Luxury Cards */
.az-card {
  background: #FFFFFF;
  border-radius: var(--az-radius-md);
  border: 1px solid var(--az-border-gold);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--az-shadow-card);
}

.az-card-maroon {
  background: var(--az-grad-maroon);
  color: #FFFFFF;
  border: 1px solid var(--az-border-gold-strong);
  border-radius: var(--az-radius-md);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--az-shadow-maroon);
}

/* Inputs & Form Elements */
.az-form-group {
  margin-bottom: 16px;
}

.az-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--az-maroon-dark);
  margin-bottom: 6px;
}

.az-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--az-radius-md);
  padding: 0 14px;
  height: 48px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.az-input-wrap:focus-within {
  border-color: var(--az-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.az-input-wrap input,
.az-input-wrap select,
.az-input-wrap textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--az-text-dark);
  font-size: 14px;
  font-family: inherit;
}

.az-input-icon {
  color: var(--az-gold-dark);
  font-size: 16px;
  margin-right: 10px;
  flex-shrink: 0;
}

/* Buttons */
.az-btn-primary {
  width: 100%;
  height: 48px;
  border-radius: var(--az-radius-pill);
  background: var(--az-grad-gold-button);
  color: var(--az-maroon-dark);
  font-size: 15px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.az-btn-primary:active {
  transform: scale(0.98);
}

.az-btn-maroon {
  width: 100%;
  height: 48px;
  border-radius: var(--az-radius-pill);
  background: var(--az-grad-maroon);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid var(--az-border-gold);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(42, 2, 8, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.az-btn-outline {
  width: 100%;
  height: 46px;
  border-radius: var(--az-radius-pill);
  background: transparent;
  border: 1.5px solid var(--az-gold);
  color: var(--az-gold-dark);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.az-btn-outline:hover {
  background: rgba(212, 175, 55, 0.08);
}

/* Badges */
.az-badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--az-gold-dark);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 10px;
  border-radius: var(--az-radius-pill);
  font-size: 11px;
  font-weight: 700;
}

.az-badge-maroon {
  background: var(--az-maroon);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--az-radius-pill);
  font-size: 11px;
  font-weight: 700;
}

/* Side Drawer Menu */
.az-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 2, 5, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.az-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -320px;
  width: 300px;
  max-width: 85%;
  background: var(--az-grad-maroon);
  color: #FFFFFF;
  z-index: 2001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  border-left: 1px solid var(--az-border-gold);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.az-drawer.open {
  right: 0;
}

.az-drawer-header {
  padding: 24px 20px 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.az-drawer-close {
  background: transparent;
  border: 0;
  color: #FFF;
  font-size: 20px;
  cursor: pointer;
}

.az-drawer-body {
  padding: 16px;
  overflow-y: auto;
  flex-grow: 1;
}

.az-drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--az-radius-sm);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  transition: background 0.15s ease;
}

.az-drawer-item:hover, .az-drawer-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--az-gold-bright);
}

.az-drawer-item i {
  color: var(--az-gold);
  width: 20px;
  text-align: center;
}

/* ==========================================================================
   GLOBAL HIGH-CONTRAST READABILITY SYSTEM (ALL USER PAGES & SECTIONS)
   Fixes text visibility, colour, size, alignment on light and dark containers
   ========================================================================== */

/* 1. All Page Headings & Titles on Light Backgrounds */
.page-header h1,
.page-header h2,
.header h1,
.header h2,
.back-header h1,
.az-page-title,
.section-title,
body > .container h1,
body > .container h2,
body > .container h3 {
  color: #2A0208 !important;
  font-weight: 700 !important;
}

/* 2. Top Bar & Headers on Dark Backgrounds (Maroon Gradient Bars) */
.page-top-bar,
.az-header,
.az-drawer {
  color: #FFFFFF !important;
}

.page-top-bar .page-title,
.page-top-bar h1,
.page-top-bar h2,
.page-top-bar h3,
.az-header .az-page-title {
  color: #FFF4B8 !important;
  font-weight: 700 !important;
}

.page-top-bar .back-btn,
.page-top-bar .back-btn i {
  color: #F5C542 !important;
}

.page-top-bar .back-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
}

/* 3. Stat Numbers, Metrics, and Balances on Cards */
.stat-value,
.stat-item .stat-value,
.stats-grid .stat-value,
.stat-value.money,
.stat-value.kv,
.balance-value,
.balance-amount,
.card-value,
.total-amount,
.az-wallet-amount {
  color: #1A1A1A !important;
  font-weight: 800 !important;
}

/* 4. Sub-labels, Metadata, and Descriptive Text */
.stat-label,
.stat-item .stat-label,
.text-muted,
.sub-label,
.info-label,
.az-wallet-subunit {
  color: #4B5563 !important;
  font-weight: 600 !important;
}

/* 5. Level & Action Buttons (Gold gradient with dark readable text) */
.level-btn,
.page-header .level-btn {
  background: linear-gradient(180deg, #FDE68A 0%, #D4AF37 50%, #B8860B 100%) !important;
  color: #2A0208 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(184, 134, 11, 0.3) !important;
  border: 1px solid rgba(184, 134, 11, 0.35) !important;
}

/* 6. Back Button Icon on Light Pages */
.header .back-btn i,
.page-header .back-btn i,
.back-header a i {
  color: #2A0208 !important;
}

/* 7. Fullscreen & Canvas Controls */
#toggleFullscreen {
  background: #3A030D !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
}

#toggleFullscreen i {
  color: #F5C542 !important;
}

/* 8. Genealogy Tree Badges & Nodes */
.genealogy-card,
.tree-member-box {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
}

/* 9. Referral Card & Link Box (Dark maroon container with high-contrast luxury gold & crisp white text) */
.referral-card {
  background: linear-gradient(135deg, #4A0713 0%, #2A0208 100%) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.45) !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  box-shadow: 0 6px 20px rgba(42, 2, 8, 0.3) !important;
  color: #FFFFFF !important;
  margin-bottom: 16px !important;
}

.referral-card .referral-label,
.referral-label {
  color: #F8E292 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.referral-card .referral-link,
.referral-link {
  color: #FFFFFF !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  word-break: break-all !important;
  background: rgba(0, 0, 0, 0.35) !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(212, 175, 55, 0.25) !important;
  margin-bottom: 12px !important;
  display: block !important;
}

.referral-card .copy-btn,
.copy-btn {
  background: linear-gradient(180deg, #FDE68A 0%, #D4AF37 50%, #B8860B 100%) !important;
  color: #2A0208 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  border: none !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.15s ease, filter 0.15s ease !important;
}

.referral-card .copy-btn:hover,
.copy-btn:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
}

.referral-card .download-qr-btn,
.download-qr-btn {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  border: 1px solid rgba(212, 175, 55, 0.6) !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: background 0.15s ease, transform 0.15s ease !important;
}

.referral-card .download-qr-btn:hover,
.download-qr-btn:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-1px) !important;
}

.referral-card .referral-qr,
.referral-qr {
  background: #FFFFFF !important;
  border: 2px solid #D4AF37 !important;
  border-radius: 10px !important;
  padding: 6px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

/* 10. Summary Cards on Dark Maroon Backgrounds */
.summary-card,
.summary {
  background: linear-gradient(135deg, #4A0713 0%, #2A0208 100%) !important;
  border: 1.5px solid #D4AF37 !important;
  color: #FFFFFF !important;
}

.summary-card .summary-value,
.summary strong {
  color: #FFF4B8 !important;
}

.summary-card .summary-label,
.summary span {
  color: #E6D5B8 !important;
}

/* 11. Dark Wallet Cards (Gold & Active Wallets) */
.gold-card .gold-balance {
  color: #F8E292 !important;
}

.gold-card .gold-value {
  color: #FFF4B8 !important;
}

.usdt-card .usdt-label {
  color: #E6D5B8 !important;
}

/* 12. Team Details & User Cards */
.user-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(212, 175, 55, 0.25) !important;
}

.user-card .user-id {
  color: #2A0208 !important;
  font-weight: 700 !important;
}

.user-card .user-fullname {
  color: #3A030D !important;
  font-weight: 600 !important;
}

.user-card .user-mobile,
.user-card .user-date {
  color: #6B7280 !important;
}

.user-card .user-deposit {
  color: #15803D !important;
  font-weight: 700 !important;
}

.level-tab.active {
  background: #3A030D !important;
  color: #F8E292 !important;
  border-color: #D4AF37 !important;
}

/* 13. Form Labels and Controls */
label,
.form-label {
  color: #2A0208 !important;
  font-weight: 600 !important;
}

.form-control,
input.form-control,
select.form-control {
  color: #1A1A1A !important;
  background-color: #FFFFFF !important;
}

/* 14. Discount Offer Banner Contrast Guarantee */
.keso-discount-offer {
  background: linear-gradient(135deg, #FFFDF7 0%, #FFF8E7 100%) !important;
  border: 1.5px solid #D4AF37 !important;
  color: #3A030D !important;
}

.keso-discount-offer strong,
.keso-discount-offer .keso-discount-final,
.keso-discount-offer .keso-discount-date {
  color: #8A1528 !important;
  font-weight: 800 !important;
}

.keso-discount-offer .keso-discount-timer {
  color: #555555 !important;
  border-top-color: rgba(212, 175, 55, 0.35) !important;
}

/* ==========================================================================
   15. Promotional Investment Banner & Overlay (Image 2 Match)
   ========================================================================== */
.az-promo-banner {
  position: relative;
  width: 100%;
  border-radius: var(--az-radius-md, 14px);
  overflow: hidden;
  margin: 14px 0 20px;
  box-shadow: 0 4px 18px rgba(42, 2, 8, 0.25);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  cursor: pointer;
  background: #2A0208;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  user-select: none;
}

.az-promo-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  border-color: rgba(212, 175, 55, 0.85);
}

.az-promo-banner:active {
  transform: scale(0.99);
}

.az-promo-banner img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 3.8 / 1;
  min-height: 90px;
}

.az-promo-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(15, 2, 4, 0.28) 100%);
  pointer-events: none;
}

.az-promo-banner-overlay span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.az-promo-banner-overlay strong {
  display: block;
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 800;
  color: #FFF275 !important;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(212, 175, 55, 0.65);
  letter-spacing: 0.6px;
  line-height: 1.25;
  margin-bottom: 5px;
}

.az-promo-banner-overlay small {
  display: block;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF !important;
  text-shadow: 
    0 1px 4px rgba(0, 0, 0, 0.95),
    0 0 8px rgba(0, 0, 0, 0.85);
  letter-spacing: 1.2px;
}

@media (max-width: 576px) {
  .az-promo-banner-overlay strong {
    font-size: 15px;
    letter-spacing: 0.3px;
    margin-bottom: 3px;
  }
  .az-promo-banner-overlay small {
    font-size: 9.5px;
    letter-spacing: 0.8px;
  }
}

@media (max-width: 380px) {
  .az-promo-banner-overlay strong {
    font-size: 13px;
  }
  .az-promo-banner-overlay small {
    font-size: 8.5px;
  }
}



/* ==========================================================================
   GLOBAL AZ BUTTON SYSTEM & TEXT CONTRAST SYSTEM
   Ensures 100% visibility, crisp contrast, standard height, and centering
   ========================================================================== */

/* Universal Primary Gold Buttons */
.az-btn-primary,
.btn-submit,
.btn-recharge,
.submit-btn,
.az-gold-btn-primary,
.az-gold-btn {
  width: 100%;
  min-height: 48px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #FDE68A 0%, #F5C542 38%, #D4AF37 72%, #B8860B 100%) !important;
  color: #2A0208 !important;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.42) !important;
  transition: all 0.22s ease-in-out !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  user-select: none !important;
}

.az-btn-primary i,
.btn-submit i,
.btn-recharge i,
.submit-btn i,
.az-gold-btn-primary i,
.az-gold-btn i {
  margin-right: 8px;
  font-size: 16px;
  color: #2A0208 !important;
}

.az-btn-primary:hover,
.btn-submit:hover,
.btn-recharge:hover,
.submit-btn:hover,
.az-gold-btn-primary:hover,
.az-gold-btn:hover {
  background: linear-gradient(135deg, #FFF0A8 0%, #F8D25E 38%, #E0BC48 72%, #C59318 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(212, 175, 55, 0.55) !important;
  color: #1F0106 !important;
}

.az-btn-primary:active,
.btn-submit:active,
.btn-recharge:active,
.submit-btn:active,
.az-gold-btn-primary:active,
.az-gold-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35) !important;
}

.az-btn-primary:disabled,
.btn-submit:disabled,
.btn-recharge:disabled,
.submit-btn:disabled,
.az-gold-btn-primary:disabled,
.az-gold-btn:disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Secondary Gold / Neutral Pill Buttons */
.az-btn-secondary,
.az-gold-btn-secondary {
  min-height: 48px;
  padding: 12px 24px;
  background: #FFFFFF !important;
  color: #3A030D !important;
  border: 1.5px solid rgba(212, 175, 55, 0.6) !important;
  border-radius: 9999px !important;
  font-family: 'Poppins', -apple-system, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s ease-in-out !important;
  box-sizing: border-box !important;
}

.az-btn-secondary i,
.az-gold-btn-secondary i {
  margin-right: 8px;
  color: #B8860B !important;
}

.az-btn-secondary:hover,
.az-gold-btn-secondary:hover {
  background: #FAF8F5 !important;
  border-color: #D4AF37 !important;
  color: #2A0208 !important;
  transform: translateY(-2px);
}

/* Royal Maroon Pill Button */
.az-btn-maroon {
  min-height: 44px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #4A0713 0%, #3A030D 50%, #2A0208 100%) !important;
  color: #F5C542 !important;
  border: 1.5px solid rgba(212, 175, 55, 0.45) !important;
  border-radius: 9999px !important;
  font-family: 'Poppins', -apple-system, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(42, 2, 8, 0.25) !important;
  transition: all 0.2s ease-in-out !important;
  box-sizing: border-box !important;
}

.az-btn-maroon i {
  margin-right: 6px;
  color: #F5C542 !important;
}

.az-btn-maroon:hover {
  background: linear-gradient(135deg, #5E0C1C 0%, #4A0713 50%, #3A030D 100%) !important;
  color: #FFF4B8 !important;
  border-color: #F5C542 !important;
  transform: translateY(-2px);
}

/* Auth Outlined Register Button */
.btn-register {
  width: 100%;
  min-height: 48px;
  background: transparent !important;
  border: 1.5px solid #F5C542 !important;
  color: #FFF275 !important;
  border-radius: 9999px !important;
  font-family: 'Poppins', -apple-system, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  margin-top: 10px;
}

.btn-register:hover {
  background: rgba(212, 175, 55, 0.16) !important;
  color: #FFFFFF !important;
  border-color: #FFF275 !important;
}

/* Security Password Action Button */
.az-btn-security-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 11px 22px !important;
  border-radius: 9999px !important;
  background: linear-gradient(135deg, #FDE68A 0%, #F5C542 38%, #D4AF37 72%, #B8860B 100%) !important;
  color: #2A0208 !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4) !important;
  transition: all 0.2s ease !important;
}

.az-btn-security-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.55) !important;
}

/* Form Visibility & High Contrast Adjustments on User Pages */
.az-container select,
.container select,
.az-container input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.container input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  color: #1A1A1A;
}

.input-box span,
.az-form-group .az-label {
  color: #2A1810 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

.method-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}

.method-row span {
  color: #4B5563 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}

.method-row b {
  color: #1A1A1A !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

.method-preview {
  background: #FAF8F5 !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  margin-bottom: 14px !important;
}

.flow-card {
  background: rgba(255, 248, 235, 0.95) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.4) !important;
  border-radius: 14px !important;
  padding: 16px !important;
  margin-bottom: 18px !important;
  color: #374151 !important;
}

.flow-card h3 {
  color: #3A030D !important;
  font-weight: 800 !important;
}

.flow-card p {
  color: #4B5563 !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
}

/* ==========================================================================
   TOP 3 PRODUCTS DAILY PRICE CARDS (E-gold, Trade-In, Gold Saving)
   ========================================================================== */
.az-products-price-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.az-product-price-card {
  background: linear-gradient(180deg, #4A030F 0%, #2A0108 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 14px;
  padding: 10px 5px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 4px 12px rgba(42, 2, 8, 0.2);
  text-decoration: none !important;
  min-height: 118px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.az-product-price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
  border-color: rgba(212, 175, 55, 0.85);
}

.az-product-price-icon {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 4px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
}

.az-product-price-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 6px;
}

.az-product-price-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 95%;
  padding: 4px 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%);
  color: #2A0208 !important;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 2px 5px rgba(212, 175, 55, 0.45);
  white-space: nowrap;
}

/* ==========================================================================
   IMAGE 2 REFERENCE: LIVE GOLD PRICE CARD & CHART
   ========================================================================== */
.az-live-gold-card {
  background: linear-gradient(180deg, #280309 0%, #150104 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 18px;
  padding: 14px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 14px;
  margin-bottom: 12px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

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

.az-live-gold-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.az-live-gold-icon-bars {
  font-size: 22px;
  color: #E5B842;
  filter: drop-shadow(0 2px 6px rgba(229, 184, 66, 0.4));
}

.az-live-gold-title {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #FFF3C4 0%, #F5D77F 45%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  line-height: 1.15;
}

.az-live-gold-subtitle {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.az-live-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.az-live-badge-red {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2.5px 9px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.55);
}

.az-live-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  animation: azPulseDot 1.4s infinite;
}

@keyframes azPulseDot {
  0% { transform: scale(0.85); opacity: 0.6; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.6; }
}

.az-live-timestamp-row {
  display: flex;
  align-items: center;
  gap: 5px;
  text-align: right;
}

.az-live-timestamp-text {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.2;
}

.az-live-refresh-btn {
  color: #E5B842;
  cursor: pointer;
  font-size: 12px;
  padding: 2px;
  transition: transform 0.3s ease, color 0.2s ease;
}

.az-live-refresh-btn:hover {
  transform: rotate(180deg);
  color: #FFF3C4;
}

.az-live-gold-purity-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}

.az-live-purity-box {
  background: linear-gradient(180deg, #3A050E 0%, #1E0105 100%);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 12px;
  padding: 8px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.05);
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.az-live-purity-img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.az-live-purity-info {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.az-live-purity-tag {
  font-size: 10px;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.az-live-purity-karat {
  color: #E5B842;
  font-weight: 700;
}

.az-live-purity-price {
  font-family: 'Cinzel', serif;
  font-size: 14.5px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 1px 0;
  letter-spacing: -0.3px;
  line-height: 1.15;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.az-live-purity-unit {
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}

.az-live-purity-change {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 9.5px;
  font-weight: 700;
  color: #22C55E;
  margin-top: 1px;
  white-space: nowrap;
}

.az-live-chart-container {
  background: #110103;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  padding: 10px 6px 6px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

.az-live-chart-canvas {
  width: 100%;
  height: 165px;
  display: block;
}

.az-live-chart-price-pill {
  position: absolute;
  right: 6px;
  background: #F59E0B;
  color: #1A0D00;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  transform: translateY(-50%);
  z-index: 2;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* ==========================================================================
   IMAGE 1 REFERENCE: ACTION BUTTONS (BUY AZ E-GOLD & GOLD ASSET VAULT)
   ========================================================================== */
.az-gold-action-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 22px;
  width: 100%;
  box-sizing: border-box;
}

.az-btn-buy-egold {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #F8DA76 0%, #E6B63B 60%, #C4911B 100%);
  color: #2B0208 !important;
  font-family: 'Cinzel', serif;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
  min-width: 0;
  box-sizing: border-box;
}

.az-btn-buy-egold:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.az-btn-buy-egold i {
  color: #2B0208;
  font-size: 13px;
}

.az-btn-gold-vault {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.7);
  color: #3A030D !important;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(42, 24, 16, 0.06);
  transition: transform 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  min-width: 0;
  box-sizing: border-box;
}

.az-btn-gold-vault:hover {
  transform: translateY(-2px);
  background: #FAF8F5;
}

.az-btn-gold-vault i {
  color: #D4AF37;
  font-size: 14px;
}


