/* ==========================================================================
   TeleMT — Sleek Dark Mode & Glassmorphism Cyber-Telemetry Design System
   Spatial Depth • Frosted Glass • Neon Luminescence • 100% Strict English
   ========================================================================== */

:root {
  /* Canvas & Obsidian Surfaces */
  --bg-page: #080c14;
  --bg-canvas: #0b0f19;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(18, 28, 51, 0.85);
  --bg-subtle: rgba(255, 255, 255, 0.04);
  --bg-subtle-hover: rgba(255, 255, 255, 0.08);
  --bg-nav: rgba(11, 15, 25, 0.85);
  --bg-dropdown: rgba(13, 19, 33, 0.95);
  --bg-input: rgba(15, 23, 42, 0.7);
  --bg-input-focus: rgba(18, 28, 51, 0.95);

  /* Glassmorphism Borders */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-highlight: rgba(255, 255, 255, 0.15);
  --border-focus: #38bdf8;
  --border-glow-cyan: rgba(56, 189, 248, 0.45);
  --border-glow-violet: rgba(168, 85, 247, 0.4);

  /* High Contrast Typography */
  --text-dark: #f8fafc;
  --text-heading: #ffffff;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Neon & Cyber Accents */
  --primary-blue: #38bdf8;
  --primary-blue-hover: #0284c7;
  --primary-blue-subtle: rgba(56, 189, 248, 0.1);
  --primary-blue-border: rgba(56, 189, 248, 0.28);

  --badge-ad-bg: rgba(56, 189, 248, 0.12);
  --badge-ad-text: #38bdf8;
  --badge-ad-border: rgba(56, 189, 248, 0.3);

  --green-status: #10b981;
  --amber-status: #f59e0b;
  --purple-status: #a855f7;
  --rose-status: #f43f5e;

  /* Modern Typography Stack */
  --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spatial Elevation & Glow Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 8px 24px -4px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-card-hover: 0 18px 40px -6px rgba(0, 0, 0, 0.75), 0 0 24px -2px rgba(56, 189, 248, 0.2), 0 0 0 1px rgba(56, 189, 248, 0.35);
  --shadow-dropdown: 0 24px 50px -10px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1);
  --shadow-glow-cyan: 0 0 20px -2px rgba(56, 189, 248, 0.35);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-page);
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.12), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(168, 85, 247, 0.07), transparent 70%),
    radial-gradient(ellipse 40% 30% at 10% 70%, rgba(16, 185, 129, 0.05), transparent 70%);
  background-attachment: fixed;
  color: var(--text-body);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Custom Cyber Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(11, 15, 25, 0.5);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.4);
}

/* ================= TOP ANNOUNCEMENT / LIVE BAR ================= */
.top-notice-bar {
  background: rgba(8, 12, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 7px 24px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 105;
  position: relative;
}

.notice-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-left strong {
  color: var(--text-dark);
  font-weight: 600;
}

.notice-chip-ton {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.28);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.notice-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.15s;
}

.notice-item:hover {
  color: var(--primary-blue);
}

/* ================= MAIN FROSTED NAVBAR ================= */
.tele-navbar {
  height: 64px;
  background: var(--bg-nav);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-left-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tele-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

/* TeleMT Neon Bars */
.tele-logo-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.logo-bar {
  width: 4px;
  border-radius: 2px;
  box-shadow: 0 0 10px currentColor;
}
.bar-1 { height: 12px; background: #fbbf24; color: #fbbf24; }
.bar-2 { height: 21px; background: #38bdf8; color: #38bdf8; }
.bar-3 { height: 15px; background: #a855f7; color: #a855f7; }

.tele-logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.tele-logo-text span {
  color: var(--primary-blue);
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.logo-sub-badge {
  font-size: 10px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue-border);
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav Menu Links */
.tele-menu-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tele-nav-btn {
  background: transparent;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-body);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
  font-family: inherit;
}

.tele-nav-btn:hover {
  background: var(--bg-subtle-hover);
  color: #ffffff;
  border-color: var(--border-light);
}

.tele-nav-btn.active {
  font-weight: 700;
  color: var(--primary-blue);
  background: var(--primary-blue-subtle);
  border-color: var(--primary-blue-border);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.15);
}

.btn-chevron {
  font-size: 9px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

/* Header Right Group */
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 7px 14px;
  width: 220px;
  transition: all 0.2s;
}

.header-search-box:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  width: 250px;
  background: var(--bg-input-focus);
}

.header-search-box svg {
  color: var(--text-muted);
}

.header-search-box input {
  background: none;
  border: none;
  outline: none;
  font-size: 13px;
  color: #ffffff;
  width: 100%;
  font-family: inherit;
}

.header-search-box input::placeholder {
  color: var(--text-dim);
}

/* Live Refresh Glowing Button */
.btn-update-upgrade {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.35);
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.btn-update-upgrade:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.55);
  transform: translateY(-1px);
}

