@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800&display=swap');

/* =====================================================================
   PERFECT PANEL — PREMIUM DESIGN SYSTEM (Yellow-Dark Edition)
   Override layer over Bootstrap 3. Monochrome carbon base + Cyber Gold.
   Author: Creative Direction Layer — do not mix raw Bootstrap defaults.
   ===================================================================== */

:root {
  /* Surfaces */
  --bg-void:        #0B0B0C;   /* deep velvet black — app background      */
  --bg-base:        #0E0E10;   /* midnight gray — secondary base          */
  --bg-card:        #1A1A1E;   /* charcoal carbon — cards / tables        */
  --bg-card-2:      #1F1F24;   /* raised surface (hover / inputs)         */
  --bg-input:       #161619;   /* sunken input field                      */

  /* Accent — Cyber Gold (never raw fluorescent) */
  --gold:           #FFD200;
  --gold-soft:      #F4C430;
  --gold-deep:      #C99B00;
  --gold-tint-06:   rgba(255, 210, 0, 0.06);
  --gold-tint-10:   rgba(255, 210, 0, 0.10);
  --gold-tint-14:   rgba(255, 210, 0, 0.14);
  --gold-glow:      rgba(255, 210, 0, 0.22);

  /* Text */
  --text:           #FFFFFF;
  --text-2:         #C7C7CC;
  --text-muted:     #8E8E93;
  --text-faint:     #5A5A60;

  /* Lines / borders (opacity-based, obsidian) */
  --line:           rgba(255, 255, 255, 0.05);   /* #ffffff0d */
  --line-soft:      rgba(255, 255, 255, 0.031);  /* #ffffff08 — table rows */
  --line-strong:    rgba(255, 255, 255, 0.09);

  /* Status hues (muted, desaturated for dark UI) */
  --ok:    #34C759;
  --warn:  #FFB020;
  --err:   #FF453A;
  --info:  #5AC8FA;

  /* Geometry */
  --r-sm: 10px;
  --r:    12px;
  --r-lg: 14px;
  --r-xl: 18px;

  /* Elevation */
  --shadow-card: 0 1px 0 rgba(255,255,255,0.02) inset, 0 8px 30px -12px rgba(0,0,0,0.7);
  --shadow-pop:  0 18px 50px -16px rgba(0,0,0,0.85);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================ RESET / BASE ============================ */

* { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

html, body {
  background-color: var(--bg-void) !important;
  color: var(--text) !important;
  font-family: 'Plus Jakarta Sans', 'Geist Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
  font-size: 14.5px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  font-weight: 400;
}

/* Layered depth — soft gold aura top, vignette base. CSS-only, no assets. */
body {
  position: relative;
  min-height: 100vh;
  background-image:
    radial-gradient(1100px 520px at 78% -8%, rgba(255, 210, 0, 0.07), transparent 60%),
    radial-gradient(900px 600px at -5% 0%, rgba(255, 255, 255, 0.022), transparent 55%),
    linear-gradient(180deg, #0C0C0D 0%, var(--bg-void) 38%) !important;
  background-attachment: fixed;
}

::selection { background: var(--gold); color: #0B0B0C; }

a { color: var(--gold-soft); transition: color 0.18s var(--ease); }
a:hover, a:focus { color: var(--gold); text-decoration: none; }

h1, h2, h3, h4, h5, .modal-title, .navbar-brand {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
h4 { font-weight: 600; }
strong, b { font-weight: 700; color: var(--text); }
p { color: var(--text-2); }
small, .help-block { color: var(--text-muted) !important; font-weight: 400; }

/* Custom scrollbar */
*::-webkit-scrollbar { width: 11px; height: 11px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: #2A2A30; border-radius: 20px;
  border: 3px solid var(--bg-void); background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover { background: #3A3A42; }
html { scrollbar-color: #2A2A30 transparent; scrollbar-width: thin; }

/* =============================== NAVBAR =============================== */

.navbar.navbar-default {
  background: rgba(12, 12, 13, 0.72) !important;
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border: none !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.02);
  margin-bottom: 34px;
  min-height: 64px;
}

.navbar-default .navbar-brand {
  color: var(--text) !important;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
  height: 64px;
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}
.navbar-default .navbar-brand img { max-height: 32px; width: auto; }

.navbar-default .navbar-nav > li > a {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 14px;
  padding: 22px 16px;
  position: relative;
  transition: color 0.18s var(--ease);
}
.navbar-default .navbar-nav > li > a:hover { color: var(--text) !important; }
.navbar-default .navbar-nav > li > a .navbar-icon { margin-right: 7px; opacity: 0.7; }

/* Active menu item — thin gold underline indicator + subtle wash */
.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > li.active > a:focus {
  color: var(--text) !important;
  background: linear-gradient(180deg, var(--gold-tint-06), transparent) !important;
}
.navbar-default .navbar-nav > li.active > a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 12px var(--gold-glow);
}

/* Balance badge — the money highlight */
.navbar .badge {
  background: var(--gold-tint-10) !important;
  color: var(--gold) !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--gold-tint-14);
  letter-spacing: -0.01em;
}
.navbar-right .dropdown-currencies > a { padding: 18px 14px; cursor: pointer; }
.navbar-default .navbar-nav .caret { color: var(--text-faint); }

/* Mobile toggler */
.navbar-default .navbar-toggle { border-color: var(--line-strong); border-radius: var(--r-sm); }
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background: var(--bg-card); }
.navbar-default .navbar-toggle .icon-bar { background: var(--text-2); }
.navbar-default .navbar-collapse { border-color: var(--line); }

/* ============================ CARDS (.well) ========================== */

.well {
  background: var(--bg-card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--shadow-card) !important;
  padding: 26px 28px;
  margin-bottom: 26px;
}
.well-float { padding: 8px 6px; overflow-x: auto; }
.panel-body.border-solid {
  background: var(--bg-input);
  border: 1px solid var(--line) !important;
  border-radius: var(--r) !important;
  color: var(--text-2);
}

/* ============================== FORMS ================================ */

label.control-label, .form-group > label {
  color: var(--text-2) !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}

.form-control {
  background: var(--bg-input) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r) !important;
  color: var(--text) !important;
  height: 46px;
  padding: 10px 15px;
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: none !important;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
textarea.form-control { height: auto; line-height: 1.6; }
.form-control::placeholder { color: var(--text-faint); font-weight: 400; }

/* Focus — border shifts to Cyber Gold + soft glow */
.form-control:focus {
  background: var(--bg-card-2) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px var(--gold-tint-10), 0 0 18px -4px var(--gold-glow) !important;
  outline: none;
}
.form-control[readonly], .form-control[disabled] {
  background: #131316 !important;
  color: var(--text-muted) !important;
  cursor: default;
  border-style: dashed !important;
}

select.form-control {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238E8E93' d='M6 8.2L1.4 3.6 2.5 2.5 6 6l3.5-3.5 1.1 1.1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Native select dropdown options (best-effort on supporting browsers) */
select.form-control option { background: var(--bg-card); color: var(--text); }

/* ============================= BUTTONS =============================== */

.btn {
  border-radius: var(--r) !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  padding: 11px 22px;
  border: 1px solid transparent;
  transition: transform 0.12s var(--ease), background 0.2s var(--ease),
              box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:focus, .btn:active:focus { outline: none; }

/* Primary — the gold action button */
.btn-primary {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-soft) 100%) !important;
  color: #1A1400 !important;
  border: none !important;
  font-weight: 700;
  box-shadow: 0 6px 20px -8px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(180deg, #FFDA28 0%, var(--gold) 100%) !important;
  color: #1A1400 !important;
  box-shadow: 0 10px 28px -8px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.4);
  transform: translateY(-1px);
}
.btn-primary:active { background: var(--gold-soft) !important; }

/* Default / secondary — subtle carbon outline */
.btn-default {
  background: var(--bg-card-2) !important;
  color: var(--text-2) !important;
  border: 1px solid var(--line-strong) !important;
}
.btn-default:hover, .btn-default:focus {
  background: #2A2A30 !important;
  color: var(--text) !important;
  border-color: rgba(255,255,255,0.16) !important;
}

.btn-xs { padding: 5px 11px; font-size: 12px; border-radius: var(--r-sm) !important; }
.btn.disabled, .btn[disabled] { opacity: 0.45; box-shadow: none; }

/* Dropdown trigger buttons keep gold identity only when primary */
.dropdown-toggle .caret { margin-left: 6px; }

/* =========================== NAV PILLS (tabs) ======================= */

.nav-pills { margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.nav-pills > li > a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13.5px;
  border-radius: 999px !important;
  padding: 9px 18px;
  border: 1px solid transparent;
  transition: all 0.18s var(--ease);
}
.nav-pills > li > a:hover { color: var(--text); background: var(--bg-card) !important; }
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  background: var(--gold-tint-10) !important;
  color: var(--gold) !important;
  border-color: var(--gold-tint-14);
}
.nav-pills > li.pull-right.search { margin-left: auto; }
.nav-pills .search .form-control { height: 42px; }

/* ============================== TABLES ============================== */

.table {
  background: transparent !important;
  margin-bottom: 4px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--text-2);
}
/* Kill ALL vertical lines + Bootstrap cell borders */
.table > thead > tr > th,
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td {
  border: none !important;
  border-bottom: 1px solid var(--line-soft) !important;
  border-left: none !important;
  border-right: none !important;
}

/* Header — muted, uppercase, tracked out */
.table > thead > tr > th {
  color: var(--text-muted) !important;
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line) !important;
  background: transparent;
  white-space: nowrap;
}
.table > tbody > tr > td {
  padding: 15px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  vertical-align: middle;
}
.table > tbody > tr { transition: background 0.14s var(--ease); }
.table > tbody > tr:hover > td { background: var(--gold-tint-06) !important; }
.table > tbody > tr:last-child > td { border-bottom: none !important; }

/* Category divider rows in service table */
.table > tbody > tr[data-filter-table-category-id] > td[colspan] {
  background: var(--bg-base) !important;
  color: var(--text) !important;
  border-bottom: 1px solid var(--line) !important;
}
.table > tbody > tr[data-filter-table-category-id] > td[colspan] strong {
  font-size: 13px; letter-spacing: -0.01em; color: var(--text);
}
.table .service-name { color: var(--text) !important; font-weight: 600; }

/* Favorite star */
.favorite-active [data-favorite-icon], .table .fa-star.fas { color: var(--gold); }

/* =========================== PAGINATION ============================ */

.pagination { gap: 6px; display: inline-flex; flex-wrap: wrap; margin: 22px 0 8px; }
.pagination > li > a, .pagination > li > span {
  background: var(--bg-card) !important;
  border: 1px solid var(--line) !important;
  color: var(--text-2) !important;
  border-radius: var(--r-sm) !important;
  margin: 0;
  min-width: 40px;
  text-align: center;
  font-weight: 600;
  padding: 9px 13px;
  transition: all 0.16s var(--ease);
}
.pagination > li > a:hover { background: var(--bg-card-2) !important; color: var(--text) !important; border-color: var(--line-strong) !important; }
.pagination > li.active > a, .pagination > li.active > span,
.pagination > li.active > a:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #1A1400 !important;
}

