/* =========================================================
   114 — Home tabs cyan, product cyan, account Minhaj,
   loading cyan, bottom nav float, smooth, no purple/red
   ========================================================= */

/* ===== HOME TABS: ALL / NON-ROOT / ROOT / IOS / PC / MORE — cyan light ===== */
.section-tabs,
#sectionTabs {
  gap: 8px !important;
}
.section-tab,
.category-tab,
.filter-tab,
#sectionTabs .section-tab {
  background: rgba(10, 18, 30, 0.95) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
  color: #bae6fd !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none !important;
}
.section-tab.active,
.category-tab.active,
.filter-tab.active,
#sectionTabs .section-tab.active {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8) !important;
  border-color: #7dd3fc !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35) !important;
}
.section-tab .tab-icon,
.section-tab i {
  color: inherit !important;
}

/* Section titles — white only, NO purple, NO heavy outline */
.section-title,
.panel-section-title,
.home-section-title,
.category-section-title,
[class*="section-title"] {
  color: #ffffff !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(8, 12, 20, 0.95)) !important;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.12) !important;
  text-shadow: none !important;
  outline: none !important;
}
.section-title *,
.panel-section-title * {
  color: #ffffff !important;
  text-shadow: none !important;
}

/* Page / cards background — black, not red outline */
body,
html,
.home-view,
#home-view,
.main-content,
.app-shell {
  background: #05080f !important;
}
.product-card,
.panel-card,
.home-product-card {
  border-color: rgba(56, 189, 248, 0.2) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  outline: none !important;
}

/* ===== PRODUCT PAGE: plan select, total, rules ===== */
/* Hide Verified Products badge */
.plan-verified,
.flat-price-item .plan-verified,
span.plan-verified {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
}

/* Selected plan — cyan border + small cyan check (not big red) */
.flat-price-item {
  border: 1.5px solid rgba(56, 189, 248, 0.25) !important;
  background: rgba(10, 18, 30, 0.95) !important;
  border-radius: 12px !important;
  position: relative !important;
}
.flat-price-item.selected {
  border: 1.5px solid #38bdf8 !important;
  background: linear-gradient(160deg, rgba(14, 165, 233, 0.15), rgba(8, 14, 24, 0.98)) !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25) !important;
}
.flat-price-item.selected::before {
  content: "✓" !important;
  position: absolute !important;
  top: 6px !important;
  left: 8px !important;
  width: 16px !important;
  height: 16px !important;
  line-height: 16px !important;
  text-align: center !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  color: #fff !important;
  background: #0ea5e9 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.5) !important;
  z-index: 2 !important;
}
/* Kill any red check / red selected */
.flat-price-item.selected [style*="red"],
.flat-price-item .red-check,
.plan-check-red {
  display: none !important;
}

/* TOTAL AMOUNT — same cyan as price */
.total-amount-box,
.total-row,
.panel-total-amount,
#total-amount-display,
.total-amount-label,
[class*="total-amount"] {
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  background: linear-gradient(100deg, rgba(14, 165, 233, 0.12), rgba(8, 14, 24, 0.95)) !important;
}
.total-amount-box strong,
.total-amount-value,
#panelTotalPrice,
.flat-plan-price {
  color: #7dd3fc !important;
}

/* PANEL RULES & CONDITION — cyan card */
.panel-rules-inside,
.panel-rules-card,
.rules-condition-card,
[class*="panel-rules"] {
  border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
  background: linear-gradient(165deg, #0c1520, #070c14) !important;
  border-radius: 14px !important;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.12) !important;
}
.panel-rules-inside h4,
.panel-rules-inside .rules-title,
.panel-rules-inside::before {
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  background: transparent !important;
}
.panel-rules-inside .rules-icon,
.panel-rules-inside i.fa-shield {
  color: #38bdf8 !important;
  background: rgba(14, 165, 233, 0.15) !important;
}

/* APK button cyan outline */
.apk-middle-btn,
#panel-apk-link,
.btn-file {
  border: 1.5px solid rgba(56, 189, 248, 0.5) !important;
  color: #7dd3fc !important;
  background: rgba(14, 165, 233, 0.08) !important;
}