.user-account-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.user-avatar-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #ffffff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}

/* ================= FROSTED TOOLS DROPDOWN ================= */
.tele-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tele-tools-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  width: 310px;
  background: var(--bg-dropdown);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dropdown);
  display: none;
  padding: 16px;
  z-index: 500;
  animation: teleMenuFadeIn 0.16s ease-out;
}

/* Invisible hover bridge */
.tele-tools-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -8px;
  right: -8px;
  height: 18px;
  background: transparent;
  pointer-events: auto;
}

.tele-dropdown-wrap:hover .tele-tools-menu,
.tele-dropdown-wrap.open .tele-tools-menu,
.tele-dropdown-wrap:focus-within .tele-tools-menu {
  display: block;
}

.tele-dropdown-wrap:hover .btn-chevron,
.tele-dropdown-wrap.open .btn-chevron {
  transform: rotate(180deg);
  color: var(--primary-blue);
}

@keyframes teleMenuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.menu-col-header {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-item-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-body);
  transition: all 0.15s ease;
  margin-bottom: 3px;
  border: 1px solid transparent;
}

.menu-item-row:hover {
  background: var(--bg-subtle-hover);
  border-color: var(--border-light);
  color: #ffffff;
}

.menu-item-row.active {
  background: var(--primary-blue-subtle);
  border-color: var(--primary-blue-border);
  color: #ffffff;
}

.menu-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 1px solid transparent;
}