/* ============================== ALERTS ============================= */

.alert {
  border-radius: var(--r) !important;
  border: 1px solid var(--line) !important;
  font-weight: 500;
  padding: 15px 18px;
  background: var(--bg-card);
  color: var(--text-2);
}
.alert h4 { margin-top: 0; }
.alert-success { background: rgba(52,199,89,0.10) !important; border-color: rgba(52,199,89,0.28) !important; color: #B8F0C6 !important; }
.alert-danger  { background: rgba(255,69,58,0.10) !important; border-color: rgba(255,69,58,0.30) !important; color: #FFC4BF !important; }
.alert-success h4, .alert-danger h4 { color: inherit; }
.alert .close { color: var(--text-muted); opacity: 0.8; text-shadow: none; font-weight: 400; }
.alert .close:hover { color: var(--text); opacity: 1; }

#notify-wrapper.alert {
  position: fixed; top: 20px; right: 20px; z-index: 1080;
  box-shadow: var(--shadow-pop); border-radius: var(--r) !important;
}

/* ============================ DROPDOWNS ============================ */

.dropdown-menu {
  background: var(--bg-card) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--r) !important;
  box-shadow: var(--shadow-pop) !important;
  padding: 8px;
  margin-top: 8px;
  min-width: 200px;
}
.dropdown-menu > li > a, .dropdown-menu .dropdown-item {
  color: var(--text-2) !important;
  border-radius: var(--r-sm);
  padding: 9px 12px;
  font-weight: 500;
  font-size: 14px;
}
.dropdown-menu > li > a:hover, .dropdown-menu .dropdown-item:hover {
  background: var(--gold-tint-10) !important;
  color: var(--gold) !important;
}
.dropdown-menu > li.active > a { background: var(--gold-tint-10) !important; color: var(--gold) !important; }
.dropdown-max-height { max-height: 320px; overflow-y: auto; }

