/* =========================================================
   ANWAR CORP — User final SS match (19 Nov 2026)
   - Section titles WHITE + sky-blue (no purple)
   - Notice typing cyan/sky
   - Popup + Loading cyan (store logo, not red)
   - Hide Secure Pay / gateway extra select
   - Hide KEY RESET + REFER REWARDS
   - Add Funds page = dark cyan like last SS
   - CONTINUE TO PAYMENT
   ========================================================= */

/* ---- Section titles: white text, sky-blue border (remove purple) ---- */
.section-title,
.panel-section-title,
.home-section-title,
.category-section-title,
.section-header-title,
[class*="section-title"],
.athar-section-title {
  color: #ffffff !important;
  border: 1.5px solid rgba(56, 189, 248, 0.55) !important;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(8, 12, 20, 0.96)) !important;
  box-shadow: 0 0 14px rgba(14, 165, 233, 0.15) !important;
  text-shadow: none !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
}
.section-title *,
.panel-section-title *,
.home-section-title * {
  color: #ffffff !important;
  text-shadow: none !important;
}

/* Kill purple leftovers on sections / tabs */
.section-title[style*="purple"],
.section-title[style*="#a855f7"],
.section-title[style*="#7c3aed"],
.panel-section-title[style*="purple"],
.category-tab.active[style*="purple"] {
  color: #fff !important;
  border-color: rgba(56, 189, 248, 0.55) !important;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8) !important;
}

/* Category tabs ALL / NON-ROOT / ROOT / IOS / PC — sky blue active */
.section-tab.active,
.category-tab.active,
.filter-tab.active,
.section-tabs .active,
.home-filter-tab.active {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3) !important;
}
.section-tab,
.category-tab,
.filter-tab {
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: #94a3b8 !important;
  background: rgba(10, 18, 30, 0.9) !important;
}

/* NOTICE typing color = sky cyan */
#atharTypewriterBar,
.athar-top-notice-board,
.notice-bar-top,
.top-notice,
.marquee-notice,
.notice-typing,
.athar-notice-text {
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(10, 18, 30, 0.96)) !important;
  color: #e0f2fe !important;
}
#atharTypewriterBar span,
.notice-text,
.notice-typing,
.athar-typewriter-text {
  color: #e0f2fe !important;
}

