/* ═══════════════════════════════════════════════════════════════
   FLOW STUDIO — CREATOR OS LUXURY DARK THEME DESIGN SYSTEM
   Standard: 1:1 ChatGPT Masterpiece (Pure Obsidian Black & Electric Blue)
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Google Symbols';
  font-style: normal;
  font-weight: 100 700;
  src: url('/assets/GoogleSymbols.woff2') format('woff2');
  font-display: block;
}

.material-symbols-rounded,
.google-symbols {
  font-family: 'Google Symbols', 'Material Symbols Rounded', 'Material Icons', sans-serif;
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-display: block;
  width: 1em;
  height: 1em;
  overflow: hidden;
  vertical-align: middle;
  user-select: none;
}

:root {
  --bg-main: #08090C;
  --bg-sidebar: #0B0D13;
  --bg-card: rgba(14, 17, 25, 0.75);
  --bg-card-hover: rgba(20, 24, 36, 0.88);
  --bg-input: rgba(255, 255, 255, 0.04);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(6, 182, 212, 0.35);
  --border-active: rgba(6, 182, 212, 0.65);

  /* STRICT PURE ELECTRIC BLUE & NEON CYAN PALETTE (NO PURPLE) */
  --accent-cyan: #06B6D4;
  --accent-cyan-light: #22D3EE;
  --accent-blue: #0284C7;
  --accent-blue-light: #38BDF8;
  --accent-sapphire: #0369A1;
  --accent-emerald: #10B981;
  --accent-rose: #F43F5E;
  --accent-amber: #F59E0B;

  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --font-sans: "Google Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  --shadow-cyan-glow: 0 0 35px -5px rgba(6, 182, 212, 0.45);
  --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.65);
}

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

body.studio-app-body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere Mesh Glows: Pure Electric Blue & Ice Cyan */
.mesh-glow-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  animation: floatAtmosphere 24s infinite alternate ease-in-out;
}

.mesh-orb-1 {
  top: -10%;
  left: 15%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #0284C7 0%, transparent 70%);
}

.mesh-orb-2 {
  top: 35%;
  right: -5%;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, #06B6D4 0%, transparent 70%);
  animation-delay: -8s;
}

.mesh-orb-3 {
  bottom: -15%;
  left: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0369A1 0%, transparent 70%);
  animation-delay: -16s;
}

@keyframes floatAtmosphere {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.05); }
  100% { transform: translate(-30px, -40px) scale(0.96); }
}

/* ═══════════════════════════════════════════════════════════════
   APP LAYOUT (SIDEBAR + MAIN STAGE)
   ═══════════════════════════════════════════════════════════════ */
.app-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   1. LEFT SIDEBAR NAVIGATION (1:1 CHATGPT MOCKUP)
   ═══════════════════════════════════════════════════════════════ */
.app-sidebar {
  width: 250px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-brand-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 0 8px;
}

.sidebar-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-x-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284C7 0%, #06B6D4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.55);
}

.x-glyph {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: -1px;
}

.brand-label {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.sidebar-close-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
}

/* Sidebar Menu List */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
}

.sidebar-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-item-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item-btn .nav-icon {
  font-size: 20px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-item-btn .nav-external-icon {
  font-size: 16px;
  margin-left: auto;
  opacity: 0.6;
}

.nav-item-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.nav-item-btn:hover .nav-icon {
  color: var(--accent-cyan);
}

/* Active Menu Item — Iconic Glowing Electric Cyan Pill */
.nav-item-btn.active {
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.3) 0%, rgba(6, 182, 212, 0.22) 100%);
  color: #FFFFFF;
  font-weight: 600;
  border: 1px solid rgba(6, 182, 212, 0.45);
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.22), inset 0 0 12px rgba(6, 182, 212, 0.15);
}

.nav-item-btn.active .nav-icon {
  color: #38BDF8;
}

/* Bottom Upgrade Card in Sidebar (Compact Low-Profile) */
.sidebar-promo-card {
  margin-top: auto;
  background: linear-gradient(180deg, rgba(2, 132, 199, 0.16) 0%, rgba(14, 17, 25, 0.9) 100%);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(6, 182, 212, 0.1);
}

.sidebar-promo-card.compact {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  margin-top: auto;
}

.promo-header-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.promo-gem-icon {
  font-size: 16px;
  color: var(--accent-cyan);
}