/* ============================== MODALS ============================ */

.modal-content {
  background: var(--bg-card) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--shadow-pop) !important;
  color: var(--text);
}
.modal-header, .modal-footer { border-color: var(--line) !important; padding: 18px 22px; }
.modal-body { padding: 22px; }
.modal-title { font-weight: 700; }
.modal-backdrop.in { opacity: 0.72; background: #000; }
.modal .close { color: var(--text-muted); opacity: 0.8; text-shadow: none; }
.modal .close:hover { color: var(--text); }

/* ========================= INPUT GROUPS =========================== */

.input-group .form-control { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.input-group-btn .btn {
  border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important;
  border-top-right-radius: var(--r) !important; border-bottom-right-radius: var(--r) !important;
  height: 46px;
}
.input-group-btn:not(:first-child) > .btn { margin-left: -1px; }
.search-dropdown .input-wrapper .form-control { padding-left: 38px; }

/* ========================= AUTH (signin/up) ======================= */

.forgot-password {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.forgot-password:hover { color: var(--gold); }
.form-group__password { position: relative; }
.pull-right-middle { color: var(--text-muted); font-weight: 500; }
.pull-right-middle a { font-weight: 700; }

/* Terms checkbox */
label.terms { color: var(--text-muted); font-weight: 500; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--gold); width: 16px; height: 16px; vertical-align: -2px; }

/* ============================ UTILITIES =========================== */

.container, .container-fluid { padding-left: 20px; padding-right: 20px; }
.nowrap { white-space: nowrap; }
.text-md-right { text-align: right; }
hr { border-color: var(--line); }
code, pre { background: var(--bg-input); color: var(--gold-soft); border-radius: var(--r-sm); border: 1px solid var(--line); }

/* Order action buttons inline */
.order-actions { display: inline-flex; gap: 6px; flex-wrap: wrap; }

/* Tooltip polish */
.tooltip-inner { background: #000; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-weight: 500; padding: 7px 11px; }
.tooltip.in { opacity: 1; }

/* RTL safety — keep gold indicator on correct edge */
.rtl-navbar .navbar-nav > li.active > a::after { left: 16px; right: 16px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Responsive padding for collapsed navbar menu on mobile */
@media (max-width: 767px) {
  .navbar-default .navbar-nav > li > a { padding: 12px 16px; }
  .navbar-default .navbar-nav > li.active > a::after { left: 16px; right: auto; width: 3px; top: 8px; bottom: 8px; height: auto; border-radius: 3px; }
  .well { padding: 20px; }
  .nav-pills { gap: 6px; }
}

/* =====================================================================
   LANDING — "CANLI BÜYÜME TERMİNALİ"  (signin / guest home)
   Unconventional editorial dark-gold: aurora, grain, live order feed,
   animated counters, infinite marquee, bento mosaic.
   ===================================================================== */

.cx-landing { margin-top: -34px; position: relative; }

/* Page-wide grain texture */
.cx-landing::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04; mix-blend-mode: screen;
}
.cx-landing > * { position: relative; z-index: 1; }

/* ----------------------------- RIBBON ----------------------------- */
.cx-ribbon { background: var(--gold); overflow: hidden; border-bottom: 1px solid #000; }
.cx-ribbon-track {
  display: inline-flex; align-items: center; gap: 38px; white-space: nowrap;
  padding: 9px 0; animation: cx-ribbon 30s linear infinite; will-change: transform;
}
.cx-ribbon-track span {
  color: #1A1400; font-weight: 800; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 38px;
}
.cx-ribbon-track b::before { content: "✦"; color: #1A1400; opacity: 0.55; margin-right: 38px; }
.cx-ribbon-track b { font-weight: 800; }
@keyframes cx-ribbon { to { transform: translateX(-50%); } }

/* ------------------------------- HERO ------------------------------ */
.cx-hero { position: relative; overflow: hidden; padding: 62px 0 48px; }
.cx-aurora { position: absolute; inset: -25% -10% auto -10%; height: 130%; z-index: 0; filter: blur(80px); opacity: 0.55; pointer-events: none; }
.cx-aurora i { position: absolute; display: block; border-radius: 50%; }
.cx-aurora i:nth-child(1) { width: 480px; height: 480px; top: -120px; right: 4%; background: radial-gradient(circle, rgba(255,210,0,0.22), transparent 68%); animation: cx-drift1 16s ease-in-out infinite; }
.cx-aurora i:nth-child(2) { width: 420px; height: 420px; top: 40px; left: -60px; background: radial-gradient(circle, rgba(255,180,0,0.10), transparent 70%); animation: cx-drift2 20s ease-in-out infinite; }
.cx-aurora i:nth-child(3) { width: 320px; height: 320px; bottom: -160px; left: 38%; background: radial-gradient(circle, rgba(255,255,255,0.045), transparent 72%); animation: cx-drift1 24s ease-in-out infinite reverse; }
@keyframes cx-drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-36px,28px)} }
@keyframes cx-drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,-24px)} }

.cx-hero .container { position: relative; z-index: 1; }
.cx-hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 30px; align-items: center; }

.cx-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--gold); background: var(--gold-tint-06);
  border: 1px solid var(--gold-tint-14); padding: 7px 15px; border-radius: 999px; margin-bottom: 24px;
}
.cx-eyebrow .cx-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); position: relative; }
.cx-eyebrow .cx-pulse::after { content:""; position:absolute; inset:-4px; border-radius:50%; border:1px solid var(--gold); animation: cx-ping 1.8s ease-out infinite; }
@keyframes cx-ping { 0%{transform:scale(.6);opacity:.9} 100%{transform:scale(1.8);opacity:0} }

.cx-h1 {
  font-size: 56px; line-height: 1.02; font-weight: 800; letter-spacing: -0.04em;
  margin: 0 0 20px; color: var(--text);
}
.cx-h1 .grad {
  background: linear-gradient(120deg, #FFE25A 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cx-h1 .outline {
  color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,0.28);
}
.cx-lead { font-size: 17px; line-height: 1.62; color: var(--text-muted); max-width: 500px; margin: 0 0 30px; }

.cx-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.cx-btn-ghost {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: var(--r);
  background: transparent; color: var(--text); font-weight: 600; font-size: 14.5px;
  border: 1px solid var(--line-strong); transition: all 0.2s var(--ease);
}
.cx-btn-ghost:hover { background: var(--bg-card-2); color: var(--text); border-color: rgba(255,255,255,0.18); transform: translateY(-1px); }
.cx-btn-xl { padding: 14px 26px; font-size: 15px; }
.cx-btn-xl i { margin-left: 8px; }