.icon-blue-bg { background: rgba(56, 189, 248, 0.14); color: #38bdf8; border-color: rgba(56, 189, 248, 0.25); }
.icon-cyan-bg { background: rgba(6, 182, 212, 0.14); color: #06b6d4; border-color: rgba(6, 182, 212, 0.25); }
.icon-green-bg { background: rgba(16, 185, 129, 0.14); color: #10b981; border-color: rgba(16, 185, 129, 0.25); }
.icon-amber-bg { background: rgba(245, 158, 11, 0.14); color: #f59e0b; border-color: rgba(245, 158, 11, 0.25); }

.menu-text-wrap {
  display: flex;
  flex-direction: column;
}

.menu-title-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-desc-text {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.badge-tag-beta {
  font-size: 9px;
  font-weight: 800;
  color: #06b6d4;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 1px 5px;
  border-radius: 4px;
}

/* ================= SUB-HEADER HERO & TABS ================= */
.page-title-banner {
  padding: 24px 28px 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.title-header-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.main-page-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.main-page-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ================= TOP TABS BAR (PRO MAX SLEEK VECTOR TABS) ================= */
.tele-tabs-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  padding-bottom: 0;
}

.tele-tab-btn {
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 10px 16px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 8px 8px 0 0;
}

.tele-tab-btn .tab-svg {
  color: #64748b;
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.tele-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.tele-tab-btn:hover .tab-svg {
  color: #38bdf8;
  transform: translateY(-1px);
}

.tele-tab-btn.active {
  color: #ffffff;
  font-weight: 800;
  background: rgba(56, 189, 248, 0.08);
}

.tele-tab-btn.active .tab-svg {
  color: #38bdf8;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
}

.tele-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: #38bdf8;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 12px #38bdf8;
}

/* ================= TARGET MARKET COUNTRY STRIP (VECTOR FLAGS) ================= */
.country-filter-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  border-bottom: 1px solid var(--border-subtle);
}

.country-strip-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.06em;
  margin-right: 4px;
}

.country-pill-btn {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.country-pill-btn:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(56, 189, 248, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

.country-pill-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(37, 99, 235, 0.28) 100%);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.pill-flag-svg {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* Vector Country Flags */
.flag-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
  flex-shrink: 0;
}

.flag-vector-svg {
  border-radius: 2.5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Sleek Flag Badges for Table & Cards */
.sleek-flag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  vertical-align: middle;
}

.sleek-flag-pill:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
  transform: scale(1.05);
}

.sleek-flag-pill:hover {
  transform: scale(1.22);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

/* Category Filter Strip inside Channels Catalog */
.channel-category-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.channel-cat-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
  font-family: inherit;
}

.channel-cat-pill:hover {
  background: var(--bg-subtle-hover);
  border-color: var(--border-highlight);
  color: #ffffff;
}

.channel-cat-pill.active {
  background: var(--primary-blue-subtle);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
  font-weight: 700;
}

.channel-cat-pill .count-badge {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.channel-cat-pill.active .count-badge {
  background: rgba(56, 189, 248, 0.2);
  color: var(--primary-blue);
}

/* ================= 2-COLUMN MAIN WORKSPACE ================= */
.tele-workspace {
  display: flex;
  min-height: calc(100vh - 200px);
}

/* Left Filter Column (Frosted Glass Panel) */
.tele-filter-col {
  width: 280px;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid var(--border-light);
  padding: 22px 20px;
  flex-shrink: 0;
}

.filter-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.filter-heading-text {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.btn-clear-filter {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.15s;
}

.btn-clear-filter:hover {
  color: var(--primary-blue);
}

.filter-block {
  margin-bottom: 18px;
}

.filter-title-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.tele-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.tele-input-icon {
  position: absolute;
  left: 12px;
  color: var(--text-dim);
  font-size: 13px;
  pointer-events: none;
}

.tele-form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  font-size: 12.5px;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}

.tele-form-control.has-icon {
  padding-left: 34px;
}

.tele-form-control:focus {
  background: var(--bg-input-focus);
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

select.tele-form-control {
  cursor: pointer;
}

select.tele-form-control option {
  background: #0f172a;
  color: #ffffff;
}

/* Fast Channel Auditor Box */
.fast-auditor-box {
  margin-top: 24px;
  padding: 16px;
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.fast-auditor-title {
  color: var(--primary-blue);
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.fast-auditor-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

/* ================= RIGHT FEED AREA ================= */
.tele-feed-col {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 24px 32px 100px;
  overflow-y: auto;
}

/* Results Top Tool Bar */
.feed-top-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.results-count-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
}

.results-count-text strong {
  color: #ffffff;
  font-weight: 800;
}

.toolbar-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-dropdown-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.btn-black-export {
  background: var(--bg-subtle-hover);
  color: #ffffff;
  border: 1px solid var(--border-light);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
  font-family: inherit;
}

.btn-black-export:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--border-highlight);
  transform: translateY(-1px);
}

/* ================= CREATIVES GRID & GLASS CARDS ================= */
.tele-creatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}

.tele-card {
  background: linear-gradient(180deg, rgba(17, 26, 46, 0.75) 0%, rgba(11, 18, 33, 0.85) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.tele-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.8), 0 0 30px -4px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(22, 34, 62, 0.85) 0%, rgba(14, 22, 40, 0.95) 100%);
}

/* Card Header: Publisher Channel & Bookmark */
.tele-card-header {
  padding: 13px 16px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pub-profile-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.pub-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.pub-meta-col {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pub-channel-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pub-subscribers-count {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

.btn-card-heart {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-dim);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-card-heart:hover, .btn-card-heart.saved {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.12);
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.3);
}

/* Card Visual Media */
.tele-card-media {
  position: relative;
  width: 100%;
  height: 195px;
  background: #080d1a;
  overflow: hidden;
  cursor: pointer;
}

.tele-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tele-card:hover .tele-media-img {
  transform: scale(1.04);
}

.tele-media-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 16, 29, 0.85) 100%);
  pointer-events: none;
}