/* Telegram / Community popup — cyan like SS */
.athar-join-card,
.official-notice-popup,
.telegram-join-popup,
.community-announce-modal,
#officialNoticeModal,
.athar-tg-popup,
.athar-community-popup {
  border: 1.5px solid rgba(56, 189, 248, 0.45) !important;
  background: linear-gradient(165deg, #0c1520 0%, #070c14 100%) !important;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12), 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(14, 165, 233, 0.15) !important;
  border-radius: 20px !important;
}
.athar-join-main-btn,
.official-notice-btn,
.telegram-join-btn {
  background: linear-gradient(100deg, #0284c7, #38bdf8 55%, #0ea5e9) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35) !important;
}

/* Loading — cyan, store logo friendly (NOT red) */
.loading-overlay,
.athar-loading,
.real-loading,
#loadingOverlay,
.page-loader,
.athar-page-loader {
  background: rgba(5, 8, 15, 0.9) !important;
}
.loading-spinner,
.spinner,
.loader-ring,
.athar-spinner {
  border-color: rgba(56, 189, 248, 0.2) !important;
  border-top-color: #38bdf8 !important;
  border-right-color: #38bdf8 !important;
}
.loading-logo img,
.loader-store-logo,
.athar-loader-logo {
  filter: none !important;
  opacity: 1 !important;
}

/* ===== HIDE KEY RESET & REFER REWARDS ===== */
#referralCard,
.pf-zone-card#referralCard,
.pf-refer-btn,
button.pf-refer-btn,
#drawerKeyResetItem,
#key-reset-view,
.key-reset-view,
.athar-referral-modal,
#atharReferralModal,
[onclick*="openKeyResetPage"],
[onclick*="openAtharReferralModal"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

/* ===== ADD FUNDS PAGE — dark cyan like last SS, no Secure Pay ===== */
.add-funds-view,
#add-funds-view {
  background: radial-gradient(ellipse at top, #0c1a2e 0%, #070c14 45%, #05080f 100%) !important;
  color: #f0f9ff !important;
}
.af-header {
  background: transparent !important;
}
.af-secure-pill,
.af-secure-pill *,
.secure-trust-strip,
.funds-secure-strip,
.add-funds-secure,
.secure-pay-row,
.af-header-right .af-secure-pill {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
/* Hide the extra "How do you want to pay?" row — chips already select method */
.af-gateway-row,
.funds-method-trigger,
button.af-gateway-row,
#funds-method-modal {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

/* Logo / brand on funds — cyan glow */
.af-logo {
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.45) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
}
.af-title {
  background: linear-gradient(90deg, #fff, #7dd3fc, #38bdf8) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: #38bdf8 !important;
}
.af-sub {
  color: #94a3b8 !important;
}

/* Amount card */
.af-card,
.af-amount-card {
  background: linear-gradient(160deg, #0c1520, #0a101c) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35) !important;
}
.af-card-title {
  color: #e0f2fe !important;
}
.af-card-title i {
  color: #38bdf8 !important;
}
.af-amount-box,
.af-amount-round {
  background: rgba(8, 14, 24, 0.95) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 14px !important;
}
.af-taka,
.af-bdt {
  color: #38bdf8 !important;
}
#fundsCustomAmount {
  color: #fff !important;
  background: transparent !important;
}

/* Method chips — BD / India / Binance online */
.af-method-chips {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin: 14px 0 !important;
}
.af-chip {
  flex: 1 1 30% !important;
  min-width: 95px !important;
  background: linear-gradient(160deg, #0c1520, #0a101c) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 14px !important;
  color: #e0f2fe !important;
  padding: 10px 8px !important;
  position: relative !important;
}
.af-chip.active {
  border-color: #38bdf8 !important;
  background: linear-gradient(160deg, rgba(14, 165, 233, 0.18), #0a121e) !important;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.25) !important;
}
.af-chip-status {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #4ade80 !important;
  box-shadow: 0 0 8px #4ade80 !important;
}
.af-chip-status-text {
  color: #4ade80 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}
.af-chip-label {
  color: #f0f9ff !important;
  font-weight: 800 !important;
  font-size: 12px !important;
}

/* CONTINUE TO PAYMENT button */
.funds-submit-btn,
.af-proceed-btn,
button.funds-submit-btn {
  background: linear-gradient(100deg, #0284c7, #38bdf8 55%, #0ea5e9) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4) !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  padding: 14px 18px !important;
  width: 100% !important;
  margin-top: 12px !important;
}
.funds-submit-btn i {
  color: #fff !important;
}

/* View All / Less — cyan */
.af-view-all,
.view-all-btn,
.view-less-btn,
.section-view-toggle {
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  background: rgba(14, 165, 233, 0.08) !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

/* History section */
.funds-history-section,
.af-history {
  background: transparent !important;
}
.funds-history-title {
  color: #e0f2fe !important;
}
.af-hist-row,
.funds-history-item {
  background: linear-gradient(160deg, #0c1520, #0a101c) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  border-radius: 12px !important;
}

/* ===== ACCOUNT PAGE — Minhaj style (cyan, no purple cover) ===== */
#account-view,
#profile-view-box {
  background: #05080f !important;
}
.pf-cover-wrap {
  background: radial-gradient(ellipse at 50% 15%, rgba(14, 165, 233, 0.22), transparent 55%),
    linear-gradient(135deg, #0c1520, #070c14 65%, #0a101c) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  box-shadow: inset 0 0 25px rgba(14, 165, 233, 0.08) !important;
}
.pf-header-row .profile-avatar,
#account-view .profile-avatar,
#account-view .user-avatar {
  border: 3px solid #38bdf8 !important;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35), 0 7px 25px rgba(0, 0, 0, 0.5) !important;
}
.pf-header-meta h3,
#account-view .profile-display-name {
  color: #fff !important;
}
.pf-header-sub {
  color: #7dd3fc !important;
  background: linear-gradient(100deg, rgba(14, 165, 233, 0.18), rgba(8, 145, 178, 0.12)) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
}
.pf-details-open,
.pf-edit-card-btn {
  background: linear-gradient(100deg, #0284c7, #38bdf8) !important;
  color: #fff !important;
  border: none !important;
}
.pf-stats-card,
.pf-info-card,
.pf-balance-row {
  background: linear-gradient(160deg, #0c1520, #0a101c) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 14px !important;
}
.pf-balance-val,
#profile-balance {
  color: #4ade80 !important;
  font-weight: 900 !important;
}
.pf-stat-box strong {
  color: #e0f2fe !important;
}
.menu-row,
.account-link,
.rewards-row,
.security-row,
.pf-menu-item {
  border: 1px solid rgba(56, 189, 248, 0.12) !important;
  background: rgba(10, 18, 30, 0.9) !important;
  border-radius: 12px !important;
  color: #e0f2fe !important;
}
.menu-row i,
.account-link i {
  color: #38bdf8 !important;
}

/* Force any remaining red/purple accents on funds/account to cyan */
.add-funds-view [style*="#ef4444"],
.add-funds-view [style*="rgb(239"],
#account-view [style*="#a855f7"],
#account-view [style*="#7c3aed"] {
  /* override via more specific rules above */
}