.cx-trust { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cx-avatars { display: inline-flex; }
.cx-avatars span {
  width: 30px; height: 30px; border-radius: 50%; margin-left: -9px; border: 2px solid var(--bg-void);
  background: linear-gradient(135deg, #3A3A42, #1F1F24); display: inline-flex; align-items: center;
  justify-content: center; font-size: 11px; font-weight: 700; color: var(--gold);
}
.cx-avatars span:first-child { margin-left: 0; }
.cx-trust-txt { color: var(--text-muted); font-size: 13px; }
.cx-trust-txt b { color: var(--text); }
.cx-stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; }

/* Auth card (glass) */
.cx-auth {
  background: linear-gradient(180deg, rgba(31,31,36,0.92), rgba(20,20,24,0.92));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); border-radius: var(--r-xl);
  box-shadow: var(--shadow-pop); padding: 28px 28px 24px; max-width: 430px; margin-left: auto; width: 100%;
}
.cx-auth-head { margin-bottom: 20px; }
.cx-auth-head h3 { font-size: 21px; font-weight: 700; margin: 0 0 5px; }
.cx-auth-head p { color: var(--text-muted); font-size: 13.5px; margin: 0; }
.cx-btn-block { display: block; width: 100%; margin-top: 4px; padding: 13px; font-size: 15px; }
.cx-auth-foot { text-align: center; color: var(--text-muted); font-size: 13px; margin: 16px 0 0; }
.cx-auth-foot a { font-weight: 700; }
.cx-or { display: flex; align-items: center; gap: 14px; margin: 16px 0; color: var(--text-faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; }
.cx-or::before, .cx-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ------------------------------ BENTO ------------------------------ */
.cx-bento { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; margin-top: 8px; }
.cx-tile {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px; position: relative; overflow: hidden;
}
.cx-tile-head { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin-bottom: 14px; }
.cx-live { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); font-weight: 800; font-size: 11px; letter-spacing: 0.08em; }
.cx-live span { width: 8px; height: 8px; border-radius: 50%; background: #FF3B30; box-shadow: 0 0 0 0 rgba(255,59,48,0.6); animation: cx-blink 1.4s ease-out infinite; }
@keyframes cx-blink { 0%{box-shadow:0 0 0 0 rgba(255,59,48,0.55)} 70%{box-shadow:0 0 0 7px rgba(255,59,48,0)} 100%{box-shadow:0 0 0 0 rgba(255,59,48,0)} }

.cx-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; min-height: 0; }
.cx-feed li {
  display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 10px;
  background: var(--bg-input); border: 1px solid var(--line); animation: cx-feedin 0.5s var(--ease);
}
@keyframes cx-feedin { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.cx-feed .ic { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--gold); background: var(--gold-tint-10); flex: none; }
.cx-feed .who { font-size: 13px; font-weight: 600; color: var(--text); }
.cx-feed .what { font-size: 11.5px; color: var(--text-muted); }
.cx-feed .amt { margin-left: auto; font-size: 12.5px; font-weight: 800; color: var(--ok); white-space: nowrap; }
.cx-feed .meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cx-feed .meta .what { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }

.cx-tile-stat { display: flex; flex-direction: column; justify-content: center; }
.cx-stat-num { font-size: 38px; font-weight: 800; letter-spacing: -0.04em; color: var(--gold); line-height: 1; }
.cx-stat-num small { font-size: 20px; }
.cx-stat-lbl { margin-top: 8px; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.cx-spark { position: absolute; right: -10px; bottom: -10px; font-size: 88px; color: var(--gold-tint-06); pointer-events: none; }

/* ---------------------------- MARQUEE ----------------------------- */
.cx-marq-sec { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-base); }
.cx-marq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.cx-marq-track { display: inline-flex; align-items: center; gap: 52px; white-space: nowrap; animation: cx-marq 32s linear infinite; will-change: transform; }
.cx-marq-item { display: inline-flex; align-items: center; gap: 13px; color: var(--text-muted); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; transition: color 0.2s var(--ease); }
.cx-marq-item:hover { color: var(--gold); }
.cx-marq-item i { font-size: 25px; }
@keyframes cx-marq { to { transform: translateX(-50%); } }

/* ---------------------------- SECTIONS ---------------------------- */
.cx-sec { padding: 72px 0; }
.cx-sec-alt { background: var(--bg-base); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cx-head { max-width: 640px; margin: 0 0 44px; }
.cx-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.cx-kicker { display: inline-block; color: var(--gold); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 14px; }
.cx-h2 { font-size: 38px; font-weight: 800; letter-spacing: -0.035em; margin: 0 0 14px; line-height: 1.08; }
.cx-head p { color: var(--text-muted); font-size: 16px; line-height: 1.6; margin: 0; }

/* Feature mosaic */
.cx-feat-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 16px; }
.cx-feat {
  grid-column: span 2; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px; position: relative; overflow: hidden;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.cx-feat:hover { border-color: var(--gold-tint-14); transform: translateY(-4px); }
.cx-feat.is-tall { grid-column: span 3; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.cx-feat.is-wide { grid-column: span 3; }
.cx-feat-ic {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 13px; font-size: 19px; color: var(--gold); background: var(--gold-tint-10);
  border: 1px solid var(--gold-tint-14); margin-bottom: 16px;
}
.cx-feat h4 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.cx-feat p { color: var(--text-muted); font-size: 13.5px; line-height: 1.58; margin: 0; }
.cx-feat.is-tall h4 { font-size: 23px; }
.cx-feat.is-tall p { font-size: 15px; }
.cx-feat-big-num { font-size: 60px; font-weight: 800; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.4px var(--gold-tint-14); line-height: 1; }
.cx-feat-glow { position: absolute; width: 200px; height: 200px; right: -60px; top: -60px; background: radial-gradient(circle, var(--gold-tint-10), transparent 70%); pointer-events: none; }

/* Steps — connected stepper */
.cx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.cx-steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-tint-14) 0 8px, transparent 8px 16px); z-index: 0; }
.cx-step { position: relative; z-index: 1; text-align: center; }
.cx-step-node {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800;
  color: var(--gold); background: var(--bg-card); border: 1px solid var(--gold-tint-14);
  box-shadow: 0 0 0 6px var(--bg-void);
}
.cx-step h4 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.cx-step p { color: var(--text-muted); font-size: 13.5px; line-height: 1.55; margin: 0; padding: 0 6px; }