.tele-media-type-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(11, 17, 32, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.tele-country-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Card Content Body */
.tele-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Text Dispatch Strip (Zero Slop Text Ads) */
.text-dispatch-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.badge-format-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.badge-format-text.badge-ton {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
}

.badge-format-text .diamond-icon {
  font-size: 13px;
}

/* Telegram Editorial Message Bubble */
.tele-telegram-bubble {
  background: rgba(15, 23, 42, 0.7);
  border-left: 3px solid #38bdf8;
  border-radius: 4px 10px 10px 4px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #cbd5e1;
  max-height: 96px;
  overflow-y: auto;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
  word-break: break-word;
  white-space: normal;
}

.tele-telegram-bubble:hover {
  background: rgba(22, 34, 62, 0.85);
  border-left-color: #60a5fa;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.bubble-text-content {
  margin: 0;
  padding: 0;
  white-space: pre-wrap;
  display: block;
}

.tg-highlight-user {
  color: #38bdf8;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.1);
  padding: 1px 4px;
  border-radius: 4px;
}

.tg-highlight-link {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* "Ad" Badge & Advertiser Row */
.ad-advertiser-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.adv-identity-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
}

.badge-tele-ad {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.28);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.advertiser-title-bold {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge-duplicate-ads {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.15);
}

/* Card Action Bar */
.card-action-bar {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 12px;
}

.btn-action-inspect {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-action-inspect:hover {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.55);
  transform: translateY(-1px);
}

.btn-action-target {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-action-target:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: #60a5fa;
  color: #60a5fa;
  transform: translateY(-1px);
}

/* Card Footer Meta */
.tele-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
}

.footer-metrics-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.metric-item svg {
  color: var(--text-dim);
}

/* ================= CHANNELS & BOTS DATA TABLES (PRO CYBER GRID) ================= */
.tele-table-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
  overflow-y: hidden;
}

.tele-table,
.tele-data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.tele-table th,
.tele-data-table th {
  background: rgba(13, 20, 36, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-light);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.tele-table td,
.tele-data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
  color: var(--text-body);
}

.table-data-row {
  transition: background 0.15s ease;
}

.table-data-row:hover td {
  background: rgba(56, 189, 248, 0.045);
}

.col-rank {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  width: 44px;
  text-align: center;
}

.table-channel-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 280px;
}

.table-channel-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.table-channel-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.table-channel-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.verified-icon {
  color: #38bdf8;
  font-size: 12px;
  font-weight: 800;
}

.bot-indicator-badge {
  font-size: 9.5px;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.table-channel-subrow {
  font-size: 11.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.table-channel-handle {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
}

.table-channel-handle:hover {
  text-decoration: underline;
}

.table-category-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid;
  display: inline-block;
  white-space: nowrap;
}

.cat-amber {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.cat-green {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.cat-purple {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c084fc;
}

.cat-blue {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.table-metric-wrap {
  display: flex;
  flex-direction: column;
}

.table-metric-value {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
}

.table-metric-value.text-cyan {
  color: #38bdf8;
}

.table-metric-value.text-green {
  color: #34d399;
}

.table-metric-sub {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 1px;
}

.quality-cell-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quality-badge-v2 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  width: fit-content;
}

.quality-badge-v2.q-high {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.12);
}

.quality-badge-v2.q-good {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.12);
}

.quality-badge-v2.q-med {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.quality-badge-v2.q-low {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fb7185;
}

.q-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  flex-shrink: 0;
}

.q-badge-label {
  font-weight: 500;
  font-size: 10.5px;
  opacity: 0.85;
  margin-left: 2px;
}

.er-micro-track {
  width: 90px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.er-micro-fill {
  height: 100%;
  border-radius: 2px;
}

.er-micro-fill.q-high {
  background: #34d399;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.er-micro-fill.q-good {
  background: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.6);
}

.er-micro-fill.q-med {
  background: #fbbf24;
}

.er-micro-fill.q-low {
  background: #fb7185;
}

.table-action-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-table-inspect {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-table-inspect:hover {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
  transform: translateY(-1px);
}

.btn-table-ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-table-ext:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: #60a5fa;
  color: #60a5fa;
  transform: translateY(-1px);
}

.btn-table-bot-link {
  width: auto;
  padding: 6px 10px;
  gap: 4px;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  font-size: 11px;
}

.btn-table-bot-link:hover {
  background: #10b981;
  color: #080c14;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

/* Sidebar Segmented Control Pills */
.filter-segmented-pill-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
  gap: 4px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 3px;
}

.filter-seg-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
  font-family: inherit;
}

.filter-seg-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.filter-seg-btn.active {
  background: rgba(56, 189, 248, 0.22);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

/* Fast Channel Auditor Widget */
.fast-auditor-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 138, 0.25) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 14px;
  margin-top: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.fast-auditor-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.auditor-radar-icon {
  font-size: 17px;
  filter: drop-shadow(0 0 6px #38bdf8);
}

.fast-auditor-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.02em;
}

.fast-auditor-desc {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.35;
  margin-top: 1px;
}

.auditor-input-row {
  display: flex;
  gap: 6px;
}