.sidebar-promo-card.compact .promo-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
}

.sidebar-promo-card.compact .promo-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.25;
  margin-bottom: 8px;
}

.sidebar-promo-card.compact .btn-sidebar-upgrade {
  padding: 6px 10px;
  font-size: 0.76rem;
  border-radius: var(--radius-sm);
}

.promo-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.promo-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.promo-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 14px;
}

.btn-sidebar-upgrade {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  background: linear-gradient(135deg, #0284C7 0%, #06B6D4 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
  transition: all 0.2s;
}

.btn-sidebar-upgrade:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.5);
}

/* ═══════════════════════════════════════════════════════════════
   2. MAIN CONTENT & TOPBAR
   ═══════════════════════════════════════════════════════════════ */
.app-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 32px 60px;
}

/* Topbar */
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.topbar-left-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-workspace-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #E2E8F0;
  letter-spacing: 0.01em;
}

.workspace-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.btn-sidebar-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Search Bar (1:1 with mockup: Search videos, templates... Ctrl+K) */
.topbar-search-box {
  flex: 1;
  max-width: 580px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 17, 25, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  transition: all 0.2s ease;
}

.topbar-search-box:focus-within {
  border-color: var(--border-glow);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.25);
  background: rgba(20, 24, 36, 0.95);
}

.topbar-search-box .search-icon {
  font-size: 18px;
  color: var(--text-muted);
}

.topbar-search-box .search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
}

.topbar-search-box .search-input::placeholder {
  color: var(--text-muted);
}

.search-shortcut {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

/* Topbar Right Actions */
.topbar-right-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-topbar-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-topbar-icon:hover {
  color: #fff;
  border-color: var(--border-glow);
  background: rgba(255, 255, 255, 0.08);
}

.notification-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* Guest Buttons */
.guest-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-topbar-signin {
  padding: 8px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-topbar-signin:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-topbar-signup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0284C7 0%, #06B6D4 100%);
  color: #fff;
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(6, 182, 212, 0.35);
  transition: all 0.2s;
}

.btn-topbar-signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.5);
}

/* User Profile Chip */
.user-profile-wrapper {
  position: relative;
}

.user-chip-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 17, 25, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px 5px 6px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}

.user-chip-button:hover {
  border-color: var(--border-glow);
}

.user-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7 0%, #06B6D4 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.user-info-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.user-display-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.user-plan-badge {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.user-chevron {
  font-size: 18px;
  color: var(--text-muted);
}

/* Profile Dropdown */
.user-dropdown-card {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  width: 240px;
  background: #0E1119;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(6, 182, 212, 0.2);
  display: none;
  z-index: 200;
}

.user-dropdown-card.active {
  display: block;
  animation: fadeInDrop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 10px;
}

.dropdown-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7, #06B6D4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.dropdown-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.dropdown-credits {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

.dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.dropdown-item.danger {
  color: var(--accent-rose);
}

.dropdown-item.danger:hover {
  background: rgba(244, 63, 94, 0.12);
}

/* ═══════════════════════════════════════════════════════════════
   VIEW PANES (OVERVIEW, VIDEOS, PLANS, BILLING, SETTINGS)
   ═══════════════════════════════════════════════════════════════ */
.dashboard-view-pane {
  display: none;
}

.dashboard-view-pane.active {
  display: block;
  animation: viewFade 0.25s ease-out;
}

@keyframes viewFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   HERO GREETING & SHOWCASE BANNER (1:1 CHATGPT MOCKUP)
   ═══════════════════════════════════════════════════════════════ */
.hero-showcase-banner {
  background: linear-gradient(135deg, rgba(14, 18, 28, 0.95) 0%, rgba(8, 12, 20, 0.95) 50%, rgba(2, 44, 75, 0.4) 100%);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-xl);
  padding: 38px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8), inset 0 0 35px rgba(6, 182, 212, 0.08);
}

.banner-content-left {
  flex: 1;
  max-width: 580px;
  z-index: 2;
}

.banner-greeting {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.banner-greeting span {
  background: linear-gradient(135deg, #FFFFFF 30%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner-subtitle {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.5;
  margin-bottom: 22px;
}

.banner-feature-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: #E2E8F0;
}

.feature-tag .material-symbols-rounded {
  font-size: 16px;
  color: var(--accent-cyan);
}

.banner-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-create-ai-video {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0284C7 0%, #06B6D4 100%);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  width: fit-content;
  box-shadow: 0 6px 25px rgba(6, 182, 212, 0.45);
  transition: all 0.25s ease;
}

.btn-create-ai-video:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.65);
}