/* CTA */
.cx-cta-wrap { padding: 8px 0 76px; }
.cx-cta {
  position: relative; overflow: hidden; border-radius: 26px; padding: 64px 48px; text-align: center;
  background: radial-gradient(700px 280px at 50% -30%, rgba(255,210,0,0.16), transparent 70%), var(--bg-card);
  border: 1px solid var(--gold-tint-14);
}
.cx-cta-bg { position: absolute; inset: 0; font-size: 220px; font-weight: 800; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.025); display: flex; align-items: center; justify-content: center; pointer-events: none; white-space: nowrap; }
.cx-cta h2 { position: relative; font-size: 40px; font-weight: 800; letter-spacing: -0.035em; margin: 0 0 12px; }
.cx-cta p { position: relative; color: var(--text-muted); font-size: 16px; margin: 0 0 28px; }
.cx-cta .btn { position: relative; padding: 15px 32px; font-size: 16px; }
.cx-cta .btn i { margin-left: 9px; }

/* Footer */
.cx-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.cx-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cx-foot-brand { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.cx-foot-brand span { color: var(--gold); }
.cx-foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.cx-foot-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.cx-foot-links a:hover { color: var(--gold); }
.cx-pay { display: flex; gap: 10px; align-items: center; color: var(--text-faint); font-size: 22px; }
.cx-copy { color: var(--text-faint); font-size: 12.5px; margin-top: 22px; }

/* --------------------------- RESPONSIVE --------------------------- */
@media (max-width: 991px) {
  .cx-hero-grid { grid-template-columns: 1fr; }
  .cx-auth { margin: 4px auto 0; }
  .cx-h1 { font-size: 46px; }
  .cx-bento { grid-template-columns: 1fr 1fr; }
  .cx-tile-feed { grid-column: span 2; }
  .cx-feat-grid { grid-template-columns: repeat(4, 1fr); }
  .cx-feat, .cx-feat.is-wide { grid-column: span 2; }
  .cx-feat.is-tall { grid-column: span 4; grid-row: auto; }
  .cx-steps { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .cx-steps::before { display: none; }
}
@media (max-width: 600px) {
  .cx-h1 { font-size: 36px; }
  .cx-lead { font-size: 15.5px; }
  .cx-bento { grid-template-columns: 1fr; }
  .cx-tile-feed { grid-column: span 1; }
  .cx-feat-grid { grid-template-columns: 1fr; }
  .cx-feat, .cx-feat.is-wide, .cx-feat.is-tall { grid-column: span 1; grid-row: auto; }
  .cx-steps { grid-template-columns: 1fr; }
  .cx-sec { padding: 52px 0; }
  .cx-h2 { font-size: 29px; }
  .cx-cta { padding: 44px 24px; }
  .cx-cta h2 { font-size: 30px; }
  .cx-cta-bg { font-size: 120px; }
  .cx-footer-row { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   BUTTON FX — gloss sweep, icon nudge, press feedback, focus rings
   ===================================================================== */
.btn { position: relative; overflow: hidden; }
.btn-primary::before {
  content: ""; position: absolute; top: -50%; left: -80%; width: 45%; height: 200%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  transform: rotate(9deg); pointer-events: none; transition: left 0.6s var(--ease);
}
.btn-primary:hover::before { left: 135%; }
.btn-primary:active { transform: translateY(1px) scale(0.99); }

/* Arrow icons glide on hover */
.btn i.fa-arrow-right, .cx-btn-xl i, .cx-cta .btn i, .cx-btn-ghost i { transition: transform 0.22s var(--ease); }
.btn:hover i.fa-arrow-right, .cx-btn-xl:hover i, .cx-cta .btn:hover i { transform: translateX(5px); }
.cx-btn-ghost:hover i { transform: translateX(2px) rotate(-6deg); }

/* Secondary buttons get a lift + sheen */
.btn-default { position: relative; }
.btn-default:hover { transform: translateY(-1px); }
.btn-default:active { transform: translateY(0); }
.btn-xs:active { transform: translateY(1px); }

/* Accessible keyboard focus */
.btn:focus-visible, .cx-btn-ghost:focus-visible, .nav-pills > li > a:focus-visible {
  outline: none; box-shadow: 0 0 0 3px var(--gold-tint-14), 0 0 0 1px var(--gold);
}

/* Nav-pill press */
.nav-pills > li > a:active { transform: translateY(1px); }

/* Icon-button (search) hover */
.input-group-btn .btn:hover { color: var(--gold) !important; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn-primary::before { display: none; }
  .btn, .btn i, .cx-btn-ghost i { transition: none !important; }
}

/* =====================================================================
   FULL MOBILE COMPATIBILITY
   ===================================================================== */

/* Smooth momentum scroll for wide tables on touch */
.well-float { -webkit-overflow-scrolling: touch; }
.well-float::-webkit-scrollbar { height: 7px; }

@media (max-width: 767px) {
  /* --- Navbar: collapsible mobile drawer --- */
  .navbar.navbar-default { min-height: 58px; margin-bottom: 24px; }
  .navbar-default .navbar-brand { height: 58px; font-size: 18px; }
  .navbar-default .navbar-toggle {
    display: block; margin: 12px 0; padding: 8px 10px;
    border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg-card);
  }
  .navbar-default .navbar-toggle .icon-bar { width: 20px; transition: all 0.25s var(--ease); }
  .navbar-default .navbar-toggle:not(.collapsed) .icon-bar:nth-child(2) { transform: rotate(45deg) translate(4px, 4px); }
  .navbar-default .navbar-toggle:not(.collapsed) .icon-bar:nth-child(3) { opacity: 0; }
  .navbar-default .navbar-toggle:not(.collapsed) .icon-bar:nth-child(4) { transform: rotate(-45deg) translate(4px, -4px); }

  .navbar-default .navbar-collapse {
    background: var(--bg-card); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
    margin: 6px 0 10px; padding: 10px; max-height: 78vh; overflow-y: auto;
  }
  .navbar-default .navbar-collapse.in { display: block !important; }
  .navbar-default .navbar-nav { margin: 0; }
  .navbar-default .navbar-nav > li > a { padding: 13px 14px !important; border-radius: var(--r-sm); }
  .navbar-default .navbar-nav > li.active > a { background: var(--gold-tint-10) !important; color: var(--gold) !important; }
  .navbar-default .navbar-nav > li.active > a::after {
    left: 0; right: auto; top: 9px; bottom: 9px; width: 3px; height: auto; border-radius: 3px;
  }
  .navbar-default .navbar-nav .navbar-icon { width: 22px; text-align: center; }
  .navbar-right-block { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
  .navbar .badge { display: inline-block; }
  .dropdown-currencies .dropdown-menu { position: static; float: none; box-shadow: none; border: none; padding: 4px 0; }

  /* --- Containers / spacing --- */
  .container, .container-fluid { padding-left: 16px; padding-right: 16px; }
  .col-md-offset-2, .col-md-offset-8 { margin-left: 0; }
  .well { padding: 18px 16px; margin-bottom: 18px; }

  /* --- Nav-pills (tabs + search) stack cleanly --- */
  .nav-pills { gap: 7px; }
  .nav-pills > li.pull-right.search,
  .nav-pills > li.pull-right { float: none !important; margin-left: 0; width: 100%; margin-top: 4px; }
  .nav-pills .search .form-control, .nav-pills .input-group { width: 100%; }
  .nav-pills .input-group { display: flex; }

  /* --- Buttons full width where it matters --- */
  .well > form > .btn-primary,
  .well > .btn-primary { width: 100%; }
  .cx-cta-row { flex-direction: column; align-items: stretch; }
  .cx-cta-row .btn, .cx-cta-row .cx-btn-ghost { width: 100%; justify-content: center; }

  /* --- Tables: comfortable touch rows, horizontal scroll --- */
  .table > thead > tr > th, .table > tbody > tr > td { padding: 13px 12px; font-size: 13.5px; }
  .table { min-width: 640px; }

  /* --- Modal fits viewport --- */
  .modal-dialog { margin: 14px; }

  /* --- Landing fine-tuning --- */
  .cx-landing { margin-top: -24px; }
  .cx-ribbon-track span, .cx-ribbon-track span b { gap: 26px; }
  .cx-hero { padding: 40px 0 36px; }
  .cx-auth { padding: 22px 18px; }
  .cx-bento { gap: 12px; }
  .cx-trust { gap: 9px; }
}

/* =====================================================================
   STAT TILE VISUALS — inline vector sparkline / bar chart + trend pill
   ===================================================================== */
.cx-tile-stat { justify-content: space-between; overflow: hidden; }
.cx-stat-body { display: flex; flex-direction: column; }
.cx-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cx-trend {
  font-size: 11px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap;
  padding: 3px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px;
  color: #5FE08A; background: rgba(52,199,89,0.12); border: 1px solid rgba(52,199,89,0.22);
}
.cx-trend i { font-size: 9px; }
.cx-spark-svg { display: block; width: 100%; height: 54px; margin-top: 16px; }

@media (max-width: 480px) {
  .cx-h1 { font-size: 32px; }
  .navbar-default .navbar-brand { font-size: 17px; }
  .lp-stat-num, .cx-stat-num { font-size: 30px; }
  .cx-eyebrow { font-size: 11px; padding: 6px 12px; }
  .cx-feat.is-tall .cx-feat-big-num { font-size: 46px; }
  .cx-cta h2 { font-size: 26px; }
  .pagination > li > a, .pagination > li > span { min-width: 36px; padding: 8px 10px; }
}

/* =====================================================================
   LOGIN CARD DECORATION — glow ring + floating credibility chips
   ===================================================================== */
.cx-auth-wrap { position: relative; }
.cx-auth-wrap .cx-auth { position: relative; z-index: 2; }
.cx-auth-ring {
  position: absolute; inset: -26px -22px; z-index: 0; pointer-events: none; border-radius: 28px;
  background:
    radial-gradient(60% 50% at 78% 12%, rgba(255,210,0,0.16), transparent 70%),
    radial-gradient(50% 50% at 10% 100%, rgba(255,255,255,0.05), transparent 70%);
  filter: blur(14px);
}
.cx-auth-ring::after {
  content: ""; position: absolute; inset: 8px; border-radius: 22px;
  border: 1px solid var(--gold-tint-06);
  -webkit-mask: linear-gradient(160deg, #000, transparent 60%);
  mask: linear-gradient(160deg, #000, transparent 60%);
}
.cx-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,26,30,0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-radius: 13px; padding: 9px 13px;
  font-size: 12.5px; font-weight: 700; color: var(--text); white-space: nowrap;
  box-shadow: var(--shadow-pop);
}
.cx-chip i { color: var(--gold); font-size: 13px; }
.cx-chip .cx-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52,199,89,0.5); animation: cx-blink 1.6s ease-out infinite; }
.cx-chip-1 { top: -20px; left: -26px; animation: cx-float 5s ease-in-out infinite; }
.cx-chip-2 { top: 50%; right: -36px; animation: cx-float 6s ease-in-out infinite 0.6s; }
.cx-chip-3 { bottom: -18px; right: -20px; animation: cx-float 5.4s ease-in-out infinite 1.1s; }
@keyframes cx-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 991px) {
  .cx-auth-ring, .cx-chip { display: none; }
}

/* =====================================================================
   CONTROL-PANEL SIDEBAR — turns the top navbar into a left rail (desktop)
   Applied only when <body class="has-sidebar"> (authenticated pages).
   ===================================================================== */
@media (min-width: 992px) {
  .has-sidebar { }
  .has-sidebar .navbar.navbar-default {
    position: fixed; top: 0; left: 0; bottom: 0; width: 252px; height: 100vh; margin: 0;
    z-index: 1030; border: none; border-right: 1px solid var(--line); border-radius: 0;
    background: rgba(12,12,13,0.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    overflow: hidden;
  }
  .has-sidebar .navbar.navbar-default > .container-fluid,
  .has-sidebar .navbar.navbar-default > .container {
    display: flex; flex-direction: column; height: 100%; width: 100%; padding: 0;
  }
  .has-sidebar .navbar-header { float: none; margin: 0; padding: 24px 20px 12px; }
  .has-sidebar .navbar-brand { float: none; display: inline-flex; align-items: center; height: auto; padding: 0; font-size: 20px; }
  .has-sidebar .navbar-toggle { display: none; }
  .has-sidebar .navbar-collapse {
    display: flex !important; flex-direction: column; flex: 1 1 auto;
    padding: 8px 12px 16px; margin: 0; border: none; box-shadow: none; background: none;
    overflow-y: auto; max-height: none;
  }
  .has-sidebar .navbar-nav { float: none; margin: 0; width: 100%; display: flex; flex-direction: column; gap: 3px; }
  .has-sidebar .navbar-nav > li { float: none; width: 100%; }
  .has-sidebar .navbar-nav > li > a {
    padding: 11px 13px !important; border-radius: 10px; color: var(--text-muted) !important;
    display: flex; align-items: center; font-weight: 600; font-size: 14px;
  }
  .has-sidebar .navbar-nav > li > a:hover { background: var(--bg-card); color: var(--text) !important; }
  .has-sidebar .navbar-nav > li.active > a { background: var(--gold-tint-10) !important; color: var(--gold) !important; }
  .has-sidebar .navbar-nav > li.active > a::after { left: 0; right: auto; top: 9px; bottom: 9px; width: 3px; height: auto; border-radius: 3px; }
  .has-sidebar .navbar-nav .navbar-icon { width: 22px; text-align: center; margin-right: 9px; opacity: 0.95; }
  .has-sidebar .navbar-right-block { margin-top: auto; border-top: 1px solid var(--line); padding-top: 10px; }
  .has-sidebar .navbar-right-block > li > a { padding: 11px 13px !important; border-radius: 10px; }
  .has-sidebar .dropdown-currencies > a { padding: 11px 13px; }
  .has-sidebar .navbar .badge { font-size: 13px; }
  .has-sidebar .dropdown-currencies .dropdown-menu { position: static; float: none; box-shadow: none; border: 1px solid var(--line); margin-top: 6px; }

  /* Push page content clear of the rail */
  .has-sidebar > .container,
  .has-sidebar > .container-fluid {
    margin-left: 252px !important; margin-right: 0 !important;
    width: auto !important; max-width: none !important;
    padding: 28px 30px 56px !important;
  }
}

/* =====================================================================
   ORDERS TABLE — keep long service names on one line (extend sideways),
   trim the oversized Link column so rows stay slim, not tall.
   ===================================================================== */
.orders-table th, .orders-table td { vertical-align: middle; }
/* Servis column (7th): one line, comfortable width */
.orders-table > thead > tr > th:nth-child(7),
.orders-table > tbody > tr > td:nth-child(7) {
  white-space: nowrap;
  min-width: 180px;
}
/* Link column (3rd, .width-40): cap it so it stops hogging the row */
.orders-table > thead > tr > th:nth-child(3),
.orders-table > tbody > tr > td:nth-child(3) {
  width: auto !important;
  min-width: 140px;
  max-width: 240px;
  word-break: break-word;
}

/* =====================================================================
   SIDEBAR MENU — bright white labels with a soft glow (active stays gold)
   ===================================================================== */
@media (min-width: 992px) {
  .has-sidebar .navbar-nav > li > a {
    color: #FFFFFF !important; font-weight: 600;
    text-shadow: 0 0 12px rgba(255,255,255,0.18);
  }
  .has-sidebar .navbar-nav > li > a:hover {
    color: #FFFFFF !important; background: var(--bg-card);
    text-shadow: 0 0 16px rgba(255,255,255,0.40);
  }
  .has-sidebar .navbar-nav > li.active > a {
    color: var(--gold) !important;
    text-shadow: 0 0 16px var(--gold-glow);
  }
  .has-sidebar .navbar-nav .navbar-icon { opacity: 1; }
}

/* =====================================================================
   SELECT FIELDS — selected/active item must be soft gray, NEVER white
   (covers native <option>, nice-select style, and generic listboxes)
   ===================================================================== */
select.form-control { color: var(--text-2) !important; }
select.form-control option { background-color: #161619 !important; color: var(--text-2) !important; }
select.form-control option:checked,
select.form-control option:hover {
  background: rgba(255, 210, 0, 0.16) !important;
  color: #C7C7CC !important;
}

/* nice-select / custom dropdown widgets */
.nice-select { color: var(--text-2) !important; background: var(--bg-input) !important; }
.nice-select .list { background: var(--bg-card) !important; border: 1px solid var(--line-strong) !important; }
.nice-select .option { color: var(--text-2) !important; background: transparent !important; }
.nice-select .option:hover,
.nice-select .option.focus {
  background: var(--gold-tint-10) !important; color: var(--text-2) !important;
}
.nice-select .option.selected,
.nice-select .option.selected.focus {
  background: var(--gold-tint-14) !important; color: var(--text-2) !important; font-weight: 700;
}

/* Generic listbox / dropdown selected states (best-effort for the panel widget) */
.dropdown-menu > li.selected > a,
.dropdown-menu [aria-selected="true"],
[role="listbox"] [aria-selected="true"],
[role="option"][aria-selected="true"],
.search-dropdown .selected, .search-dropdown .active,
[data-select] .selected, [data-select] .active {
  background: var(--gold-tint-10) !important;
  color: var(--text-2) !important;
}

/* =====================================================================
   SUPPORT TICKETS — message bubbles (viewticket)
   Bootstrap ships these as white boxes (#fff) → white-on-white text.
   Repaint as dark carbon bubbles so the conversation is readable.
   ===================================================================== */
.titcket-title {
  color: var(--text) !important;
  border-bottom: 1px solid var(--line) !important;
}

.ticket-message-left .ticket-message,
.ticket-message-right .ticket-message {
  background: var(--bg-card-2) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r) !important;
  color: var(--text) !important;
}

/* Differentiate the two sides: own messages get a soft gold tint */
.ticket-message-right .ticket-message {
  background: var(--gold-tint-06) !important;
  border-color: var(--gold-tint-14) !important;
}

.ticket-message,
.ticket-message .message,
.ticket-message p,
.ticket-message li,
.ticket-message blockquote,
.ticket-message span,
.ticket-message div {
  color: var(--text) !important;
}

.ticket-message a { color: var(--gold-soft) !important; }
.ticket-message a:hover { color: var(--gold) !important; }

.ticket-message blockquote {
  border-left: 3px solid var(--gold) !important;
  color: var(--text-2) !important;
}

.ticket-message hr { border-top: 1px solid var(--line) !important; }

/* Author / timestamp line under each bubble */
.ticket-message-block .info strong { color: var(--text-2) !important; }
.ticket-message-block .info .text-muted { color: var(--text-muted) !important; }

/* =====================================================================
   GUEST HEADER — logged-out navbar (body without .has-sidebar)
   The default flat links look cheap; turn them into clean pill links,
   a polished language dropdown, and a gold CTA on the last item (Sign up).
   ===================================================================== */
@media (min-width: 768px) {
  /* Vertically center the nav as buttons, not full-height tabs */
  body:not(.has-sidebar) .navbar-default .navbar-nav { padding: 12px 0; }
  body:not(.has-sidebar) .navbar-default .navbar-nav > li { margin-left: 4px; }

  body:not(.has-sidebar) .navbar-default .navbar-nav > li > a {
    padding: 9px 16px !important;
    border-radius: 999px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--text-2) !important;
    border: 1px solid transparent;
    transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
  }
  body:not(.has-sidebar) .navbar-default .navbar-nav > li > a:hover {
    color: var(--text) !important;
    background: var(--bg-card-2) !important;
    border-color: var(--line) !important;
  }

  /* Active item: soft gold wash pill (kill the underline used elsewhere) */
  body:not(.has-sidebar) .navbar-default .navbar-nav > li.active > a,
  body:not(.has-sidebar) .navbar-default .navbar-nav > li.active > a:hover,
  body:not(.has-sidebar) .navbar-default .navbar-nav > li.active > a:focus {
    color: var(--gold) !important;
    background: var(--gold-tint-10) !important;
    border-color: var(--gold-tint-14) !important;
  }
  body:not(.has-sidebar) .navbar-default .navbar-nav > li.active > a::after { display: none; }

  /* Primary CTA — last item on the right (typically Sign up / Register) */
  body:not(.has-sidebar) .navbar-right > li:last-child > a {
    background: var(--gold) !important;
    color: #0B0B0C !important;
    font-weight: 800 !important;
    border-color: var(--gold) !important;
    box-shadow: 0 6px 18px -8px var(--gold-glow);
  }
  body:not(.has-sidebar) .navbar-right > li:last-child > a:hover {
    background: var(--gold-soft) !important;
    color: #0B0B0C !important;
    border-color: var(--gold-soft) !important;
    transform: translateY(-1px);
  }
  /* If the CTA happens to be the active page, keep it solid gold (not washed) */
  body:not(.has-sidebar) .navbar-right > li:last-child.active > a {
    color: #0B0B0C !important;
    background: var(--gold) !important;
    border-color: var(--gold) !important;
  }

  /* Language dropdown toggle — match the pill links */
  body:not(.has-sidebar) .navbar-left-block .dropdown-toggle,
  body:not(.has-sidebar) .navbar-nav .dropdown > .dropdown-toggle {
    padding: 9px 14px !important;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--text-2) !important;
  }
  body:not(.has-sidebar) .navbar-nav .dropdown > .dropdown-toggle:hover {
    background: var(--bg-card-2) !important; color: var(--text) !important;
  }
}

/* =====================================================================
   NEW-ORDER STAT CARDS — current balance / total spend / membership tier
   ===================================================================== */
.no-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.no-stat {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 20px; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.no-stat:hover { border-color: var(--gold-tint-14); transform: translateY(-3px); }
.no-stat-ic {
  width: 46px; height: 46px; flex: none; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  color: var(--gold); background: var(--gold-tint-10); border: 1px solid var(--gold-tint-14);
}
.no-stat-meta { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.no-stat-label { display: block; font-size: 12.5px; color: var(--text-muted); font-weight: 600; }
.no-stat-value { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-top: 2px; line-height: 1.2; }
.no-stat-value.gold { color: var(--gold); }
.no-stat-badge {
  display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 800;
  color: var(--gold); background: var(--gold-tint-10); border: 1px solid var(--gold-tint-14);
  padding: 3px 12px; border-radius: 999px;
}

/* Üye seviyesi rozet renkleri (harcamaya göre) */
.no-stat-badge.tier-standard {
  color: var(--text-2); background: rgba(255,255,255,0.05); border-color: var(--line-strong);
}
.no-stat-badge.tier-bronze {
  color: #E8A15C; background: rgba(205,127,50,0.12); border-color: rgba(205,127,50,0.30);
}
.no-stat-badge.tier-silver {
  color: #D6DAE0; background: rgba(192,197,206,0.12); border-color: rgba(192,197,206,0.30);
}
.no-stat-badge.tier-gold {
  color: var(--gold); background: var(--gold-tint-10); border-color: var(--gold-tint-14);
}
.no-stat-badge.tier-diamond {
  color: #7FE3E0; background: rgba(94,200,250,0.12); border-color: rgba(94,200,250,0.32);
}
.no-stat-badge.tier-corporate {
  color: #C9B6FF; background: rgba(150,120,255,0.14); border-color: rgba(150,120,255,0.34);
}

/* "Seviye Bilgi" butonu — rozetin altında (sol kenardan rozetle hizalı) */
.tier-info-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; font-size: 12px; font-weight: 800;
  color: #0B0B0C !important; text-decoration: none !important;
  padding: 5px 13px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  border: 1px solid var(--gold);
  box-shadow: 0 5px 16px -7px var(--gold-glow);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), filter 0.16s var(--ease);
}
.tier-info-btn i { font-size: 11px; }
.tier-info-btn:hover {
  color: #0B0B0C !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -8px var(--gold-glow);
  filter: brightness(1.06);
}
@media (max-width: 767px) { .no-stats { grid-template-columns: 1fr; } }

/* =====================================================================
   GLOBAL GUEST FOOTER (site-footer) — every logged-out page
   Carbon surface, obsidian top line, gold-on-hover links.
   ===================================================================== */
.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.012), transparent);
  padding: 48px 0 36px;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