.auditor-input {
  flex: 1;
  padding: 7px 10px;
  font-size: 11.5px;
  border-radius: 7px;
}

.btn-auditor-scan {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #38bdf8;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-auditor-scan:hover {
  background: #38bdf8;
  color: #080c14;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

/* ================= BOTTOM FLOATING AI PILL ================= */
.tele-floating-ai-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 19, 33, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.8), 0 0 24px rgba(56, 189, 248, 0.25);
  border-radius: 30px;
  padding: 9px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 90;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tele-floating-ai-bar:hover {
  transform: translateX(-50%) translateY(-2px);
  border-color: #38bdf8;
  box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.9), 0 0 35px rgba(56, 189, 248, 0.45);
}

.floating-ai-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-shortcut-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

/* ================= FROSTED MODAL ================= */
.channel-modal-card {
  background: rgba(13, 19, 33, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-highlight);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  padding: 28px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(56, 189, 248, 0.18);
  position: relative;
  animation: modalScaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-stat-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-light);
  padding: 14px;
  border-radius: var(--radius-md);
}

/* Responsive */
@media (max-width: 900px) {
  .tele-workspace { flex-direction: column; }
  .tele-filter-col { width: 100%; border-right: none; border-bottom: 1px solid var(--border-light); }
  .tele-feed-col { padding: 20px 16px 80px; }
}

/* ================= AUTO-SPIDER CRAWLER UI ================= */
.btn-spider-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.12);
}

.btn-spider-status:hover {
  background: rgba(14, 165, 233, 0.22);
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.25);
}

.spider-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.spider-channel-tag {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 8px;
  border-radius: 6px;
  color: #a5f3fc;
  font-family: var(--font-mono);
  font-size: 11px;
}

.spider-modal-box {
  background: rgba(11, 15, 25, 0.98);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  width: 100%;
  max-width: 780px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(14, 165, 233, 0.2);
  display: flex;
  flex-direction: column;
  animation: modalScaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.spider-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.spider-trio-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.spider-trio-card.is-running {
  border-color: rgba(16, 185, 129, 0.38);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.08);
}

.spider-trio-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.spider-trio-head > div {
  min-width: 0;
}

.spider-trio-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 4px;
}

.spider-mode-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 1px 7px;
  border-radius: 999px;
  font-family: var(--font-mono);
}

.spider-pill-state {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: #94a3b8;
  white-space: nowrap;
}