.btn-create-ai-video .play-glyph {
  font-size: 24px;
}

.btn-create-ai-video .arrow-glyph {
  font-size: 20px;
  transition: transform 0.2s;
}

.btn-create-ai-video:hover .arrow-glyph {
  transform: translateX(4px);
}

.banner-footnote {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Banner Right: 3D Fan-out Floating Video Cards */
.banner-art-right {
  position: relative;
  width: 440px;
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.handwritten-annotation {
  position: absolute;
  top: -6px;
  left: 10px;
  font-style: italic;
  font-family: "Google Sans", cursive, sans-serif;
  font-size: 0.95rem;
  color: #38BDF8;
  opacity: 0.9;
  transform: rotate(-8deg);
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
  pointer-events: none;
  z-index: 10;
}

.floating-cards-stage {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1200px;
}

.fanned-card {
  position: absolute;
  width: 175px;
  height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(6, 182, 212, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-glow-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 9, 12, 0.85) 100%);
}

.card-play-beacon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.65);
}

.card-footer-info {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.card-video-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}

.card-duration-badge {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #E2E8F0;
}

/* Perspective Fan Offsets */
.card-primary {
  right: 180px;
  top: 15px;
  z-index: 3;
  transform: rotate(-6deg) scale(1.05);
}

.card-secondary {
  right: 80px;
  top: 25px;
  z-index: 2;
  transform: rotate(3deg) scale(0.96);
  opacity: 0.85;
}

.card-tertiary {
  right: 0px;
  top: 35px;
  z-index: 1;
  transform: rotate(10deg) scale(0.88);
  opacity: 0.65;
}

.fanned-card:hover {
  transform: translateY(-8px) scale(1.1) !important;
  z-index: 10;
  border-color: var(--accent-cyan-light);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 35px rgba(6, 182, 212, 0.55);
}

/* ═══════════════════════════════════════════════════════════════
   4 METRIC STAT CARDS ROW (1:1 CHATGPT MOCKUP)
   ═══════════════════════════════════════════════════════════════ */
.metrics-quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.metric-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(6, 182, 212, 0.15);
}

.metric-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.metric-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-icon-box.cyan-glow {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
}

.metric-icon-box.blue-glow {
  background: rgba(2, 132, 199, 0.18);
  border: 1px solid rgba(2, 132, 199, 0.35);
  color: #38BDF8;
}

.metric-icon-box.violet-gem {
  background: rgba(6, 182, 212, 0.18);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--accent-cyan);
}

.metric-icon-box.lightning-box {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.3), rgba(6, 182, 212, 0.3));
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #38BDF8;
}

/* SVG Radial Gauge */
.metric-gauge-wrap {
  position: relative;
  width: 44px;
  height: 44px;
}

.radial-gauge {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3.5;
}

.gauge-fill {
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dasharray 0.6s ease;
}

.gauge-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}

.chevron-hint {
  color: var(--text-muted);
  font-size: 22px;
}

.metric-card-body {
  margin-bottom: 12px;
}