/* Brand column */
.site-footer-brand .sf-brand {
  display: inline-flex; align-items: center;
  font-size: 20px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--text) !important; text-decoration: none;
}
.site-footer-brand .sf-brand span { color: var(--gold); }
.site-footer-brand .sf-brand img { max-height: 34px; width: auto; }
.sf-tagline {
  color: var(--text-muted); font-size: 13.5px; line-height: 1.6;
  margin: 14px 0 18px; max-width: 320px;
}
.sf-pay { display: flex; gap: 12px; align-items: center; color: var(--text-faint); font-size: 24px; }
.sf-pay i { transition: color 0.18s var(--ease); }
.sf-pay i:hover { color: var(--text-2); }

/* Link columns */
.site-footer-col h6 {
  color: var(--text); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 4px 0 16px;
}
.site-footer-col ul { list-style: none; padding: 0; margin: 0; }
.site-footer-col li { margin-bottom: 11px; }
.site-footer-col a {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: color 0.16s var(--ease);
}
.site-footer-col a:hover { color: var(--gold); }

/* Bottom bar */
.site-footer-bottom {
  margin-top: 38px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.sf-copy { color: var(--text-faint); font-size: 12.5px; }

@media (max-width: 991px) {
  .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer-brand { grid-column: span 2; }
}
@media (max-width: 575px) {
  .site-footer { padding: 36px 0 28px; margin-top: 40px; }
  .site-footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer-brand { grid-column: span 1; }
}

/* RTL alignment */
.rtl-content.site-footer .sf-tagline { margin-left: auto; }