.spider-pill-state.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.spider-trio-meta {
  font-size: 11.5px;
  color: #cbd5e1;
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spider-trio-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.spider-trio-sub {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-spider-trio {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-spider-trio:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
}

.btn-spider-trio.active-resume {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.btn-spider-trio.active-resume:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
}

.spider-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.spider-stat-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spider-stat-card .stat-num {
  font-size: 20px;
  font-weight: 800;
  color: #f8fafc;
  font-family: var(--font-mono);
}

.spider-stat-card .stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spider-stat-card.highlight-cyan .stat-num { color: #38bdf8; }
.spider-stat-card.highlight-green .stat-num { color: #10b981; }

.spider-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.spider-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-wrap: wrap;
}

.spider-engine-status {
  font-size: 13px;
  font-weight: 600;
  color: #10b981;
  min-width: 0;
  overflow-wrap: anywhere;
}

.btn-spider-toggle {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-spider-toggle:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
}

.btn-spider-toggle.active-resume {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.spider-seed-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 240px;
  min-width: 0;
  max-width: 320px;
}

.spider-seed-form input {
  flex: 1;
  min-width: 0;
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  color: #f8fafc;
  outline: none;
}

.spider-seed-form input:focus {
  border-color: #38bdf8;
}

.btn-spider-seed {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  border: none;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.spider-terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.terminal-pulse {
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
}

.spider-terminal {
  background: #020617;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px;
  height: 200px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spider-terminal .log-row {
  display: flex;
  gap: 8px;
  min-width: 0;
  align-items: flex-start;
}

.spider-terminal .log-time {
  color: #475569;
  flex-shrink: 0;
}

.spider-terminal .log-msg {
  color: #38bdf8;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.spider-terminal .log-msg.error {
  color: #f87171;
}

.spider-terminal .log-src-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 0 5px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  flex-shrink: 0;
}

.spider-terminal .log-src-tag.s2 {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.spider-terminal .log-src-tag.s3 {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}

@media (max-width: 720px) {
  .spider-trio-grid {
    grid-template-columns: 1fr;
  }
  .spider-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spider-controls-row {
    flex-direction: column;
    align-items: stretch;
  }
  .spider-seed-form {
    max-width: none;
  }
}

/* ================= TOP ADVERTISERS POSTS & MODAL ================= */
.adv-card-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 14px;
}

.adv-card-actions .btn-adv-view-posts {
  flex: 1;
  min-width: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.adv-card-actions .btn-adv-view-posts:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
  transform: translateY(-1px);
}

.adv-card-actions .btn-adv-view-posts:active {
  transform: translateY(0);
}

.btn-adv-ext-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-adv-ext-link:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #38bdf8;
}

.adv-posts-modal-card {
  background: rgba(13, 19, 33, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-highlight);
  border-radius: 20px;
  width: 100%;
  max-width: 780px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.88), 0 0 32px rgba(56, 189, 248, 0.18);
  position: relative;
  animation: modalScaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.adv-posts-modal-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.adv-posts-header {
  padding: 22px 44px 16px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.adv-posts-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.adv-posts-actions-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.adv-modal-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.adv-modal-pill-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
}

.adv-modal-pill-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-light);
  color: var(--text-body);
}

.adv-modal-pill-btn.secondary:hover,
.adv-modal-pill-btn.secondary.active {
  background: rgba(56, 189, 248, 0.16);
  border-color: #38bdf8;
  color: #ffffff;
}

.adv-posts-scroll {
  padding: 18px 24px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

.adv-post-item {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.adv-post-pub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.adv-post-pub-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.adv-post-pub-btn {
  background: none;
  border: none;
  padding: 0;
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.adv-post-pub-btn:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.adv-post-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-body);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 12px;
  max-height: 220px;
  overflow-y: auto;
}

.adv-post-media-img {
  max-height: 210px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.adv-post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .adv-posts-header {
    padding: 18px 40px 14px 16px;
  }
  .adv-posts-scroll {
    padding: 14px 16px 20px;
  }
}

.export-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-excel-primary {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.42);
  color: #34d399;
}

.btn-excel-primary:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: #10b981;
  color: #ffffff;
}

.feed-load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 20px 40px;
}

.btn-load-more-creatives {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(37, 99, 235, 0.25));
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-load-more-creatives:hover:not(:disabled) {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn-load-more-creatives:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.feed-progress-text {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-unique-toggle {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-unique-toggle:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38bdf8;
  color: #ffffff;
}

.btn-unique-toggle.active {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}

.badge-duplicate-ads {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}

.badge-duplicate-ads:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: #f59e0b;
}

.creative-modal-card {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  background: #0b1322;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(56, 189, 248, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.creative-modal-body {
  overflow-y: auto;
  padding: 24px;
}






/* ==================== AUTHENTICATION GATE & USER PROFILE ==================== */
.auth-gate-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #0b1322;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 18px;
  padding: 34px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(56, 189, 248, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  animation: authFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.auth-brand-name {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.auth-tagline {
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.auth-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-error-box {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-toggle-pw {
  background: none;
  border: none;
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.btn-toggle-pw:hover {
  text-decoration: underline;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.auth-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  color: #ffffff;
  padding: 11px 14px 11px 40px;
  font-size: 13.5px;
  transition: all 0.2s ease;
}

.auth-input:focus {
  outline: none;
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

.auth-row-remember {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-auth-submit {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border: 1px solid #38bdf8;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  margin-top: 4px;
}

.btn-auth-submit:hover {
  background: linear-gradient(135deg, #0369a1, #1d4ed8);
  box-shadow: 0 6px 25px rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

.btn-auth-submit:active {
  transform: translateY(0);
}

.auth-footer-notice {
  text-align: center;
  margin-top: 20px;
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* User Account Dropdown in Header */
.user-account-dropdown-wrap {
  position: relative;
}

.user-account-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  color: var(--text-dark);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-account-badge:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
}

.plan-pill-tag {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.user-dropdown-card {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 250px;
  background: #0b1322;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  z-index: 1000;
  animation: authFadeIn 0.15s ease-out;
}

.user-dropdown-header {
  padding: 2px 4px 6px;
}

.user-menu-tier-pill {
  display: inline-block;
  margin-top: 6px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.user-dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 8px 0 10px;
}

.user-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: none;
  border: none;
  border-radius: 6px;
  color: #f87171;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.user-dropdown-item:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