.metric-label {
  font-size: 0.86rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.info-bubble {
  font-size: 0.74rem;
  color: var(--text-muted);
  cursor: help;
}

.metric-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.metric-number.plan-name {
  font-size: 1.45rem;
}

.metric-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.metric-card-footer {
  margin-top: auto;
  padding-top: 10px;
}

.metric-action-link {
  background: transparent;
  border: none;
  color: var(--accent-cyan);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: gap 0.2s;
}

.metric-action-link:hover {
  gap: 10px;
  color: var(--accent-cyan-light);
}

.metric-action-link .material-symbols-rounded {
  font-size: 16px;
}

/* Soundwave Card Graphic */
.metric-card-wave {
  margin-top: 12px;
  height: 32px;
}

.wave-svg {
  width: 100%;
  height: 100%;
}

.btn-metric-upgrade {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-metric-upgrade:hover {
  background: rgba(6, 182, 212, 0.22);
  color: #fff;
  border-color: var(--accent-cyan);
}

.btn-metric-upgrade .material-symbols-rounded {
  font-size: 16px;
}

.quick-start-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.btn-metric-create {
  width: 100%;
  background: linear-gradient(135deg, #0284C7 0%, #06B6D4 100%);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
  transition: all 0.2s;
}

.btn-metric-create:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.5);
}

.btn-metric-create .material-symbols-rounded {
  font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   MIDDLE SECTION (2 COLUMNS: RECENT VIDEOS & GETTING STARTED)
   ═══════════════════════════════════════════════════════════════ */
.dashboard-mid-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  margin-bottom: 28px;
}

.dashboard-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.panel-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.panel-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.panel-subheading {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.btn-view-all {
  background: transparent;
  border: none;
  color: var(--accent-cyan);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-view-all:hover {
  color: var(--accent-cyan-light);
}

.btn-view-all .material-symbols-rounded {
  font-size: 16px;
}

/* Recent Videos Quad Grid (4 items) */
.recent-videos-quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.recent-video-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.recent-video-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.35);
}

.thumb-container {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recent-video-card:hover .video-thumb {
  transform: scale(1.05);
}

.thumb-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.recent-video-card:hover .thumb-play-btn {
  opacity: 1;
  transform: scale(1.1);
  color: var(--accent-cyan-light);
}

.thumb-play-btn .material-symbols-rounded {
  font-size: 30px;
}

.video-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: #E2E8F0;
}

.video-meta-box {
  padding: 10px 12px;
}

.video-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.video-date {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.video-more-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  padding: 0 4px;
}

.video-more-btn:hover {
  color: #fff;
}

/* Right: Getting Started Card */
.progress-pill-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.onboarding-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  overflow: hidden;
}

.onboarding-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284C7, #06B6D4);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.onboarding-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s;
}

.checklist-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 182, 212, 0.25);
}

.check-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checklist-item.done .check-circle {
  background: #10B981;
  color: #000;
}

.checklist-item.done .check-circle .material-symbols-rounded {
  font-size: 15px;
  font-weight: 800;
}

.check-circle.pending {
  border: 2px solid var(--text-muted);
}

.check-text {
  font-size: 0.86rem;
  color: #fff;
  flex: 1;
}

.check-arrow {
  font-size: 18px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   BOTTOM SECTION (2 COLUMNS: USAGE OVERVIEW & QUICK ACTIONS)
   ═══════════════════════════════════════════════════════════════ */
.dashboard-bot-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
}

.usage-toggle-pills {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
}