/* ===== LOADING — cyan, ANWAR CORP SHOP, big bar ===== */
.real-loading-overlay,
#realLoadingOverlay,
.athar-page-loader {
  background: #05080f !important;
}
.real-loading-box,
.athar-modern-loader,
.athar-red-loader {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
.athar-loader-logo {
  width: 80px !important;
  height: 80px !important;
  border-radius: 18px !important;
  border: 2px solid rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.4) !important;
  object-fit: cover !important;
}
.athar-rl-progress {
  height: 10px !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border-radius: 99px !important;
}
.athar-rl-progress-bar,
#atharProgressBar {
  background: linear-gradient(90deg, #0284c7, #38bdf8, #7dd3fc) !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.55) !important;
}
#atharProgressPct,
#atharLoadStatus {
  color: #7dd3fc !important;
}

/* Post-load popup / community — cyan dark outline */
.athar-join-card,
.official-notice-popup,
.telegram-join-popup,
.community-announce-modal,
#officialNoticeModal {
  border: 1.5px solid rgba(56, 189, 248, 0.5) !important;
  background: linear-gradient(165deg, #0c1520, #070c14) !important;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.15), 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(14, 165, 233, 0.2) !important;
}

/* ===== ACCOUNT = Minhaj style (screenshot 4) ===== */
#profile-view-box,
#account-view {
  background: #05080f !important;
  padding-bottom: 110px !important;
}
/* Hide PROFILE DETAILS expand button — security at bottom */
#pfDetailsOpen,
.pf-details-open {
  display: none !important;
}
/* Keep info card but restyle as clean rows later via JS order */
.pf-info-card {
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  background: linear-gradient(160deg, #0c1520, #0a101c) !important;
  border-radius: 14px !important;
  margin: 10px 0 !important;
}
.pf-header-row .profile-avatar {
  border: 3px solid #38bdf8 !important;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3), 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}
.pf-cover-wrap {
  background: radial-gradient(ellipse at 50% 20%, rgba(14, 165, 233, 0.2), transparent 55%),
    linear-gradient(135deg, #0c1520, #070c14) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
}
.pf-stats-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-size: 26px !important;
  font-weight: 900 !important;
}

/* Security section at bottom styling */
.pf-security-block,
.account-security-section {
  margin-top: 16px !important;
  border-top: 1px solid rgba(56, 189, 248, 0.15) !important;
  padding-top: 12px !important;
}
.pf-security-block .menu-row,
.pf-security-block .account-link {
  border: 1px solid rgba(56, 189, 248, 0.12) !important;
  background: rgba(10, 18, 30, 0.92) !important;
  border-radius: 12px !important;
  color: #e0f2fe !important;
  margin-bottom: 8px !important;
}

/* ===== BOTTOM NAV — float slightly higher, smooth ===== */
.bottom-nav {
  bottom: 12px !important;
  left: 10px !important;
  right: 10px !important;
  width: auto !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  border-radius: 22px !important;
  background: rgba(8, 14, 24, 0.92) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(14, 165, 233, 0.1) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  padding: 6px 8px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.bottom-nav .nav-item {
  transition: transform 0.2s ease, color 0.2s ease !important;
}
.bottom-nav .nav-item.active {
  color: #38bdf8 !important;
}
.bottom-nav .nav-item:active {
  transform: scale(0.92) !important;
}

/* Smooth page / tab transitions */
.home-view,
#home-view,
.add-funds-view,
#add-funds-view,
#account-view,
#orders-view,
#keys-view,
.product-detail-view {
  animation: atharPageIn 0.28s ease-out !important;
}
@keyframes atharPageIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fast clicks — reduce lag feel */
button, .nav-item, .section-tab, .flat-price-item, .method-btn, .af-chip {
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation !important;
}
button:active, .section-tab:active, .flat-price-item:active {
  transform: scale(0.97) !important;
  transition: transform 0.12s ease !important;
}

/* Floating support stays, cyan */
.floating-support {
  background: linear-gradient(135deg, #0284c7, #38bdf8) !important;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4) !important;
  border: none !important;
}
.floating-support-label {
  background: rgba(8, 14, 24, 0.95) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #e0f2fe !important;
}
