/* ==========================================================================
   HASSAN FX TRADER - UNIFIED LIGHT LUXURY DESIGN SYSTEM
   Clean Fintech & Gold Trading Light Theme with Complete Admin & Blog Styles
   ========================================================================== */

/* ===== Root Design Tokens (Light Luxury Theme) ===== */
:root {
  --bg-page: #FAFAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  
  --brand-blue: #25459C;
  --brand-blue-dark: #1A3278;
  --brand-blue-light: #3B82F6;
  --brand-blue-50: #EFF6FF;
  
  --gold-primary: #D97706;
  --gold-accent: #F59E0B;
  --gold-light: #FEF3C7;
  --gold-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  
  --text-main: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;
  
  --border-color: #E2E8F0;
  --border-hover: #CBD5E1;
  --border-gold: rgba(217, 119, 6, 0.3);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 35px -4px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --shadow-gold: 0 8px 25px rgba(245, 158, 11, 0.25);
  --shadow-blue: 0 8px 25px rgba(37, 69, 156, 0.25);
}

/* HASSAN FX commerce refresh — market-ticket motif */
:root { --hfx-navy:#0b1730; --hfx-blue:#25459c; --hfx-blue-2:#3764c4; --hfx-ink:#101a2d; --hfx-mist:#f3f6fb; --hfx-gold:#b98522; }
:focus-visible { outline:3px solid rgba(37,69,156,.28); outline-offset:3px; }
.pricing-ticket-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.pricing-ticket { position:relative; overflow:hidden; display:flex; flex-direction:column; min-width:0; background:#fff; border:1px solid #dce4ef; border-radius:20px; box-shadow:0 15px 38px rgba(20,42,82,.08); }
.pricing-ticket::before,.pricing-ticket::after { content:""; position:absolute; top:67px; width:22px; height:22px; background:#fafafc; border:1px solid #dce4ef; border-radius:50%; z-index:2; }
.pricing-ticket::before { right:-12px; }.pricing-ticket::after { left:-12px; }
.pricing-ticket > header { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:58px; padding:15px 20px; color:#dce8ff; background:linear-gradient(135deg,var(--hfx-navy),#172d59); border-bottom:1px dashed rgba(255,255,255,.28); }
.ticket-code { direction:ltr; font:700 11px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.08em; }
.ticket-saving { color:#3d2a05; background:#f3cc76; border-radius:999px; padding:5px 9px; font-size:11px; font-weight:800; }
.ticket-body { flex:1; padding:27px 24px 20px; text-align:center; }.ticket-body h3 { color:var(--hfx-ink); font-size:19px; font-weight:800; }.ticket-old { margin-top:16px; color:#8b98aa; font:600 13px ui-monospace,SFMono-Regular,Menlo,monospace; text-decoration:line-through; }.ticket-current { margin:0; color:var(--hfx-blue); font:800 42px/1.15 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:-.05em; }.ticket-current sup { font-size:17px; vertical-align:top; margin-inline-end:3px; }.ticket-saved { margin-top:8px; color:#8a651c; font-size:12px; font-weight:700; }
.pricing-ticket > footer { padding:0 20px 22px; }.pricing-ticket > footer a { display:flex; justify-content:center; width:100%; padding:12px; font-weight:800; }
.plan-includes-panel { position:relative; padding:26px 28px; background:#fff; border:1px solid #dce4ef; border-right:4px solid var(--hfx-blue); border-radius:16px; box-shadow:0 10px 28px rgba(20,42,82,.05); }
.bot-info-section > h2 { position:relative; margin-bottom:22px!important; padding-right:18px; color:var(--hfx-ink); letter-spacing:-.02em; }.bot-info-section > h2::before { content:""; position:absolute; top:.25em; right:0; width:4px; height:1.15em; background:var(--hfx-blue); border-radius:4px; }.bot-process-card { position:relative; overflow:hidden; border:1px solid #dce4ef; border-radius:16px; box-shadow:0 10px 28px rgba(20,42,82,.05); }.bot-process-card::after { content:"XAU / H1"; position:absolute; top:18px; left:20px; color:#8795aa; font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.09em; }.bot-after-section .step-card { position:relative; min-height:145px; border-color:#dce4ef; box-shadow:0 8px 24px rgba(20,42,82,.045); }.bot-after-section .step-card:not(:last-child)::after { content:""; position:absolute; top:34px; left:-13px; width:20px; border-top:1px dashed #aabbd3; }.bot-after-section .step-badge { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; box-shadow:0 0 0 5px #eef3fb; }
.coupon-box { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,1fr); gap:14px 24px; padding:18px; background:#f7f9fd; border:1px dashed #b8c7df; border-radius:14px; }.coupon-entry { display:flex; gap:8px; }.coupon-entry .form-input { min-width:0; text-transform:uppercase; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }.coupon-message { grid-column:1/-1; min-height:20px; margin:0; font-size:12px; font-weight:700; }.coupon-message.is-success { color:#047857; }.coupon-message.is-error { color:#b91c1c; }
.price-breakdown { padding:17px 20px; background:var(--hfx-navy); color:#d4dded; border-radius:15px; }.price-breakdown > div[hidden] { display:none; }.price-breakdown > div { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:7px 0; font-size:13px; }.price-breakdown bdi { color:#fff; font:700 14px ui-monospace,SFMono-Regular,Menlo,monospace; }.price-breakdown #discountRow,.price-breakdown #discountRow bdi { color:#f3cc76; }.price-breakdown-total { margin-top:6px; border-top:1px solid rgba(255,255,255,.16); padding-top:14px!important; font-weight:800; }.price-breakdown-total bdi { font-size:19px; }.admin-page-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:26px; }.admin-eyebrow,.section-kicker { color:var(--hfx-blue); font:800 10px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.12em; }.bot-sales-page .admin-card { margin-bottom:22px; padding:26px; border:1px solid #dfe6f0; border-radius:18px; box-shadow:0 10px 28px rgba(19,41,78,.055); }.admin-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:22px; padding-bottom:17px; border-bottom:1px solid #e8edf4; }
.sales-capital-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }.money-input input,.sales-plan-ticket input,.coupon-admin-form input:not([type=checkbox]) { width:100%; min-width:0; padding:11px 13px; color:#172033; background:#fff; border:1px solid #ccd7e6; border-radius:10px; font:600 14px 'IBM Plex Sans Arabic',sans-serif; }.sales-plan-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:20px; }.ticket-price-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:8px 16px 16px; }
.coupon-admin-form { display:grid; grid-template-columns:2fr 1fr 1.4fr auto auto auto; align-items:end; gap:12px; margin-bottom:25px; }
@media(max-width:960px){.pricing-ticket-grid,.sales-plan-grid{grid-template-columns:1fr}.coupon-admin-form{grid-template-columns:1fr 1fr}.coupon-admin-form .admin-btn{width:100%}}
@media(max-width:640px){.pricing-ticket-grid{gap:14px}.coupon-box{grid-template-columns:1fr}.coupon-entry{flex-direction:column}.coupon-message{grid-column:auto}.admin-page-head,.admin-section-head{align-items:flex-start;flex-direction:column}.admin-page-head .admin-btn{width:100%}.sales-capital-grid,.ticket-price-grid,.coupon-admin-form{grid-template-columns:1fr}.bot-sales-page .admin-card{padding:19px 16px}.ticket-current{font-size:36px}}
@media(prefers-reduced-motion:reduce){.pricing-ticket,.admin-btn{transition:none!important}}

/* ===== Global Reset & Typography ===== */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* ===== Live Gold Ticker Bar (Light Fintech Style) ===== */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: #F8FAFC;
  color: #334155;
  padding: 8px 0;
  font-size: 12px;
  position: relative;
  z-index: 60;
  border-bottom: 1px solid #E2E8F0;
}
.ticker-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 768px) {
  .ticker-content {
    gap: 12px;
    font-size: 11px;
  }
}

/* ===== Sticky Navbar ===== */
.navbar-sticky {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #E2E8F0;
  transition: all 0.3s ease;
}
.navbar-sticky.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom-color: #CBD5E1;
}

/* ===== Hero Background & Accents ===== */
.hero-light-bg {
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(37, 69, 156, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.06) 0%, transparent 40%),
    radial-gradient(#CBD5E1 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
}

.hero-title {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
}
.hero-title-line {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1.15;
}
@media (min-width: 768px) {
  .hero-title {
    gap: 28px !important;
  }
}

.hero-copy-desktop {
  display: none;
  margin: 0 auto;
  max-width: 42rem;
  color: #475569;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
}
.hero-copy-desktop p {
  margin: 0 !important;
}
.hero-copy-desktop span {
  color: var(--brand-blue);
  font-weight: 700;
}
@media (min-width: 768px) {
  .hero-copy-desktop {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
}

/* ===== Profile Photo Frame & Glow ===== */
.profile-avatar-wrap {
  position: relative;
  display: inline-block;
}
.profile-avatar-halo {
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #25459C, #F59E0B, #25459C);
  opacity: 0.7;
  filter: blur(8px);
  transition: opacity 0.3s ease;
}
.profile-avatar-wrap:hover .profile-avatar-halo {
  opacity: 1;
}
.profile-avatar-inner {
  position: relative;
  padding: 4px;
  background: #FFFFFF;
  border-radius: 9999px;
  border: 3px solid var(--brand-blue);
  box-shadow: var(--shadow-lg);
}

/* ===== Pulse Indicator Dot ===== */
.pulse-dot-green {
  width: 9px;
  height: 9px;
  background-color: #10B981;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}
.pulse-dot-green::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #10B981;
  animation: pulse-ring 2s cubic-bezier(0.2, 0, 0, 1) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ===== Clean Cards & Panels ===== */
.card-clean {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-clean:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.card-offer-luxury {
  background: #FFFFFF;
  border: 2px solid rgba(37, 69, 156, 0.15);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.card-offer-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #25459C 0%, #F59E0B 50%, #25459C 100%);
}

/* ===== Stat Counter Cards ===== */
.stat-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.stat-box:hover {
  border-color: var(--brand-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ===== Buttons (Clean Light Theme) ===== */
.btn-blue-primary {
  background: linear-gradient(135deg, #25459C 0%, #1A3278 100%);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 12px;
  padding: 14px 26px;
  box-shadow: var(--shadow-blue);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}
.btn-blue-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 69, 156, 0.4);
  color: #FFFFFF;
}

.btn-white-secondary {
  background: #FFFFFF;
  color: var(--brand-blue);
  font-weight: 700;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}
.btn-white-secondary:hover {
  border-color: var(--brand-blue);
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== 3 Steps Section ===== */
.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}
.step-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-blue-50);
  border: 1.5px solid rgba(37, 69, 156, 0.2);
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

/* ===== JustMarkets Partnership Banner ===== */
.justmarkets-banner {
  background: linear-gradient(135deg, #1A3278 0%, #25459C 60%, #1D4ED8 100%);
  border-radius: 22px;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* ===== FAQ Accordion (Clean Light) ===== */
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.faq-item:hover {
  border-color: #CBD5E1;
}
.faq-header {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.faq-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}
.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--brand-blue);
  flex-shrink: 0;
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}
.faq-item.active {
  border-color: rgba(37, 69, 156, 0.4);
  box-shadow: var(--shadow-md);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-item.active .faq-content {
  padding-bottom: 20px;
}

/* ===== Blog Cards ===== */
.blog-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}
.blog-card img {
  transition: transform 0.4s ease;
}
.blog-card:hover img {
  transform: scale(1.04);
}

/* Public article listings */
.blog-grid,
.public-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
.blog-card {
  min-width: 0;
  height: 100%;
}
.article-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e8edf5;
}
.article-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.article-card-image--empty::after {
  content: "HASSAN FX";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(37, 69, 156, 0.42);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.article-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 20px;
}
.article-card-date {
  margin-bottom: 8px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
}
.article-card-title {
  display: -webkit-box;
  min-height: 48px;
  margin-bottom: 9px;
  overflow: hidden;
  color: #172033;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.article-card-excerpt {
  display: -webkit-box;
  margin-bottom: 18px;
  overflow: hidden;
  color: #64748b;
  font-size: 13px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.article-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  margin-top: auto;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 800;
  transition: color .2s ease, gap .2s ease;
}
.blog-card:hover .article-card-more { color: var(--brand-dark); gap: 9px; }
.blog-card:focus-visible { outline: 3px solid rgba(37,69,156,.24); outline-offset: 3px; }
@media (min-width: 640px) {
  .blog-grid,
  .public-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .blog-grid,
  .public-article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1280px) {
  .blog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===== Article Content Typography ===== */
.article-content {
  color: #334155;
  font-size: 16px;
  line-height: 1.9;
}
.article-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin-top: 32px;
  margin-bottom: 14px;
}
.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  margin-top: 24px;
  margin-bottom: 10px;
}
.article-content p {
  margin-bottom: 18px;
}
.article-content ul, .article-content ol {
  margin-bottom: 20px;
  padding-right: 24px;
}
.article-content li {
  margin-bottom: 8px;
  list-style: disc;
}
.article-content blockquote {
  border-right: 4px solid var(--brand-blue);
  background: #F8FAFC;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 24px 0;
  font-style: italic;
  color: #475569;
}

/* ===== Public Form Inputs ===== */
.form-input {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 12px 16px;
  color: #0F172A;
  font-size: 14px;
  transition: all 0.2s ease;
  outline: none;
}
.form-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 69, 156, 0.12);
}
.form-input::placeholder {
  color: #94A3B8;
}

/* ===== Floating Telegram Button ===== */
.floating-telegram {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
  color: #FFFFFF;
  padding: 13px 22px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
  animation: telegram-float 3s ease-in-out infinite;
}
.floating-telegram:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 35px rgba(0, 136, 204, 0.6);
  color: #FFFFFF;
}
.floating-telegram svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.floating-telegram .badge-pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #EF4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  border: 2px solid #FFFFFF;
}
@keyframes telegram-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@media (max-width: 480px) {
  .floating-telegram {
    padding: 13px;
    border-radius: 50%;
  }
  .floating-telegram .btn-text {
    display: none;
  }
}

/* ===== Social Media Icons (Public) ===== */
.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
  overflow: hidden;
  transform: none;
}
.social-icon svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
  flex-shrink: 0;
}
.social-icon:hover {
  transform: none;
  color: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

/* Content, MT5 and analytics additions */
.section-kicker { display:inline-flex; color:#25459c; background:#eff6ff; border:1px solid #dbeafe; border-radius:999px; padding:4px 12px; font-size:12px; font-weight:800; }
.mt5-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.mt5-field { position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto; align-items:center; column-gap:12px; row-gap:8px; min-width:0; padding:15px 16px; background:#fff; border:1px solid #dfe7f3; border-radius:14px; box-shadow:0 8px 24px rgba(15,23,42,.05); }
.mt5-field span { grid-column:1 / -1; color:#64748b; font-size:11px; line-height:1.4; font-weight:700; }
.mt5-field bdi { grid-column:1; min-width:0; color:#0f172a; font-family:"IBM Plex Mono",monospace; font-size:15px; line-height:1.45; font-weight:700; text-align:left; unicode-bidi:isolate; overflow-wrap:anywhere; }
.copy-value { grid-column:2; grid-row:2; align-self:center; justify-self:end; display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; flex:0 0 38px; color:#25459c; background:#eef2ff; border:1px solid #d9e2ff; border-radius:10px; padding:0; font-size:0; line-height:1; cursor:pointer; transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease; }
.copy-value::before { content:""; display:block; flex:0 0 17px; width:17px; height:17px; background:currentColor; -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E"); -webkit-mask-position:center; mask-position:center; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-size:contain; mask-size:contain; }
.copy-value:hover { color:#1a3278; background:#e0e7ff; border-color:#b9c9f5; box-shadow:0 4px 12px rgba(37,69,156,.14); }
.copy-value:focus-visible { outline:3px solid rgba(37,69,156,.24); outline-offset:2px; }
.recommendation-card { display:flex; align-items:center; justify-content:space-between; gap:22px; min-height:112px; padding:18px 22px; }
.recommendation-card > div { min-width:0; flex:1 1 auto; }
.recommendation-card > div > p:first-child { margin:0; }
.recommendation-card > div > h2 { margin:4px 0 0; line-height:1.35; }
.recommendation-card > div > p:last-child { margin:6px 0 0; line-height:1.6; }
.recommendation-card .btn-white-secondary { flex:0 0 auto; padding:11px 18px; border-radius:10px; font-size:13px; white-space:nowrap; }
.mt5-showcase { padding:24px; background:linear-gradient(145deg,#ffffff 0%,#f5f8ff 100%); border:1px solid #dbe5f4; border-radius:24px; box-shadow:0 16px 38px rgba(37,69,156,.09); }
.mt5-showcase-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:18px; }
.mt5-showcase-badge { flex:0 0 auto; padding:8px 12px; border-radius:999px; background:#e8efff; border:1px solid #cbd9ff; color:#25459c; font:800 11px/1.2 "IBM Plex Mono",monospace; direction:ltr; }
.mt5-field { grid-template-columns:30px minmax(0,1fr) auto; grid-template-rows:auto auto; padding:17px; transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.mt5-field:hover { border-color:#b8c9ee; box-shadow:0 12px 26px rgba(37,69,156,.11); transform:translateY(-1px); }
.mt5-field .mt5-field-icon { grid-column:1; grid-row:1 / span 2; width:30px; height:30px; display:flex; align-items:center; justify-content:center; border-radius:9px; background:#eef2ff; color:#25459c; font:800 14px/1 "IBM Plex Mono",monospace; }
.mt5-field .mt5-field-label { grid-column:2 / -1; grid-row:1; color:#64748b; font-size:11px; line-height:1.4; font-weight:800; }
.mt5-field bdi { grid-column:2; grid-row:2; align-self:center; }
.mt5-field .mt5-copy-button { grid-column:3; grid-row:2; width:38px; height:38px; }
.bot-broker-card { min-height:150px; padding:24px 28px; }
.bot-broker-copy { display:flex; flex-direction:column; align-items:flex-start; }
.broker-badge { display:inline-flex; align-items:center; gap:6px; width:max-content; padding:5px 10px; border:1px solid rgba(255,255,255,.22); border-radius:999px; background:rgba(255,255,255,.12); color:#dbeafe; font-size:12px; font-weight:800; }
.bot-broker-cta { display:inline-flex; align-items:center; gap:8px; }
@media (max-width:600px) {
  .mt5-showcase { padding:18px 14px; border-radius:19px; }
  .mt5-showcase-heading { flex-direction:column; gap:12px; }
  .mt5-showcase-badge { align-self:flex-start; }
  .bot-broker-card { align-items:stretch; flex-direction:column; padding:22px 18px; gap:16px; }
  .bot-broker-cta { justify-content:center; width:100%; }
}
.editor-toolbar { display:flex; flex-wrap:wrap; gap:6px; padding:8px; background:#f1f5f9; border:1px solid #cbd5e1; border-bottom:0; border-radius:9px 9px 0 0; }
.editor-toolbar button { border:1px solid #cbd5e1; background:white; color:#334155; border-radius:6px; padding:6px 10px; font:700 12px inherit; cursor:pointer; }
.rich-editor { min-height:280px; border-radius:0 0 9px 9px; line-height:1.9; overflow:auto; }
.dashboard-content { background:linear-gradient(180deg, #f8fafc 0%, #f4f7fb 100%); }
.dashboard-header { display:flex; flex-direction:column; gap:4px; margin-bottom:28px !important; padding-bottom:20px; border-bottom:1px solid #e5ebf3; }
.dashboard-header h1 { color:#0f172a; letter-spacing:-.025em; line-height:1.2; }
.dashboard-header p { color:#64748b; line-height:1.6; }
.dashboard-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:26px; }
.dashboard-stat { position:relative; display:flex; flex-direction:column; justify-content:center; min-height:132px; overflow:hidden; padding:22px 22px 20px; border:1px solid #e2e8f0; border-radius:18px; background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%); box-shadow:0 8px 24px rgba(15,23,42,.055); transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.dashboard-stat::before { content:""; position:absolute; inset:0 0 auto; height:3px; background:#25459c; }
.dashboard-stat::after { content:""; position:absolute; width:120px; height:120px; top:-54px; left:-42px; border-radius:999px; background:rgba(37,69,156,.05); pointer-events:none; }
.dashboard-stat:hover { border-color:#cbd5e1; box-shadow:0 12px 28px rgba(15,23,42,.09); transform:translateY(-2px); }
.dashboard-stat-label { position:relative; z-index:1; display:flex !important; align-items:center; gap:8px; color:#64748b; font-size:12px; font-weight:700; line-height:1.55; }
.dashboard-stat-label::before { content:""; width:8px; height:8px; flex:0 0 8px; border-radius:999px; background:#25459c; box-shadow:0 0 0 4px rgba(37,69,156,.1); }
.dashboard-stat-value { position:relative; z-index:1; display:block; margin-top:14px; color:#0f172a; font-size:clamp(27px,2.55vw,36px); font-weight:800; line-height:1; letter-spacing:-.035em; font-variant-numeric:tabular-nums; }
.dashboard-stat-value[dir="ltr"] { direction:ltr; text-align:right; letter-spacing:-.02em; }
.dashboard-stat-orders::before { background:#0f766e; }
.dashboard-stat-orders .dashboard-stat-label::before { background:#0f766e; box-shadow:0 0 0 4px rgba(15,118,110,.1); }
.dashboard-stat-pending::before { background:#d97706; }
.dashboard-stat-pending .dashboard-stat-label::before { background:#d97706; box-shadow:0 0 0 4px rgba(217,119,6,.12); }
.dashboard-stat-revenue::before { background:#7c3aed; }
.dashboard-stat-revenue .dashboard-stat-label::before { background:#7c3aed; box-shadow:0 0 0 4px rgba(124,58,237,.1); }
.analytics-card { padding:28px 30px 26px; border-radius:20px; border-color:#dfe7f1; box-shadow:0 12px 32px rgba(15,23,42,.065); }
.analytics-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:22px; padding-bottom:18px; border-bottom:1px solid #edf1f6; }
.analytics-heading h2 { display:flex; align-items:center; gap:10px; margin:0; color:#0f172a; font-size:20px; font-weight:800; letter-spacing:-.015em; }
.analytics-heading h2::before { content:""; width:10px; height:10px; flex:0 0 10px; border-radius:4px; background:#25459c; box-shadow:0 0 0 5px rgba(37,69,156,.1); }
.analytics-heading p { color:#94a3b8; font-size:12px; line-height:1.6; margin:6px 0 0; }
.range-tabs { display:flex; align-items:center; flex-wrap:wrap; gap:4px; padding:4px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:12px; }
.range-tabs a { display:inline-flex; align-items:center; justify-content:center; min-height:32px; color:#64748b; background:transparent; border:1px solid transparent; border-radius:8px; padding:6px 11px; font-size:11px; font-weight:800; line-height:1.2; text-decoration:none; white-space:nowrap; transition:color .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease; }
.range-tabs a:hover { color:#25459c; background:#fff; border-color:#d7e0ec; }
.range-tabs a:focus-visible { outline:3px solid rgba(37,69,156,.18); outline-offset:1px; }
.range-tabs a.active { color:#fff; background:#25459c; border-color:#25459c; box-shadow:0 5px 12px rgba(37,69,156,.22); }
.chart-wrap { position:relative; width:100%; height:350px; direction:ltr; padding:6px 4px 0; border:1px solid #f0f3f7; border-radius:16px; background:linear-gradient(180deg,#fbfdff 0%,#f8fafc 100%); }
.chart-wrap canvas { display:block; width:100%; height:100%; }
.chart-tooltip { position:absolute; z-index:2; min-width:0; max-width:calc(100% - 16px); color:#fff; background:rgba(15,23,42,.97); border:1px solid rgba(148,163,184,.3); border-radius:10px; padding:8px 12px; box-shadow:0 10px 24px rgba(15,23,42,.2); font-size:12px; font-weight:700; line-height:1.5; white-space:nowrap; direction:rtl; pointer-events:none; }
.chart-tooltip::after { content:""; position:absolute; left:50%; bottom:-5px; width:9px; height:9px; background:rgba(15,23,42,.97); border-right:1px solid rgba(148,163,184,.3); border-bottom:1px solid rgba(148,163,184,.3); transform:translateX(-50%) rotate(45deg); }
@media(max-width:1100px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.mt5-grid{grid-template-columns:1fr 1fr}.analytics-heading{align-items:stretch;flex-direction:column;gap:16px}.range-tabs{width:max-content;max-width:100%}}
@media(max-width:600px){.mt5-grid{grid-template-columns:1fr}.dashboard-stats{grid-template-columns:1fr 1fr;gap:12px}.dashboard-stat{min-height:116px;padding:18px 16px}.dashboard-stat-label{font-size:11px}.dashboard-stat-value{font-size:28px}.analytics-card{padding:20px 18px}.analytics-heading{margin-bottom:18px;padding-bottom:16px}.range-tabs{width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.range-tabs::-webkit-scrollbar{display:none}.range-tabs a{flex:0 0 auto}.chart-wrap{height:300px;margin-inline:-4px;width:calc(100% + 8px)}}
@media(max-width:420px){.dashboard-stats{grid-template-columns:1fr}.dashboard-stat{min-height:104px}.dashboard-stat-value{margin-top:10px}}
@media(prefers-reduced-motion:reduce){.dashboard-stat,.range-tabs a{transition:none}.dashboard-stat:hover{transform:none}}

/* Premium MT5 investor terminal */
.mt5-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px;
  color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 8% 0%, rgba(59,130,246,.24), transparent 34%),
    linear-gradient(135deg, #111d39 0%, #0b1429 100%);
  background-size: 28px 28px, 28px 28px, auto, auto;
  border: 1px solid rgba(111,150,230,.32);
  border-radius: 26px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  box-shadow: 0 24px 55px rgba(15,23,42,.19), inset 0 1px 0 rgba(255,255,255,.06);
}
.mt5-showcase::after { content:""; position:absolute; z-index:-1; inset:auto -8% -62% auto; width:420px; height:260px; border-radius:50%; background:rgba(37,69,156,.22); filter:blur(35px); pointer-events:none; }
.mt5-showcase-heading { align-items:center; margin-bottom:24px; padding-bottom:22px; border-bottom:1px solid rgba(148,163,184,.18); }
.mt5-showcase-title { width:100%; min-width:0; }
.mt5-showcase-title h2 { color:#fff !important; letter-spacing:-.025em; line-height:1.35; }
.mt5-showcase-title p { color:#aab8d1 !important; line-height:1.7; }
.mt5-live-status { display:inline-flex; align-items:center; gap:8px; color:#dce8ff; font-size:12px; font-weight:800; letter-spacing:.01em; }
.mt5-live-status i { width:8px; height:8px; border-radius:50%; background:#22c55e; box-shadow:0 0 0 5px rgba(34,197,94,.13), 0 0 14px rgba(34,197,94,.55); }
.mt5-showcase-badge { display:flex; flex-direction:column; align-items:center; gap:2px; min-width:74px; padding:10px 14px; color:#fff; background:rgba(255,255,255,.07); border-color:rgba(148,177,237,.28); border-radius:14px; }
.mt5-showcase-badge strong { color:#fff; font-size:17px; line-height:1; letter-spacing:.06em; }
.mt5-showcase-badge small { color:#7fa3ef; font-size:8px; letter-spacing:.12em; }
.mt5-grid { gap:14px; }
.mt5-field { min-height:104px; padding:18px; color:#fff; background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.045)); border-color:rgba(148,177,237,.19); box-shadow:inset 0 1px 0 rgba(255,255,255,.055), 0 10px 24px rgba(2,6,23,.16); }
.mt5-field:hover { border-color:rgba(127,163,239,.5); background:linear-gradient(145deg,rgba(255,255,255,.115),rgba(255,255,255,.055)); box-shadow:inset 0 1px 0 rgba(255,255,255,.07), 0 13px 28px rgba(2,6,23,.21); transform:translateY(-1px); }
.mt5-field .mt5-field-label { color:#9cabc4; letter-spacing:.015em; }
.mt5-field bdi { color:#fff; font-size:16px; font-weight:800; letter-spacing:.015em; }
.mt5-field .mt5-field-icon { width:38px; height:38px; border-radius:11px; background:linear-gradient(145deg,rgba(89,130,218,.23),rgba(47,80,153,.16)); border:1px solid rgba(143,178,255,.22); box-shadow:inset 0 1px 0 rgba(255,255,255,.08); }
.mt5-field .mt5-field-icon::before { width:auto; height:auto; background:none; font:18px/1 "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; -webkit-mask:none; mask:none; filter:drop-shadow(0 2px 3px rgba(2,6,23,.28)); }
.mt5-icon-account::before { content:"#️⃣"; }
.mt5-icon-server::before { content:"🖥️"; }
.mt5-icon-password::before { content:"🔐"; }
.mt5-field .mt5-copy-button { color:#fff; background:#315bb7; border-color:#4d75cb; box-shadow:0 7px 16px rgba(2,6,23,.23); }
.mt5-field .mt5-copy-button:hover { color:#fff; background:#3f6ccc; border-color:#6d92df; box-shadow:0 9px 20px rgba(2,6,23,.3); }

/* Admin mobile off-canvas navigation */
.admin-mobile-header,.admin-drawer-close,.admin-drawer-overlay { display:none; }
@media (max-width:768px) {
  body.admin-nav-open { overflow:hidden; }
  .admin-mobile-header { position:sticky; top:0; z-index:190; display:flex; align-items:center; gap:13px; min-height:62px; padding:10px 16px; color:#fff; background:#0f172a; border-bottom:1px solid rgba(148,163,184,.17); box-shadow:0 7px 20px rgba(15,23,42,.15); }
  .admin-mobile-logo { width:32px; height:32px; flex:none; object-fit:cover; background:#08111f; border:1px solid rgba(255,255,255,.25); border-radius:9px; box-shadow:0 3px 10px rgba(2,6,23,.2); }
  .admin-mobile-header strong { font-size:15px; font-weight:800; }
  .admin-menu-toggle { display:inline-flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; width:42px; height:42px; padding:0; color:#fff; background:rgba(255,255,255,.07); border:1px solid rgba(148,163,184,.2); border-radius:11px; cursor:pointer; }
  .admin-menu-toggle span { display:block; width:19px; height:2px; border-radius:2px; background:currentColor; }
  .admin-menu-toggle:focus-visible,.admin-drawer-close:focus-visible { outline:3px solid rgba(147,181,255,.5); outline-offset:2px; }
  .admin-sidebar,.admin-dashboard-body .admin-sidebar { position:fixed; top:0; right:0; z-index:210; display:block; width:min(82vw,300px); height:100dvh; overflow-y:auto; background:linear-gradient(180deg,#0f172a,#111c34); box-shadow:-16px 0 40px rgba(2,6,23,.28); transform:translateX(110%); transition:transform .26s ease; visibility:hidden; }
  .admin-nav-open .admin-sidebar { transform:translateX(0); visibility:visible; }
  .admin-dashboard-body .admin-sidebar .logo,.admin-sidebar .logo { min-height:82px; padding:20px 20px 18px 62px; }
  .admin-dashboard-body .admin-sidebar nav,.admin-sidebar nav { display:block; margin-top:10px !important; padding:0 12px 22px; }
  .admin-dashboard-body .admin-sidebar .nav-item,.admin-sidebar .nav-item { display:flex; width:100%; min-height:44px; margin:4px 0; padding:10px 14px; border-radius:10px; }
  .admin-dashboard-body .admin-sidebar nav > hr,.admin-sidebar nav > hr { display:block; width:auto; margin:14px 8px !important; }
  .admin-drawer-close { position:absolute; top:20px; left:16px; z-index:2; display:flex; align-items:center; justify-content:center; width:38px; height:38px; padding:0; color:#dbeafe; background:rgba(255,255,255,.08); border:1px solid rgba(148,163,184,.2); border-radius:10px; cursor:pointer; }
  .admin-drawer-close span { font:300 29px/1 Arial,sans-serif; transform:translateY(-1px); }
  .admin-drawer-overlay { position:fixed; inset:0; z-index:200; display:block; width:100%; height:100%; padding:0; background:rgba(2,6,23,.58); border:0; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .24s ease,visibility .24s ease; }
  .admin-nav-open .admin-drawer-overlay { opacity:1; visibility:visible; pointer-events:auto; }
  .admin-content,.admin-dashboard-body .admin-content { width:100%; min-width:0; max-width:100%; margin-right:0; padding:24px 16px 36px; overflow-x:hidden; overflow-wrap:anywhere; box-sizing:border-box; }
  .admin-card { max-width:100%; }
}
@media (max-width:600px) {
  .mt5-showcase { padding:22px 16px; border-radius:22px; }
  .mt5-showcase-heading { align-items:flex-start; gap:14px; margin-bottom:18px; padding-bottom:18px; }
  .mt5-showcase-title h2 { font-size:22px; }
  .mt5-showcase-badge { align-self:flex-start; }
  .mt5-field { min-height:94px; grid-template-columns:38px minmax(0,1fr) auto; padding:15px; }
  .mt5-field bdi { font-size:15px; }
}
@media(prefers-reduced-motion:reduce){.admin-sidebar,.admin-drawer-overlay,.mt5-field{transition:none}}
.social-icon.telegram:hover { background: #0088cc; border-color: #0088cc; }
.social-icon.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; }
.social-icon.x-twitter:hover { background: #000; border-color: #000; }
.social-icon.tiktok:hover { background: #000; border-color: #25F4EE; }
.social-icon.youtube:hover { background: #FF0000; border-color: #FF0000; }

/* ===== Mobile Navigation Drawer ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #FFFFFF;
  border-left: 1px solid var(--border-color);
  z-index: 10000;
  padding: 24px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}
.mobile-menu.active {
  right: 0;
}
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Fade In Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Honeypot hidden field */
.hp-field {
  display: none !important;
  visibility: hidden;
}

/* Public Alerts */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.alert-success {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #15803D;
}
.alert-error {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #25459C;
  font-weight: 800;
  font-size: 14px;
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  border-radius: 999px;
  padding: 8px 14px;
}
.contact-email-link:hover {
  background: #25459C;
  color: #fff;
  border-color: #25459C;
}

.social-end-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.site-footer .social-end-row {
  justify-content: flex-end;
}
@media (max-width: 640px) {
  .site-footer .social-end-row {
    justify-content: center;
  }
}

/* ==========================================================================
   HASSAN FX ADMIN DESIGN SYSTEM — shared shell
   ========================================================================== */
:root {
  --admin-navy: #0b1730;
  --admin-navy-2: #111f3d;
  --admin-blue: #25459c;
  --admin-blue-2: #3764c4;
  --admin-page: #f3f6fb;
  --admin-card: #ffffff;
  --admin-border: #dce4ef;
  --admin-border-soft: #e8edf4;
  --admin-ink: #10203b;
  --admin-muted: #6b7a90;
  --admin-gold: #f2c96d;
  --admin-sidebar-width: 264px;
}

.admin-shell {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  color: var(--admin-ink);
  background: var(--admin-page);
}

.admin-shell .admin-sidebar {
  width: var(--admin-sidebar-width);
  background: linear-gradient(180deg, var(--admin-navy) 0%, #101e3a 100%);
  border-left: 1px solid rgba(148, 163, 184, .13);
  box-shadow: -12px 0 32px rgba(2, 6, 23, .12);
}

.admin-shell .admin-sidebar .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 19px 21px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.admin-shell .admin-sidebar nav {
  display: block;
  margin: 14px 0 0 !important;
  padding: 0 13px 22px;
}

.admin-shell .admin-sidebar .nav-item {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  margin: 4px 0;
  padding: 11px 13px;
  gap: 11px;
  color: #9aabc5;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.admin-shell .admin-sidebar .nav-item.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(55, 100, 196, .9), var(--admin-blue));
  box-shadow: 0 8px 18px rgba(2, 6, 23, .21);
}

.admin-shell .admin-sidebar .nav-item.active::before {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: var(--admin-gold);
}

.admin-shell .admin-content {
  width: auto;
  min-height: 100vh;
  margin-right: var(--admin-sidebar-width);
  padding: 34px clamp(24px, 4vw, 56px) 52px;
  box-sizing: border-box;
  background: var(--admin-page);
}

.admin-shell .admin-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "eyebrow action" "title action" "subtitle action";
  align-items: center;
  column-gap: 22px;
  row-gap: 3px;
  margin: 0 0 26px !important;
  padding: 0 0 21px;
  border-bottom: 1px solid var(--admin-border-soft);
}

.admin-shell .admin-page-header h1 {
  grid-area: title;
  margin: 1px 0 0 !important;
  color: var(--admin-ink) !important;
  font-size: clamp(23px, 2.2vw, 30px) !important;
  font-weight: 800 !important;
  letter-spacing: -.035em;
  line-height: 1.25;
}

.admin-shell .admin-page-header > .admin-btn {
  grid-area: action;
  align-self: center;
}

.admin-shell .admin-eyebrow,
.admin-shell .section-kicker {
  color: var(--admin-blue);
  font: 800 10px/1.35 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .13em;
}

.admin-shell .admin-card {
  width: 100%;
  margin-bottom: 20px !important;
  padding: 24px !important;
  box-sizing: border-box;
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: 17px;
  box-shadow: 0 10px 28px rgba(22, 45, 82, .055);
}

.admin-shell .admin-section-head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--admin-border-soft);
}

.admin-shell .admin-section-head p {
  color: var(--admin-muted);
  font-size: 12px;
  line-height: 1.6;
}

.admin-shell .admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px !important;
  padding: 0 16px !important;
  border: 1px solid transparent;
  border-radius: 10px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.admin-shell .admin-btn:hover {
  transform: translateY(-1px);
}

.admin-shell .admin-btn:focus-visible,
.admin-shell .admin-sidebar .nav-item:focus-visible,
.admin-shell .range-tabs a:focus-visible,
.admin-shell input:focus-visible,
.admin-shell select:focus-visible,
.admin-shell textarea:focus-visible {
  outline: 3px solid rgba(55, 100, 196, .22);
  outline-offset: 2px;
}

.admin-shell .admin-btn-primary {
  color: #fff;
  background: var(--admin-blue);
  border-color: var(--admin-blue);
  box-shadow: 0 7px 16px rgba(37, 69, 156, .16);
}

.admin-shell .admin-btn-primary:hover {
  color: #fff;
  background: #1e3984;
  border-color: #1e3984;
  box-shadow: 0 10px 21px rgba(37, 69, 156, .21);
}

.admin-shell .admin-btn-secondary {
  color: #33445f;
  background: #f7f9fc;
  border-color: #ccd7e5;
}

.admin-shell .admin-btn-secondary:hover {
  color: var(--admin-blue);
  background: #eef3fb;
  border-color: #b6c7e1;
}

.admin-shell .admin-form-input,
.admin-shell .admin-form-input:not([type="checkbox"]),
.admin-shell .sales-plan-ticket input,
.admin-shell .coupon-admin-form input:not([type="checkbox"]),
.admin-shell .money-input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 13px;
  color: var(--admin-ink);
  background: #fff;
  border: 1px solid #cbd7e6;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.admin-shell .admin-table,
.admin-shell .admin-card > .overflow-x-auto {
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  overflow: hidden;
}

.admin-shell .admin-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-shell .admin-responsive-table table {
  min-width: 720px;
}

.admin-shell .table-actions {
  align-items: center;
  gap: 6px;
}

.admin-shell .table-actions .admin-btn {
  min-height: 36px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
}

.admin-shell .alert {
  margin: 0 0 20px !important;
  padding: 13px 16px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
}

.admin-shell .orders-table {
  border-color: var(--admin-border);
  border-radius: 17px;
  box-shadow: 0 10px 28px rgba(22, 45, 82, .055);
}

.admin-shell .order-card-summary {
  min-height: 67px;
}

.admin-shell .order-section,
.admin-shell .order-card-foot {
  border-color: var(--admin-border-soft);
  border-radius: 13px;
}

.admin-shell .order-status-form select {
  min-height: 42px;
  height: 42px;
  border-color: #cbd7e6;
  border-radius: 10px;
  font-family: inherit;
}

.admin-shell .order-tab.active {
  color: #fff;
  background: var(--admin-blue);
  border-color: var(--admin-blue);
  box-shadow: 0 7px 15px rgba(37, 69, 156, .17);
}

.admin-shell .order-tab.active strong {
  color: #fff;
  background: rgba(255, 255, 255, .18);
}

.admin-shell .analytics-card {
  margin-bottom: 0 !important;
}

.admin-shell .dashboard-stats {
  gap: 16px;
}

.admin-shell .dashboard-stat {
  margin-bottom: 0 !important;
  padding: 22px !important;
}

.admin-shell .sales-plan-ticket,
.admin-shell .money-input,
.admin-shell .coupon-admin-form input:not([type="checkbox"]) {
  border-color: var(--admin-border);
}

.admin-shell .coupon-admin-form {
  margin-bottom: 23px;
}

.admin-shell .dashboard-stat-value,
.admin-shell .order-amount,
.admin-shell .order-number,
.admin-shell .order-wallet,
.admin-shell code,
.admin-shell bdi[dir="ltr"] {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
  .admin-shell .admin-content {
    padding-inline: 28px;
  }
}

@media (max-width: 768px) {
  .admin-shell {
    overflow-x: hidden;
  }

  .admin-shell .admin-mobile-header {
    min-height: 64px;
    padding: 10px 16px;
    background: var(--admin-navy);
    border-bottom-color: rgba(148, 163, 184, .18);
  }

  .admin-shell .admin-mobile-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .admin-shell .admin-menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .admin-shell .admin-sidebar {
    width: min(84vw, 312px);
    background: linear-gradient(180deg, var(--admin-navy) 0%, #101e3a 100%);
  }

  .admin-shell .admin-sidebar .logo {
    min-height: 84px;
    padding: 20px 20px 18px 64px;
  }

  .admin-shell .admin-sidebar nav {
    margin-top: 10px !important;
    padding: 0 13px 24px;
  }

  .admin-shell .admin-sidebar .nav-item {
    min-height: 46px;
    margin: 4px 0;
    padding: 11px 13px;
  }

  .admin-shell .admin-content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-right: 0;
    padding: 25px 16px 38px;
    overflow-x: hidden;
  }

  .admin-shell .admin-page-header {
    grid-template-columns: 1fr;
    grid-template-areas: "eyebrow" "title" "subtitle" "action";
    row-gap: 4px;
    margin-bottom: 21px !important;
    padding-bottom: 17px;
  }

  .admin-shell .admin-page-header > .admin-btn {
    width: 100%;
    margin-top: 9px;
  }

  .admin-shell .admin-page-header h1 {
    font-size: 23px !important;
  }

  .admin-shell .admin-card {
    margin-bottom: 16px !important;
    padding: 19px 16px !important;
    border-radius: 15px;
  }

  .admin-shell .dashboard-stats {
    gap: 11px;
  }

  .admin-shell .dashboard-stat {
    min-height: 112px;
    padding: 17px 15px !important;
  }

  .admin-shell .dashboard-stat-label {
    font-size: 11px;
  }

  .admin-shell .dashboard-stat-value {
    font-size: 27px;
  }

  .admin-shell .admin-table,
  .admin-shell .admin-responsive-table table {
    min-width: 680px;
  }

  .admin-shell .orders-table {
    border-radius: 15px;
  }

  .admin-shell .order-card-summary {
    padding: 14px 14px;
  }

  .admin-shell .order-card-body {
    padding: 5px 10px 12px;
  }

  .admin-shell .order-card-foot {
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
  }

  .admin-shell .order-actions,
  .admin-shell .order-status-form {
    width: 100%;
  }

  .admin-shell .order-status-form select,
  .admin-shell .order-status-form .admin-btn,
  .admin-shell .order-actions > form,
  .admin-shell .order-actions > form .admin-btn {
    width: 100%;
  }

  .admin-shell .order-actions {
    gap: 9px;
  }

  .admin-shell .table-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-shell .table-actions .admin-btn,
  .admin-shell .table-actions form {
    width: 100%;
  }

  .admin-shell .table-actions form .admin-btn {
    width: 100%;
  }

  .admin-shell .sales-capital-grid,
  .admin-shell .sales-plan-grid,
  .admin-shell .ticket-price-grid,
  .admin-shell .coupon-admin-form {
    grid-template-columns: 1fr;
  }

  .admin-shell .admin-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .admin-shell .admin-section-head p {
    margin: 0;
  }

  .admin-shell .analytics-card {
    padding: 18px 15px !important;
  }

  .admin-shell .analytics-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .admin-shell .range-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .admin-shell .range-tabs::-webkit-scrollbar {
    display: none;
  }

  .admin-shell .range-tabs a {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-shell .admin-btn,
  .admin-shell .admin-sidebar .nav-item {
    transition: none;
  }
}

.feature-icon-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #EEF2FF;
  color: #25459C;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.feature-icon-wrap svg {
  width: 22px;
  height: 22px;
}
.feature-icon-title {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px;
}
.feature-icon-text {
  font-size: 12px;
  color: #64748B;
  margin: 0;
}

.withdraw-callout {
  background: #fff;
  border: 1px solid #DBEAFE;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.withdraw-callout-lead {
  font-size: 16px;
  font-weight: 800;
  color: #1E3A8A;
  margin: 0 0 16px;
}
.withdraw-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) {
  .withdraw-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.withdraw-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px;
}
.withdraw-point p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  line-height: 1.7;
}
.withdraw-point-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #DBEAFE;
  color: #25459C;
  display: flex;
  align-items: center;
  justify-content: center;
}
.withdraw-point-icon svg {
  width: 16px;
  height: 16px;
}

.risk-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #FFF7ED;
  border: 2px solid #FDBA74;
  border-radius: 20px;
  padding: 22px 24px;
}
.risk-callout-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F97316;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.risk-callout-icon svg {
  width: 22px;
  height: 22px;
}
.risk-callout-title {
  font-size: 18px;
  font-weight: 800;
  color: #9A3412;
  margin: 0 0 10px;
}
.risk-callout-list {
  margin: 0;
  padding: 0 18px 0 0;
  color: #7C2D12;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.9;
}

.purchase-success {
  background: #fff;
  border: 1px solid #BBF7D0;
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}
.purchase-success-title {
  font-size: 24px;
  font-weight: 800;
  color: #166534;
  margin: 0 0 12px;
}
.purchase-success-lead {
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  line-height: 1.8;
  margin: 0 0 16px;
}
.purchase-success-wait {
  font-size: 15px;
  font-weight: 800;
  color: #92400E;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  padding: 12px;
  margin: 0 0 18px;
}
.purchase-success-box {
  text-align: right;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.9;
}
.purchase-success-box ul {
  margin: 0;
  padding: 0 18px 0 0;
}
.purchase-success-order {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #1E293B;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 16px;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.purchase-success-order strong {
  color: #25459C;
  font-weight: 800;
}
.purchase-success-sign {
  color: #64748B;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.plan-select {
  unicode-bidi: isolate;
}

.order-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.order-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #E2E8F0;
  color: #475569;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.order-tab strong {
  background: #F1F5F9;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 12px;
}
.order-tab.active {
  background: #25459C;
  border-color: #25459C;
  color: #fff;
}
.order-tab.active strong {
  background: rgba(255,255,255,.18);
  color: #fff;
}
@media (max-width: 640px) {
  .risk-callout {
    flex-direction: column;
  }
}


/* ==========================================================================
   ADMIN PANEL STYLES (Clean RTL Dashboard)
   ========================================================================== */

/* Admin Layout (Right Sidebar for RTL) */
.admin-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100vh;
  background: #0F172A;
  color: #F8FAFC;
  z-index: 100;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
}
.admin-dashboard-body .admin-sidebar {
  background: linear-gradient(180deg, #0f172a 0%, #111c34 100%);
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.13);
}
.admin-dashboard-body .admin-sidebar .logo {
  min-height: 88px;
  padding: 22px 22px 20px;
  border-bottom-color: rgba(148,163,184,.16);
}
.admin-dashboard-body .admin-sidebar nav {
  margin-top: 12px !important;
  padding: 0 12px 18px;
}
.admin-dashboard-body .admin-sidebar .nav-item {
  position: relative;
  min-height: 44px;
  margin: 4px 0;
  padding: 10px 14px;
  gap: 11px;
  border-radius: 11px;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.admin-dashboard-body .admin-sidebar .nav-item.active {
  background: linear-gradient(90deg, rgba(37,69,156,.78), #25459c);
  color: #fff;
  box-shadow: 0 7px 18px rgba(2,6,23,.2);
}
.admin-dashboard-body .admin-sidebar .nav-item.active::before {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: #f59e0b;
}
.admin-dashboard-body .admin-sidebar nav > hr {
  margin: 16px 8px !important;
  border-color: rgba(148,163,184,.18) !important;
}
.admin-dashboard-body .admin-content {
  padding: 42px clamp(24px, 4vw, 56px) 48px;
}
.admin-sidebar .nav-item.active {
  background: var(--brand-blue);
  color: #FFFFFF;
}

/* Admin Main Content Container */
.admin-content {
  margin-right: 250px;
  padding: 36px 40px;
  min-height: 100vh;
  background: #F8FAFC;
}

/* Admin Buttons */
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.admin-btn-primary {
  background: var(--brand-blue);
  color: #FFFFFF;
}
.admin-btn-primary:hover {
  background: var(--brand-blue-dark);
  color: #FFFFFF;
}
.admin-btn-secondary {
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
}
.admin-btn-secondary:hover {
  background: #E2E8F0;
}
.orders-head,
.order-card-summary {
  display: grid !important;
  grid-template-columns: 210px minmax(150px, 1.3fr) minmax(110px, 1fr) 80px 128px 118px 92px;
  align-items: center;
  gap: 0 12px;
  width: 100%;
  box-sizing: border-box;
}
.orders-head {
  padding: 13px 20px;
  background: #F4F7FB;
  border-bottom: 1px solid #E2E8F0;
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  text-align: right;
}
.order-card-summary {
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  background: #fff;
}
.order-cell-action {
  text-align: left;
}
.order-card-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-field {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid #F1F5F9;
}
.order-k {
  flex: 0 0 120px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748B;
  text-align: right;
}

/* Final cascade guard: the shared admin rules must win over legacy utility rules above. */
.admin-shell.admin-shell .admin-sidebar {
  width: var(--admin-sidebar-width);
  background: linear-gradient(180deg, var(--admin-navy) 0%, #101e3a 100%);
  box-shadow: -12px 0 32px rgba(2, 6, 23, .12);
}
.admin-shell.admin-shell .admin-sidebar .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 19px 21px;
  box-sizing: border-box;
}
.admin-shell.admin-shell .admin-sidebar nav {
  display: block;
  margin: 14px 0 0 !important;
  padding: 0 13px 22px;
}
.admin-shell.admin-shell .admin-sidebar .nav-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  margin: 4px 0;
  padding: 11px 13px;
  box-sizing: border-box;
  gap: 11px;
  border-radius: 11px;
  color: #9aabc5;
  font-size: 13px;
  font-weight: 700;
}
.admin-shell.admin-shell .admin-sidebar .nav-item.active { color: #fff; background: linear-gradient(90deg, rgba(55,100,196,.9), var(--admin-blue)); box-shadow: 0 8px 18px rgba(2,6,23,.21); }
.admin-shell.admin-shell .admin-sidebar .nav-item.active::before { background: var(--admin-gold); }
.admin-shell.admin-shell .admin-content { margin-right: var(--admin-sidebar-width); padding: 34px clamp(24px,4vw,56px) 52px; box-sizing: border-box; background: var(--admin-page); }
.admin-shell.admin-shell .admin-page-header { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "eyebrow action" "title action" "subtitle action"; align-items: center; gap: 3px 22px; margin: 0 0 26px !important; padding: 0 0 21px; border-bottom: 1px solid var(--admin-border-soft); }
.admin-shell.admin-shell .admin-page-header .admin-eyebrow { grid-area: eyebrow; }
.admin-shell.admin-shell .admin-page-header h1 { grid-area: title; margin: 1px 0 0 !important; color: var(--admin-ink) !important; font-size: clamp(23px,2.2vw,30px) !important; font-weight: 800 !important; line-height: 1.25; }
.admin-shell.admin-shell .admin-page-header > .admin-btn { grid-area: action; align-self: center; }
.admin-shell.admin-shell .admin-card { width: 100%; margin-bottom: 20px !important; padding: 24px !important; box-sizing: border-box; border: 1px solid var(--admin-border); border-radius: 17px; background: #fff; box-shadow: 0 10px 28px rgba(22,45,82,.055); }
.admin-shell.admin-shell .admin-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px !important; padding: 0 16px !important; border-radius: 10px; box-sizing: border-box; font-family: inherit; font-size: 13px !important; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.admin-shell.admin-shell .admin-btn-primary { color: #fff; background: var(--admin-blue); border-color: var(--admin-blue); }
.admin-shell.admin-shell .admin-btn-secondary { color: #33445f; background: #f7f9fc; border-color: #ccd7e5; }
.admin-shell.admin-shell .admin-table,
.admin-shell.admin-shell .admin-card > .overflow-x-auto,
.admin-shell.admin-shell .admin-responsive-table { border-radius: 14px; border-color: var(--admin-border); }
.admin-shell.admin-shell .table-actions .admin-btn { min-height: 36px !important; padding: 0 12px !important; font-size: 12px !important; }
.admin-shell.admin-shell .alert { margin: 0 0 20px !important; border-radius: 11px; font-size: 13px; }

@media (max-width: 768px) {
  .admin-shell.admin-shell .admin-sidebar { width: min(84vw,312px); }
  .admin-shell.admin-shell .admin-sidebar .logo { min-height: 84px; padding: 20px 20px 18px 64px; }
  .admin-shell.admin-shell .admin-sidebar nav { margin-top: 10px !important; padding: 0 13px 24px; }
  .admin-shell.admin-shell .admin-sidebar .nav-item { min-height: 46px; margin: 4px 0; padding: 11px 13px; }
  .admin-shell.admin-shell .admin-content { width: 100%; min-width: 0; max-width: 100%; margin-right: 0; padding: 25px 16px 38px; overflow-x: hidden; }
  .admin-shell.admin-shell .admin-page-header { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "subtitle" "action"; gap: 4px; margin-bottom: 21px !important; padding-bottom: 17px; }
  .admin-shell.admin-shell .admin-page-header > .admin-btn { width: 100%; margin-top: 9px; }
  .admin-shell.admin-shell .admin-page-header h1 { font-size: 23px !important; }
  .admin-shell.admin-shell .admin-card { margin-bottom: 16px !important; padding: 19px 16px !important; border-radius: 15px; }
  .admin-shell.admin-shell .dashboard-stat { padding: 17px 15px !important; }
  .admin-shell.admin-shell .admin-table,
  .admin-shell.admin-shell .admin-responsive-table table { min-width: 680px; }
  .admin-shell.admin-shell .table-actions { flex-direction: column; align-items: stretch; }
  .admin-shell.admin-shell .table-actions .admin-btn,
  .admin-shell.admin-shell .table-actions form,
  .admin-shell.admin-shell .table-actions form .admin-btn { width: 100%; }
  .admin-shell.admin-shell .sales-capital-grid,
  .admin-shell.admin-shell .sales-plan-grid,
  .admin-shell.admin-shell .ticket-price-grid,
  .admin-shell.admin-shell .coupon-admin-form { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BOT PAGE VISUAL REFRESH v2 — promo ticker, includes panel, process flow,
   after-purchase timeline, withdraw panel, footer disclaimer
   ========================================================================== */
.promo-ticker { position:relative; z-index:61; overflow:hidden; color:#e8efff; background:linear-gradient(90deg,var(--hfx-navy) 0%,#172d59 55%,#1e3a78 100%); border-bottom:1px solid rgba(255,255,255,.08); box-shadow:inset 0 -1px 0 rgba(243,204,118,.18); }
.promo-ticker::before { content:""; position:absolute; inset:0; background:repeating-linear-gradient(-45deg,rgba(255,255,255,.025) 0 10px,transparent 10px 20px); pointer-events:none; }
.promo-ticker-inner { position:relative; display:flex; align-items:stretch; min-height:52px; max-width:72rem; margin:0 auto; padding:0 16px; }
.promo-ticker-label { display:inline-flex; align-items:center; gap:7px; flex:none; margin:7px 0 7px 14px; padding:0 13px; color:#1d1607; background:linear-gradient(135deg,#f6d789,#d9a83f); border-radius:999px; font-size:12px; font-weight:800; letter-spacing:.02em; box-shadow:0 4px 12px rgba(0,0,0,.22); }
.promo-ticker-label svg { width:15px; height:15px; }
.promo-ticker-viewport { position:relative; flex:1; min-width:0; display:flex; align-items:center; overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); }
.promo-ticker-track { display:flex; align-items:center; flex:none; gap:0; margin:0; padding:0; list-style:none; animation:promo-marquee var(--promo-duration,40s) linear infinite; }
.promo-ticker:hover .promo-ticker-track,.promo-ticker:focus-within .promo-ticker-track { animation-play-state:paused; }
.promo-ticker--single .promo-ticker-track { animation:none; flex:1; justify-content:center; }
.promo-ticker--single .promo-ticker-viewport { -webkit-mask-image:none; mask-image:none; }
@keyframes promo-marquee { from { transform:translateX(0); } to { transform:translateX(50%); } }
.promo-item { display:inline-flex; align-items:center; gap:10px; flex:none; padding:6px 22px; white-space:nowrap; font-size:13.5px; font-weight:700; }
.promo-item + .promo-item::before { content:"◆"; margin-inline-end:22px; color:#f3cc76; font-size:9px; opacity:.8; }
.promo-item-icon { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; color:#f3cc76; background:rgba(243,204,118,.13); border:1px solid rgba(243,204,118,.3); border-radius:8px; }
.promo-item-icon svg { width:15px; height:15px; }
.promo-item-text { color:#fff; }
.promo-item-badge { display:inline-flex; align-items:center; gap:4px; padding:3px 9px; color:#1d1607; background:#f3cc76; border-radius:999px; font-size:11.5px; font-weight:800; }
.promo-item-code { display:inline-flex; align-items:center; gap:7px; }
.promo-item-code-label { color:#b9c9ea; font-size:12px; font-weight:600; }
.promo-item-code code { padding:4px 11px; color:#fff; background:rgba(255,255,255,.1); border:1px dashed rgba(243,204,118,.65); border-radius:8px; font:800 13px/1.2 "IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.08em; }
.promo-copy { display:inline-flex; align-items:center; gap:5px; padding:4px 9px; color:#0b1730; background:#fff; border:0; border-radius:7px; font:800 11.5px/1 "IBM Plex Sans Arabic",sans-serif; cursor:pointer; transition:background .2s ease,transform .2s ease; }
.promo-copy svg { width:13px; height:13px; }
.promo-copy:hover { background:#f3cc76; transform:translateY(-1px); }
.promo-copy.is-copied { background:#86efac; }
.promo-ticker--rotate .promo-ticker-track { animation:none; flex:1; position:relative; min-height:34px; }
.promo-ticker--rotate .promo-item { position:absolute; inset:0; justify-content:center; opacity:0; transition:opacity .6s ease; }
.promo-ticker--rotate .promo-item.is-shown { opacity:1; }
.promo-ticker--rotate .promo-item::before { display:none; }
@media (prefers-reduced-motion:reduce) { .promo-ticker-track { animation:none; } }
@media (max-width:640px) {
  .promo-ticker-inner { flex-direction:column; align-items:stretch; padding:8px 16px 9px; }
  .promo-ticker-label { align-self:flex-start; margin:0 0 6px; padding:5px 11px; font-size:11px; }
  .promo-ticker-viewport { min-height:36px; }
  .promo-item { padding:4px 14px; font-size:12.5px; gap:8px; }
  .promo-item + .promo-item::before { margin-inline-end:14px; }
  .promo-item-code-label { display:none; }
}

/* ---- Included in every plan ---- */
.includes-panel { overflow:hidden; background:#fff; border:1px solid #d6dfec; border-radius:22px; box-shadow:0 18px 44px rgba(20,42,82,.09); }
.includes-panel-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 26px; color:#fff; background:linear-gradient(135deg,var(--hfx-navy),#172d59 60%,#1e3a78); border-bottom:1px dashed rgba(255,255,255,.28); }
.includes-eyebrow { display:block; color:#f3cc76; font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.14em; }
.includes-panel-head h3 { margin:7px 0 0; font-size:20px; font-weight:800; letter-spacing:-.02em; }
.includes-count { display:inline-flex; align-items:center; gap:6px; flex:none; padding:7px 13px; color:#1d1607; background:#f3cc76; border-radius:999px; font-size:12px; font-weight:800; }
.includes-count svg { width:14px; height:14px; stroke-width:2.4; }
.includes-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0; padding:20px; list-style:none; background:#f7f9fd; }
.includes-item { position:relative; display:flex; align-items:center; gap:13px; min-height:74px; padding:14px 16px; background:#fff; border:1px solid #dde5f0; border-radius:16px; box-shadow:0 4px 14px rgba(20,42,82,.045); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.includes-item:hover { transform:translateY(-3px); border-color:#9fb4dc; box-shadow:0 12px 26px rgba(37,69,156,.13); }
.includes-item-icon { display:inline-flex; align-items:center; justify-content:center; flex:none; width:46px; height:46px; color:var(--hfx-blue); background:linear-gradient(145deg,#e9efff,#dbe5ff); border:1px solid #c9d7f5; border-radius:13px; }
.includes-item-icon svg { width:23px; height:23px; }
.includes-item-label { flex:1; color:var(--hfx-ink); font-size:14.5px; font-weight:800; line-height:1.45; }
.includes-item-check { display:inline-flex; align-items:center; justify-content:center; flex:none; width:22px; height:22px; color:#fff; background:#16a34a; border-radius:50%; box-shadow:0 0 0 4px #dcfce7; }
.includes-item-check svg { width:12px; height:12px; stroke-width:3; }
@media (max-width:900px) { .includes-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) { .includes-grid { grid-template-columns:1fr; padding:14px; gap:10px; } .includes-panel-head { flex-direction:column; align-items:flex-start; padding:18px 18px; } .includes-item { min-height:64px; } }

/* ---- How the bot works: process flow ---- */
.process-panel { position:relative; padding:28px 28px 30px; background:#fff; }
.process-panel.bot-process-card::after { top:22px; }
.process-lead { max-width:56rem; margin:0 0 22px; padding-inline-end:90px; color:#334155; font-size:15.5px; line-height:1.85; }
.process-subhead { margin:0 0 18px; color:var(--hfx-ink); font-size:15px; font-weight:800; }
.process-flow { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:0; padding:0; list-style:none; counter-reset:none; }
.process-step { position:relative; display:flex; flex-direction:column; align-items:center; gap:10px; padding:24px 16px 20px; text-align:center; background:linear-gradient(180deg,#f8faff,#fff); border:1px solid #d9e2f0; border-radius:18px; box-shadow:0 8px 22px rgba(20,42,82,.05); transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.process-step:hover { transform:translateY(-3px); border-color:#9fb4dc; box-shadow:0 14px 30px rgba(37,69,156,.13); }
.process-step-num { position:absolute; top:-13px; right:16px; display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; color:#fff; background:var(--hfx-blue); border:3px solid #fff; border-radius:50%; font:800 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace; box-shadow:0 4px 10px rgba(37,69,156,.3); }
.process-step-icon { display:inline-flex; align-items:center; justify-content:center; width:60px; height:60px; color:var(--hfx-blue); background:radial-gradient(circle at 30% 30%,#fff,#e6edff); border:1px solid #c9d7f5; border-radius:18px; box-shadow:inset 0 1px 0 #fff,0 6px 16px rgba(37,69,156,.12); }
.process-step-icon svg { width:28px; height:28px; }
.process-step-title { color:var(--hfx-ink); font-size:14.5px; font-weight:800; line-height:1.4; }
.process-step-sub { color:#6b7a90; font-size:12px; font-weight:600; }
.process-step-arrow { position:absolute; top:50%; left:-19px; z-index:2; display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; color:var(--hfx-blue); background:#fff; border:1px solid #c9d7f5; border-radius:50%; transform:translateY(-50%); box-shadow:0 3px 8px rgba(20,42,82,.12); }
.process-step-arrow svg { width:13px; height:13px; stroke-width:2.6; }
.process-step:last-child .process-step-arrow { display:none; }
@media (max-width:900px) { .process-flow { grid-template-columns:repeat(2,minmax(0,1fr)); } .process-step:nth-child(2) .process-step-arrow { display:none; } .process-lead { padding-inline-end:0; } }
@media (max-width:560px) {
  .process-panel { padding:22px 18px 24px; }
  .process-flow { grid-template-columns:1fr; gap:18px; }
  .process-step { flex-direction:row; align-items:center; gap:14px; padding:16px 14px 16px 16px; text-align:right; }
  .process-step-icon { flex:none; width:52px; height:52px; }
  .process-step-title,.process-step-sub { display:block; }
  .process-step > .process-step-title { flex:1; }
  .process-step-sub { flex-basis:100%; display:none; }
  .process-step-arrow { top:auto; bottom:-21px; left:50%; transform:translateX(-50%) rotate(-90deg); display:inline-flex !important; }
  .process-step:last-child .process-step-arrow { display:none !important; }
}

/* ---- After purchase: timeline ---- */
.after-timeline { position:relative; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; margin:0; padding:26px 0 0; list-style:none; }
.after-timeline::before { content:""; position:absolute; top:26px; right:10%; left:10%; height:4px; border-radius:4px; background:linear-gradient(270deg,#dbe4f5 0%,#3764c4 55%,var(--hfx-navy) 100%); }
.after-timeline::after { content:""; position:absolute; top:19px; left:calc(10% - 10px); width:0; height:0; border-top:9px solid transparent; border-bottom:9px solid transparent; border-right:12px solid var(--hfx-navy); }
.after-step { position:relative; display:flex; flex-direction:column; align-items:center; gap:10px; padding:0 8px 20px; text-align:center; }
.after-step-num { position:relative; z-index:1; display:inline-flex; align-items:center; justify-content:center; width:52px; height:52px; margin-top:-26px; color:#fff; background:linear-gradient(145deg,#3764c4,var(--hfx-navy)); border:4px solid #fafafc; border-radius:50%; font:800 18px/1 ui-monospace,SFMono-Regular,Menlo,monospace; box-shadow:0 0 0 2px #c9d7f5,0 8px 18px rgba(37,69,156,.28); }
.after-step-icon { display:inline-flex; align-items:center; justify-content:center; width:56px; height:56px; margin-top:4px; color:var(--hfx-blue); background:#fff; border:1px solid #d6dfec; border-radius:16px; box-shadow:0 8px 20px rgba(20,42,82,.07); }
.after-step-icon svg { width:26px; height:26px; }
.after-step-text { margin:0; color:#1f2a44; font-size:13.5px; font-weight:700; line-height:1.65; }
.after-step--last .after-step-num { background:linear-gradient(145deg,#16a34a,#166534); box-shadow:0 0 0 2px #bbf7d0,0 8px 18px rgba(22,163,74,.28); }
.after-step--last .after-step-num::after { content:"✓"; position:absolute; top:-9px; left:-9px; display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; color:#166534; background:#dcfce7; border:2px solid #fff; border-radius:50%; font:800 11px/1 sans-serif; }
@media (max-width:900px) {
  .after-timeline { grid-template-columns:1fr; gap:0; padding:0 0 0 0; }
  .after-timeline::before { top:0; bottom:0; right:26px; left:auto; width:4px; height:auto; background:linear-gradient(180deg,var(--hfx-navy) 0%,#3764c4 55%,#dbe4f5 100%); }
  .after-timeline::after { top:auto; bottom:-8px; right:20px; left:auto; border:0; width:0; height:0; border-left:8px solid transparent; border-right:8px solid transparent; border-top:12px solid #dbe4f5; }
  .after-step { display:grid; grid-template-columns:56px 56px minmax(0,1fr); grid-template-areas:"num icon text"; align-items:center; column-gap:14px; padding:0 0 22px; text-align:right; }
  .after-step-num { grid-area:num; margin:0; width:48px; height:48px; justify-self:center; }
  .after-step-icon { grid-area:icon; margin:0; width:50px; height:50px; }
  .after-step-text { grid-area:text; }
}
@media (max-width:420px) { .after-step { grid-template-columns:52px 46px minmax(0,1fr); column-gap:10px; } .after-timeline::before { right:24px; } .after-step-icon { width:44px; height:44px; } .after-step-icon svg { width:22px; height:22px; } }

/* ---- Withdraw & profit management ---- */
.withdraw-panel { overflow:hidden; background:#fff; border:1px solid #d6dfec; border-radius:22px; box-shadow:0 18px 44px rgba(20,42,82,.09); }
.withdraw-hero { display:flex; align-items:center; gap:20px; padding:26px 28px; color:#fff; background:linear-gradient(135deg,var(--hfx-navy) 0%,#172d59 55%,#1e3a78 100%); }
.withdraw-hero-icon { display:inline-flex; align-items:center; justify-content:center; flex:none; width:64px; height:64px; color:#f3cc76; background:rgba(243,204,118,.12); border:1px solid rgba(243,204,118,.38); border-radius:18px; box-shadow:inset 0 1px 0 rgba(255,255,255,.08); }
.withdraw-hero-icon svg { width:32px; height:32px; }
.withdraw-hero-eyebrow { display:block; color:#f3cc76; font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.14em; }
.withdraw-hero-lead { margin:8px 0 0; font-size:22px; font-weight:800; line-height:1.35; letter-spacing:-.02em; }
.withdraw-hero-sub { margin:6px 0 0; color:#b9c9ea; font-size:13.5px; line-height:1.7; }
.withdraw-group { padding:22px 24px 26px; background:#f7f9fd; }
.withdraw-group-label { display:inline-flex; align-items:center; gap:8px; margin:0 0 14px; padding:6px 12px; color:var(--hfx-blue); background:#e9efff; border:1px solid #c9d7f5; border-radius:999px; font-size:12px; font-weight:800; }
.withdraw-group-label svg { width:15px; height:15px; }
.withdraw-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.withdraw-card { position:relative; display:flex; flex-direction:column; gap:10px; padding:22px 18px 20px; background:#fff; border:1px solid #dde5f0; border-radius:18px; box-shadow:0 6px 18px rgba(20,42,82,.05); transition:transform .2s ease,box-shadow .2s ease; }
.withdraw-card:hover { transform:translateY(-3px); box-shadow:0 14px 30px rgba(37,69,156,.12); }
.withdraw-card-tag { position:absolute; top:14px; left:14px; padding:4px 10px; border-radius:999px; font-size:11px; font-weight:800; }
.withdraw-card--good .withdraw-card-tag { color:#166534; background:#dcfce7; border:1px solid #bbf7d0; }
.withdraw-card--avoid .withdraw-card-tag { color:#9a3412; background:#ffedd5; border:1px solid #fed7aa; }
.withdraw-card-icon { display:inline-flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:15px; }
.withdraw-card--good .withdraw-card-icon { color:var(--hfx-blue); background:linear-gradient(145deg,#e9efff,#dbe5ff); border:1px solid #c9d7f5; }
.withdraw-card--avoid .withdraw-card-icon { color:#c2410c; background:linear-gradient(145deg,#fff4ea,#ffe4cc); border:1px solid #fed7aa; }
.withdraw-card-icon svg { width:26px; height:26px; }
.withdraw-card h3 { margin:0; color:var(--hfx-ink); font-size:16px; font-weight:800; }
.withdraw-card p { margin:0; color:#475569; font-size:13.5px; font-weight:600; line-height:1.75; }
.withdraw-card--avoid { border-color:#fed7aa; }
@media (max-width:900px) { .withdraw-cards { grid-template-columns:1fr; } }
@media (max-width:560px) { .withdraw-hero { flex-direction:column; align-items:flex-start; padding:22px 18px; } .withdraw-hero-lead { font-size:19px; } .withdraw-group { padding:18px 16px 20px; } }

/* ---- Footer disclaimer ---- */
.footer-disclaimer { display:flex; align-items:flex-start; gap:12px; max-width:44rem; margin:0 auto 18px; padding:14px 18px; color:#475569; background:#f8fafc; border:1px solid #e2e8f0; border-inline-start:3px solid #94a3b8; border-radius:14px; text-align:right; }
.footer-disclaimer-icon { display:inline-flex; align-items:center; justify-content:center; flex:none; width:30px; height:30px; color:#64748b; background:#fff; border:1px solid #e2e8f0; border-radius:9px; }
.footer-disclaimer-icon svg { width:16px; height:16px; }
.footer-disclaimer p { margin:0; font-size:12.5px; font-weight:600; line-height:1.8; }
@media (max-width:560px) { .footer-disclaimer { padding:12px 14px; } }
.admin-shell.admin-shell .admin-sidebar-user { display:flex; align-items:center; gap:11px; margin:0 13px 18px; padding:12px 13px; background:rgba(255,255,255,.055); border:1px solid rgba(148,163,184,.16); border-radius:13px; }
.admin-shell.admin-shell .admin-page-actions { grid-area:action; display:flex; flex-wrap:wrap; gap:8px; align-self:center; }
.admin-shell.admin-shell .admin-btn .ui-icon { width:16px; height:16px; flex:0 0 16px; }
.admin-shell.admin-shell .admin-btn-primary:hover { background:var(--admin-navy-2); border-color:var(--admin-navy-2); box-shadow:0 8px 18px rgba(37,69,156,.25); }
.admin-shell.admin-shell .admin-btn-secondary:hover { color:var(--admin-blue); background:#eef3fb; border-color:#b8c9e6; }
.admin-shell.admin-shell .staff-row { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1.3fr) auto auto auto auto; align-items:center; gap:10px; margin-bottom:10px; padding:12px; background:#f8fafd; border:1px solid var(--admin-border-soft); border-radius:13px; }
.admin-shell.admin-shell .staff-row--new { grid-template-columns:minmax(0,1.3fr) minmax(0,1.3fr) minmax(0,1fr) auto; margin:18px 0 0; background:#fff; border-style:dashed; }
/* promo admin */
.admin-shell.admin-shell .promo-preview { display:flex; align-items:center; gap:14px; min-height:52px; margin-bottom:20px; padding:9px 12px 9px 16px; color:#fff; background:linear-gradient(90deg,var(--admin-navy) 0%,#172d59 60%,#1e3a78 100%); border-radius:13px; overflow:hidden; }
.admin-shell.admin-shell .promo-admin-form { display:grid; grid-template-columns:minmax(0,2.2fr) minmax(0,1.1fr) minmax(0,.8fr) minmax(0,.8fr) auto auto; align-items:end; gap:12px; margin-bottom:22px; }
@media (max-width:1100px) { .admin-shell.admin-shell .promo-admin-form { grid-template-columns:1fr 1fr; } .admin-shell.admin-shell .promo-admin-form .promo-field-text { grid-column:1 / -1; } }
@media (max-width:768px) {
  .admin-shell.admin-shell .admin-page-actions { grid-area:action; width:100%; margin-top:9px; }
  .admin-shell.admin-shell .admin-page-actions .admin-btn { flex:1; }
  .admin-shell.admin-shell .admin-page-header > .admin-btn { width:100%; }
  .admin-shell.admin-shell .promo-admin-form,.admin-shell.admin-shell .staff-row,.admin-shell.admin-shell .staff-row--new { grid-template-columns:1fr; }
  .admin-shell.admin-shell .promo-form-actions .admin-btn,.admin-shell.admin-shell .staff-row .admin-btn { width:100%; }
  .admin-shell.admin-shell .promo-preview { flex-direction:column; align-items:flex-start; }
  .admin-shell.admin-shell .admin-sidebar-user { margin-bottom:22px; }
}
@media (max-width:640px) {
  .promo-ticker--single .promo-item { flex-wrap:wrap; justify-content:center; row-gap:6px; padding:4px 6px; white-space:normal; text-align:center; }
  .promo-ticker--single .promo-ticker-viewport { min-height:0; }
}
/* promo copy button must not inherit the MT5 copy-value square */
.promo-ticker .promo-copy.copy-value { width:auto; height:auto; min-height:30px; flex:0 0 auto; padding:4px 10px; color:#0b1730; background:#fff; border:0; border-radius:7px; box-shadow:none; }
.promo-ticker .promo-copy.copy-value::before { display:none; }
.promo-ticker .promo-copy.copy-value:hover { color:#0b1730; background:#f3cc76; border-color:transparent; box-shadow:none; }

/* ── VPS infrastructure panel (BOT page) ─────────────────────────────── */
.vps-section { max-width:64rem; margin:0 auto; padding:0 24px 46px; }
.vps-panel { position:relative; overflow:hidden; color:#fff; border:1px solid rgba(255,255,255,.09); border-radius:26px;
  background:radial-gradient(120% 90% at 88% 0%, rgba(245,158,11,.17) 0%, transparent 55%), radial-gradient(68% 52% at 50% 116%, rgba(37,99,235,.34) 0%, transparent 62%), linear-gradient(158deg, #070D1C 0%, #0B1730 48%, #0F2247 100%);
  box-shadow:0 26px 60px -18px rgba(5,12,30,.65); }
.vps-panel::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.55;
  background-image:radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size:22px 22px;
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 72%); mask-image:linear-gradient(180deg,#000,transparent 72%); }
.vps-edge { position:absolute; inset-block-start:0; inset-inline:0; height:2px; overflow:hidden; background:rgba(255,255,255,.08); }
.vps-edge::after { content:""; position:absolute; top:0; bottom:0; width:38%;
  background:linear-gradient(90deg,transparent,#F59E0B 35%,#34D399 72%,transparent); animation:vps-sweep 6.5s linear infinite; }
@keyframes vps-sweep { from { transform:translateX(-120%); } to { transform:translateX(320%); } }

.vps-grid { position:relative; padding:38px 40px 40px; }
.vps-eyebrow { display:inline-flex; align-items:center; gap:9px; padding:7px 14px; border:1px solid rgba(52,211,153,.3); border-radius:999px;
  background:rgba(52,211,153,.12); color:#6EE7B7; font-size:12px; font-weight:800; letter-spacing:.03em; }
.vps-dot { position:relative; flex:none; width:8px; height:8px; border-radius:50%; background:#34D399; box-shadow:0 0 0 3px rgba(52,211,153,.16); }
.vps-dot::after { content:""; position:absolute; inset:-3px; border:1px solid rgba(52,211,153,.65); border-radius:50%; animation:vps-ping 2.4s ease-out infinite; }
@keyframes vps-ping { 0% { transform:scale(.75); opacity:.9; } 100% { transform:scale(2.3); opacity:0; } }

.vps-headline { display:flex; align-items:stretch; gap:18px; margin-top:18px; }
.vps-headline-bar { flex:none; width:5px; border-radius:99px; background:linear-gradient(180deg,#FCD34D,#F59E0B 45%,#B98522); box-shadow:0 0 18px rgba(245,158,11,.45); }
.vps-title { margin:0; font-size:clamp(30px,5.4vw,46px); font-weight:900; line-height:1.18; letter-spacing:-.02em; color:#fff; }
.vps-lede { margin:16px 0 0; max-width:42ch; color:#A9BCD8; font-size:15.5px; line-height:1.85; text-wrap:pretty; }

.vps-head { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:34px; }
.vps-console { flex:none; width:298px; overflow:hidden; border:1px solid rgba(255,255,255,.1); border-radius:16px;
  background:linear-gradient(180deg,rgba(7,14,32,.92),rgba(11,23,48,.7));
  box-shadow:0 18px 40px -22px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08); }
.vps-console-bar { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 13px; border-bottom:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.035); }
.vps-console-dots { display:flex; gap:5px; }
.vps-console-dots i { width:7px; height:7px; border-radius:50%; background:rgba(239,68,68,.55); }
.vps-console-dots i:nth-child(2) { background:rgba(245,158,11,.6); }
.vps-console-dots i:nth-child(3) { background:rgba(52,211,153,.6); }
.vps-console-title { font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.14em; color:#6E84A8; }
.vps-console-body { display:grid; gap:10px; padding:14px 14px 15px; }
.vps-console-row { display:flex; align-items:center; justify-content:space-between; gap:12px; font:700 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace; color:#8AA0C2; letter-spacing:.06em; }
.vps-console-state { display:inline-flex; align-items:center; gap:7px; color:#6EE7B7; font-family:inherit; }
.vps-console-state i { width:6px; height:6px; border-radius:50%; background:#34D399; box-shadow:0 0 8px rgba(52,211,153,.75); }
.vps-console-track { display:flex; gap:3px; margin-top:3px; }
.vps-console-track i { flex:1; height:18px; border-radius:2px; background:linear-gradient(180deg,rgba(52,211,153,.34),rgba(16,185,129,.12)); }
.vps-console-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; font:700 10.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.08em; color:#6E84A8; }

.vps-specs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:26px; }
.vps-spec { display:flex; align-items:center; gap:13px; padding:13px 15px; border:1px solid rgba(255,255,255,.075); border-radius:14px; background:rgba(255,255,255,.045); }
.vps-spec-icon { flex:none; display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border:1px solid rgba(245,158,11,.26); border-radius:11px; background:rgba(245,158,11,.13); color:#FBBF24; }
.vps-spec-icon svg { width:19px; height:19px; }
.vps-spec-k { display:block; font:800 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.08em; color:#7E93B4; }
.vps-spec-v { display:block; margin-top:4px; font-size:14.5px; font-weight:700; color:#EAF1FF; }

.vps-plate { display:flex; align-items:center; gap:26px; width:min(100%,690px); margin:30px auto 0; padding:22px 28px; border:1px solid rgba(96,165,250,.45); border-radius:20px;
  background:linear-gradient(135deg,#1E3A8A 0%,#25459C 46%,#2563EB 100%);
  box-shadow:0 20px 46px -18px rgba(37,99,235,.7), inset 0 1px 0 rgba(255,255,255,.2); }
.vps-plate-price { flex:none; }
.vps-plate-notes { flex:1 1 auto; min-width:0; padding-inline-start:26px; border-inline-start:1px solid rgba(255,255,255,.24); }
.vps-plate-k { display:block; font:800 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.1em; color:#FCD34D; }
.vps-price { display:flex; align-items:baseline; gap:8px; margin:11px 0 0; }
.vps-price bdi { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:clamp(34px,5.6vw,46px); font-weight:800; line-height:1; letter-spacing:-.045em; color:#fff; text-shadow:0 6px 22px rgba(4,12,38,.45); }
.vps-price-per { font-size:14px; font-weight:700; color:#DBEAFE; }
.vps-note { display:flex; gap:9px; margin:0; font-size:13px; line-height:1.7; color:#DBEAFE; }
.vps-note + .vps-note { margin-top:10px; }
.vps-note svg { flex:none; width:16px; height:16px; margin-top:3px; color:#FCD34D; }
.vps-note strong { color:#fff; font-weight:800; }

@media (max-width:860px) {
  .vps-section { padding:0 16px 34px; }
  .vps-grid { padding:30px 24px 32px; }
  .vps-headline { gap:14px; }
  .vps-lede { max-width:none; font-size:15px; }
  .vps-head { display:block; }
  .vps-console { display:none; }
  .vps-specs { grid-template-columns:minmax(0,1fr); }
  .vps-plate { flex-direction:column; align-items:stretch; gap:18px; margin-top:26px; padding:22px 20px; }
  .vps-plate-notes { padding-inline-start:0; border-inline-start:0; padding-block-start:17px; border-block-start:1px solid rgba(255,255,255,.24); }
}
@media (max-width:420px) {
  .vps-grid { padding:24px 17px 26px; }
  .vps-spec { padding:12px; gap:11px; }
  .vps-plate { padding:20px 17px; }
}
@media (prefers-reduced-motion:reduce) {
  .vps-dot::after { animation:none; }
  .vps-edge::after { width:100%; animation:none; transform:none; opacity:.75; }
}
.vps-price-dec { font-size:.44em; font-weight:700; letter-spacing:0; vertical-align:.95em; opacity:.82; }
@media (max-width:860px) { .vps-price { justify-content:flex-start; } }