.usage-pill {
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.usage-pill.active {
  background: var(--accent-cyan);
  color: #000;
}

.usage-stats-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.usage-stat-metric {
  display: flex;
  flex-direction: column;
}

.stat-highlight {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.stat-remaining {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.stat-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.usage-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
}

.usage-reset-note {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Interactive 30-Day Bar Chart Graphic */
.usage-barchart-container {
  padding: 10px 0 0;
}

.barchart-bars-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.barchart-bar {
  flex: 1;
  background: linear-gradient(180deg, #06B6D4 0%, #0284C7 100%);
  border-radius: 4px 4px 0 0;
  min-height: 8px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.barchart-bar:hover {
  background: #38BDF8;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
  transform: scaleY(1.08);
}

.barchart-axis-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  padding: 0 4px;
}

/* Quick Actions 2x2 Grid */
.quick-actions-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quick-action-tile {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.quick-action-tile:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 182, 212, 0.35);
  transform: translateY(-2px);
}

.tile-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-icon-box.action-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.tile-icon-box.action-blue {
  background: rgba(2, 132, 199, 0.18);
  color: #38BDF8;
}

.tile-icon-box.action-violet {
  background: rgba(6, 182, 212, 0.18);
  color: var(--accent-cyan);
}

.tile-icon-box.action-slate {
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
}

.tile-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.tile-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   DEDICATED FULL VIEW PAGES (VIDEOS, PLANS, BILLING, TEMPLATES)
   ═══════════════════════════════════════════════════════════════ */
.page-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.page-pane-header.text-center {
  flex-direction: column;
  text-align: center;
}

.page-pane-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.page-pane-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.gallery-filter-bar {
  margin-bottom: 24px;
}

.filter-pills-row {
  display: flex;
  gap: 10px;
}

.filter-pill {
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill.active, .filter-pill:hover {
  background: rgba(6, 182, 212, 0.18);
  border-color: var(--accent-cyan);
  color: #fff;
}

.dedicated-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s;
}

.pricing-card.popular {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 35px -5px rgba(6, 182, 212, 0.4);
  background: linear-gradient(180deg, rgba(2, 132, 199, 0.15) 0%, rgba(14, 17, 25, 0.85) 100%);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0284C7, #06B6D4);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 14px;
  border-radius: var(--radius-full);
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  min-height: 40px;
}

.pricing-price-box {
  margin: 18px 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-price {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.plan-period {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-feature .material-symbols-rounded {
  color: var(--accent-emerald);
  font-size: 18px;
}

.btn-plan-select {
  width: 100%;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-plan-select.btn-popular {
  background: linear-gradient(135deg, #0284C7, #06B6D4);
  border: none;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.4);
}

.btn-plan-select:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* History Table */
.history-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  padding: 6px;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.history-table th {
  padding: 14px 18px;
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
}

.history-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.status-approved {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

.status-badge.status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
}

.status-badge.status-rejected {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
}

/* Dual Engine Cards */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-label {
  font-size: 0.9rem;
  font-weight: 700;
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.badge-validity {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   MODALS (PAYMENT & AUTH)
   ═══════════════════════════════════════════════════════════════ */
.portal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.portal-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.portal-modal-card {
  background: #0E1119;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(6, 182, 212, 0.3);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.portal-modal-overlay.active .portal-modal-card {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 22px;
  cursor: pointer;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.pay-method-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.pay-method-btn.active {
  background: rgba(6, 182, 212, 0.18);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
}

.pay-method-btn.bkash.active { border-color: #E2136E; background: rgba(226, 19, 110, 0.15); }
.pay-method-btn.nagad.active { border-color: #F7941D; background: rgba(247, 148, 29, 0.15); }
.pay-method-btn.rocket.active { border-color: #8C3494; background: rgba(140, 52, 148, 0.15); }

.payment-info-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
}

.payment-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.pay-number-text {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-cyan-light);
}

.btn-copy-num {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.78rem;
  cursor: pointer;
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--accent-cyan);
}

.btn-submit-payment {
  width: 100%;
  padding: 13px 0;
  background: linear-gradient(135deg, #0284C7, #06B6D4);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.dash-tab-btn {
  padding: 9px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.dash-tab-btn.active {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--accent-cyan);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE MEDIA QUERIES (MOBILE / TABLET ADAPTATION)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .hero-showcase-banner { flex-direction: column; align-items: flex-start; }
  .banner-art-right { width: 100%; height: 260px; }
  .metrics-quad-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-mid-split { grid-template-columns: 1fr; }
  .dashboard-bot-split { grid-template-columns: 1fr; }
  .recent-videos-quad { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .app-layout {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    transform: translateX(-100%);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8);
    z-index: 200;
  }

  .app-sidebar.open {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 150;
  }

  .sidebar-backdrop.active {
    display: block;
  }

  .sidebar-close-btn { display: block; }
  .btn-sidebar-toggle { display: flex; flex-shrink: 0; }

  /* Topbar Mobile Layout */
  .app-topbar {
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }

  .topbar-workspace-tag {
    padding: 4px 10px;
    font-size: 0.76rem;
  }

  .user-info-text { display: none; }
  .user-chip-button { padding: 4px; }
  .topbar-right-actions { margin-left: auto; gap: 8px; }
  .btn-topbar-signin, .btn-topbar-signup { padding: 6px 12px; font-size: 0.82rem; }

  .app-main-content {
    padding: 14px 12px 40px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-showcase-banner {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
  }

  .banner-greeting { font-size: 1.85rem; }
  .banner-subtitle { font-size: 0.9rem; }
  .banner-art-right { display: none; }

  .metrics-quad-grid { grid-template-columns: 1fr; gap: 14px; }
  .dashboard-mid-split { grid-template-columns: 1fr; gap: 16px; }
  .dashboard-bot-split { grid-template-columns: 1fr; gap: 16px; }
  .recent-videos-quad { grid-template-columns: 1fr; }
  .quick-actions-2x2 { grid-template-columns: 1fr; }
  .dedicated-gallery-grid { grid-template-columns: 1fr; }
  .payment-methods-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-panel { padding: 18px 16px; }
}
