@charset "UTF-8";
/*!
 * Dreamers X Theme - Main SCSS Entry Point
 * Compiled version of the CSS with organized structure
 */
/* Normalize.css excerpt - essential resets only */
/**
 * Design Tokens & CSS Variables
 * Based on Dreamers X brand guidelines
 * Dark Theme with Rich Black Background
 */
:root {
  /* === BRAND COLOR PALETTE === */
  --rich-black: #000000;
  --teal: #248282;
  --verdigris: #3BD3D3;
  --brand-white: #fcffff;
  /* === PRIMARY BRAND COLORS (Extended Scale) === */
  /* Base brand colors: #0BF9EA (primary-400), #3BD3D3 (primary-500) - Verdigris teal */
  --primary-25: #f0fefe;
  --primary-50: #e0fdfd;
  --primary-75: #d1fbfb;
  --primary-100: #b8f8f8;
  --primary-150: #9ff5f5;
  --primary-200: #86f2f2;
  --primary-250: #6defef;
  --primary-300: #54ecec;
  --primary-400: #0BF9EA; /* Brand bright - Verdigris */
  --primary-500: #3BD3D3; /* Main brand color */
  --primary-600: #248282; /* Teal - darker variant */
  --primary-700: #1e6969;
  --primary-800: #185151;
  --primary-900: #123c3c;
  --primary-950: #0c2828;
  /* RGB tuple for rgba() composition: rgba(var(--primary-400-rgb), 0.1) */
  --primary-400-rgb: 11, 249, 234;
  --primary-500-rgb: 59, 211, 211;
  /* Primary alpha variants for overlays (based on primary-500 #3BD3D3) */
  --primary-alpha-5: rgba(59, 211, 211, 0.05);
  --primary-alpha-10: rgba(59, 211, 211, 0.10);
  --primary-alpha-15: rgba(59, 211, 211, 0.15);
  --primary-alpha-20: rgba(59, 211, 211, 0.20);
  --primary-alpha-30: rgba(59, 211, 211, 0.30);
  --primary-alpha-40: rgba(59, 211, 211, 0.40);
  --primary-alpha-50: rgba(59, 211, 211, 0.50);
  --primary-alpha-60: rgba(59, 211, 211, 0.60);
  --primary-alpha-70: rgba(59, 211, 211, 0.70);
  /* Convenient aliases */
  --primary-color: var(--primary-500);
  --primary-hover: var(--primary-400);
  --primary-light: var(--primary-300);
  --primary-dark: var(--primary-600);
  /* === GOLD HIGHLIGHT COLORS === */
  /* Luxurious gold palette for highlights and accents */
  --gold-50: #fefdf5;
  --gold-100: #fef9e3;
  --gold-200: #fdf2c4;
  --gold-300: #fce896;
  --gold-400: #f9d654;
  --gold-500: #e6be69; /* Main gold */
  --gold-600: #d4a42a;
  --gold-700: #b5861f;
  --gold-800: #936a1f;
  --gold-900: #78561d;
  --gold-950: #452e0d;
  /* Gold alpha variants */
  --gold-alpha-10: rgba(230, 190, 105, 0.10);
  --gold-alpha-15: rgba(230, 190, 105, 0.15);
  --gold-alpha-20: rgba(230, 190, 105, 0.20);
  --gold-alpha-30: rgba(230, 190, 105, 0.30);
  --gold-alpha-50: rgba(230, 190, 105, 0.50);
  /* Gold convenient aliases */
  --gold: var(--gold-500);
  --gold-light: var(--gold-400);
  --gold-dark: var(--gold-600);
  --gold-glow: 0 0 15px rgba(230, 190, 105, 0.35);
  /* === SEMANTIC COLORS (Harmonized for Dark Theme) === */
  --success-color: #10b981; /* Emerald green */
  --success-light: #6ee7b7;
  --success-dark: #059669;
  --warning-color: #f59e0b; /* Amber */
  --warning-light: #fbbf24;
  --warning-dark: #d97706;
  --danger-color: #ef4444; /* Modern red */
  --danger-light: #f87171;
  --danger-dark: #dc2626;
  --danger-500: #ef4444; /* Alias for component use */
  --error-500: #ef4444; /* Alias used in forms and chat */
  --success-500: #10b981; /* Alias for component use */
  --info-color: var(--primary-500);
  --info-light: var(--primary-300);
  --info-dark: var(--primary-600);
  /* === DARK THEME NEUTRALS === */
  /* Based on gunmetal with subtle teal tints */
  --neutral-50: #fafcfc;
  --neutral-100: #f4f7f7;
  --neutral-200: #e8f0f0;
  --neutral-300: #d9e5e5;
  --neutral-400: #b8cece;
  --neutral-500: #8fa9a9;
  --neutral-600: #6b8686;
  --neutral-700: #4d6666;
  --neutral-850: #202b2b;
  --neutral-900: #151f1f;
  --neutral-950: var(--rich-black); /* #040f0f */
  /* Aliases for backward compatibility */
  --gray-50: var(--neutral-50);
  --gray-100: var(--neutral-100);
  --gray-200: var(--neutral-200);
  --gray-300: var(--neutral-300);
  --gray-400: var(--neutral-400);
  --gray-500: var(--neutral-500);
  --gray-600: var(--neutral-600);
  --gray-700: var(--neutral-700);
  --gray-800: var(--neutral-800);
  --gray-900: var(--neutral-900);
  --secondary-color: var(--primary-500);
  --accent-color: var(--primary-500);
  /* === TEXT COLORS (Optimized for Dark Backgrounds) === */
  --text-primary: var(--brand-white); /* #fcffff - bright white */
  --text-secondary: rgba(252, 255, 255, 0.85); /* Slightly transparent white */
  --text-tertiary: rgba(252, 255, 255, 0.65); /* More transparent */
  --text-muted: rgba(252, 255, 255, 0.50); /* Muted white */
  --text-disabled: rgba(252, 255, 255, 0.35); /* Very muted */
  --text-white: var(--brand-white);
  --text-on-primary: var(--rich-black); /* Dark text on bright teal */
  --text-on-dark: var(--brand-white);
  /* Aliases for backward compatibility */
  --text-color: var(--text-primary);
  --text-light: var(--text-muted);
  --text-inverse: var(--rich-black);
  /* === BACKGROUND COLORS (Dark Theme) === */
  --bg-page: var(--rich-black); /* #040f0f - main background */
  --bg-muted: #151f1f; /* Muted sections */
  --bg-hover: var(--primary-400); /* Subtle hover with teal */
  --bg-active: var(--primary-alpha-20); /* Active state */
  --bg-overlay: rgba(4, 15, 15, 0.85); /* Dark overlay */
  --bg-overlay-dark: rgba(4, 15, 15, 0.95); /* Darker overlay */
  /* === GRADIENTS (reusable) === */
  /* Midnight: charcoal surface (#232526 → #414345); default top → bottom */
  --midnight-start: #232526;
  --midnight-end: #414345;
  --gradient-midnight: linear-gradient(180deg, var(--midnight-start) 0%, var(--midnight-end) 100%);
  /* === SURFACE COLORS (semantic layer above raw backgrounds) === */
  --bg-card: #111a1a; /* Card / panel background */
  --bg-elevated: #1a2424; /* Elevated surface: modals, dropdowns */
  --bg-dropdown: #0d0d0d; /* Dropdown / flyout background */
  --bg-input: rgba(0, 0, 0, 0.4); /* Form input background */
  --text-input: rgba(252, 255, 255, 0.95); /* Form input text */
  --overlay-backdrop: rgba(0, 0, 0, 0.80); /* Modal / lightbox backdrop */
  /* Aliases for backward compatibility */
  --bg-color: var(--bg-page);
  --bg-dark: var(--rich-black);
  /* === BORDER COLORS (Dark Theme) === */
  --border-subtle: #2a3030;
  --border-light: #313838;
  --border-default: #3a4242;
  --border-medium: #455050;
  --border-strong: rgb(59, 211, 211);
  --border-primary: var(--primary-500);
  /* Aliases for backward compatibility */
  --border-color: #3a4242;
  --border-dark: var(--border-strong);
  /* === SHADOWS (Dark Theme with Teal Glow) === */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(59, 211, 211, 0.05);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(59, 211, 211, 0.08);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(59, 211, 211, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.6), 0 4px 8px rgba(59, 211, 211, 0.12);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.7), 0 8px 16px rgba(59, 211, 211, 0.15);
  --shadow-2xl: 0 24px 48px rgba(0, 0, 0, 0.8), 0 12px 24px rgba(59, 211, 211, 0.2);
  /* Colored shadows for primary elements - Teal glow */
  --shadow-primary: 0 4px 12px rgba(59, 211, 211, 0.4), 0 2px 6px rgba(59, 211, 211, 0.2);
  --shadow-primary-lg: 0 8px 24px rgba(59, 211, 211, 0.5), 0 4px 12px rgba(59, 211, 211, 0.3);
  /* Subtle glow effects for dark theme */
  --glow-subtle: 0 0 10px rgba(59, 211, 211, 0.15);
  --glow-medium: 0 0 20px rgba(59, 211, 211, 0.25);
  --glow-strong: 0 0 30px rgba(59, 211, 211, 0.4);
  /* === SPACING SCALE === */
  --spacing-0: 0;
  --spacing-px: 1px;
  --spacing-0_5: 0.125rem; /* 2px */
  --spacing-1: 0.25rem; /* 4px */
  --spacing-1_5: 0.375rem; /* 6px */
  --spacing-2: 0.5rem; /* 8px */
  --spacing-2_5: 0.625rem; /* 10px */
  --spacing-3: 0.75rem; /* 12px */
  --spacing-3_5: 0.875rem; /* 14px */
  --spacing-4: 1rem; /* 16px */
  --spacing-5: 1.25rem; /* 20px */
  --spacing-6: 1.5rem; /* 24px */
  --spacing-7: 1.75rem; /* 28px */
  --spacing-8: 2rem; /* 32px */
  --spacing-9: 2.25rem; /* 36px */
  --spacing-10: 2.5rem; /* 40px */
  --spacing-12: 3rem; /* 48px */
  --spacing-16: 4rem; /* 64px */
  --spacing-20: 5rem; /* 80px */
  --spacing-24: 6rem; /* 96px */
  --spacing-32: 8rem; /* 128px */
  /* === BORDER RADIUS === */
  --radius-none: 0;
  --radius-sm: 0.25rem; /* 4px */
  --radius-md: 0.5rem; /* 8px */
  --radius-lg: 0.75rem; /* 12px */
  --radius-xl: 1rem; /* 16px */
  --radius-2xl: 1.5rem; /* 24px */
  --radius-3xl: 2rem; /* 32px */
  --radius-full: 50%; /* Don't use this */
  /* === TYPOGRAPHY SCALE === */
  /* Modern font stacks optimized for readability */
  --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  --font-family-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', 'Liberation Mono', monospace;
  --font-family-logo: 'Playfair Display', Georgia, 'Times New Roman', serif;
  /* Font Sizes - Optimized scale using modular scale (1.2 ratio) */
  --font-size-base: 1rem; /* 16px - body text */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-xl: 1.25rem; /* 20px */
  --font-size-2xl: 1.5rem; /* 24px */
  --font-size-3xl: 2rem; /* 32px */
  --font-size-4xl: 2.5rem; /* 40px */
  --font-size-5xl: 3rem; /* 48px */
  --font-size-6xl: 3.75rem; /* 60px */
  --font-size-7xl: 4.5rem; /* 72px */
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;
  /* Line Heights - Optimized for readability */
  --line-height-none: 1;
  --line-height-tight: 1.2; /* For headings */
  --line-height-snug: 1.375;
  --line-height-normal: 1.5; /* For UI elements */
  --line-height-relaxed: 1.6; /* For body text - optimal readability */
  --line-height-loose: 1.8; /* For long-form content */
  /* Letter Spacing */
  --letter-spacing-tighter: -0.05em;
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
  --letter-spacing-wider: 0.05em;
  --letter-spacing-widest: 0.1em;
  /* === TRANSITIONS === */
  --transition-none: none;
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-all: all 0.3s ease;
  /* === Z-INDEX SCALE === */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  /* === BREAKPOINTS (for CSS) === */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
  /* === COMPONENT SIZING === */
  --btn-height-sm: 2rem;
  --btn-height-base: 2.5rem;
  --btn-height-lg: 3rem;
  --btn-padding-sm: 0.5rem 0.75rem;
  --btn-padding-base: 0.75rem 1rem;
  --btn-padding-lg: 1rem 1.5rem;
  --input-height-sm: 2rem;
  --input-height-base: 2.5rem;
  --input-height-lg: 3rem;
  /* === THEME PROPERTIES === */
  color-scheme: dark;
}

/* ========================================
   LIGHT THEME OVERRIDES
   Toggle via JS: body.light-theme / body.dark-theme
   ======================================== */
body.light-theme {
  color-scheme: light;
  /* === Backgrounds === */
  --rich-black: #eae5d9;
  --bg-page: var(--rich-black);
  --bg-muted: #f3efe6;
  --bg-hover: rgba(4, 90, 85, 0.08);
  --bg-active: rgba(4, 90, 85, 0.14);
  --bg-overlay: rgba(234, 229, 217, 0.85);
  --bg-overlay-dark: rgba(234, 229, 217, 0.95);
  --bg-dark: var(--rich-black);
  --bg-color: var(--bg-page);
  /* === Surface Colors === */
  --bg-card: #f5f1e8;
  --bg-elevated: #ede8dd;
  --bg-subtle: #e8e2d4;
  --bg-dropdown: #f5f1e8;
  --bg-input: rgba(255, 252, 245, 0.9);
  --bg: var(--bg-card);
  --text-input: rgba(11, 11, 11, 0.95);
  --overlay-backdrop: rgba(0, 0, 0, 0.55);
  /* === Text + legacy "white" tokens === */
  --brand-white: #0b0b0b;
  --text-primary: #0b0b0b;
  --text-secondary: rgba(11, 11, 11, 0.75);
  --text-tertiary: rgba(11, 11, 11, 0.6);
  --text-muted: rgba(11, 11, 11, 0.5);
  --text-disabled: rgba(11, 11, 11, 0.35);
  --text-white: #ffffff;
  --text-on-dark: #ffffff;
  --text-on-primary: #000000;
  --text-light: var(--text-muted);
  --text-inverse: var(--rich-black);
  /* === Undefined white utility tokens (used in _chat.scss, etc.) === */
  --white: var(--text-primary);
  --white-50: var(--text-muted);
  --white-70: var(--text-secondary);
  --white-90: var(--text-primary);
  /* === AAA accent: bright #0bf9ea/#3bd3d3 fail on cream as text (~1.5:1).
       Keep --primary-bright for filled CTAs (black text on cyan). === */
  --primary-bright: #0bf9ea;
  --primary-400: #045a55;
  --primary-500: #036963;
  --primary-600: #033f3b;
  --primary-700: #022e2b;
  --primary-400-rgb: 4, 90, 85;
  --primary-500-rgb: 3, 105, 99;
  --primary-color: #045a55;
  --primary-hover: #033f3b;
  --primary-light: #067a72;
  --primary-dark: #033f3b;
  --primary-alpha-5: rgba(4, 90, 85, 0.05);
  --primary-alpha-10: rgba(4, 90, 85, 0.1);
  --primary-alpha-15: rgba(4, 90, 85, 0.15);
  --primary-alpha-20: rgba(4, 90, 85, 0.2);
  --primary-alpha-30: rgba(4, 90, 85, 0.3);
  --primary-alpha-40: rgba(4, 90, 85, 0.4);
  --primary-alpha-50: rgba(4, 90, 85, 0.5);
  --felan-color-accent: #045a55;
  --felan-color-primary: #045a55;
  --link: #045a55;
  --link-hover: #033f3b;
  --info-color: #045a55;
  --secondary-color: #045a55;
  --accent-color: #045a55;
  --auth-primary: #045a55;
  /* === Gradient tokens (cascade into border vars below) === */
  --midnight-start: #dde4e4;
  --midnight-end: #c8d4d4;
  --gradient-midnight: linear-gradient(180deg, var(--midnight-start) 0%, var(--midnight-end) 100%);
  /* === Borders (solid colors; gradient-midnight still available for dividers) === */
  --border-subtle: #e8eeed;
  --border-light: #dde4e4;
  --border-default: #cdd8d8;
  --border-medium: #b8cccc;
  --border-strong: rgba(4, 90, 85, 0.85);
  --border-primary: #045a55;
  --border-color: #dde4e4;
  /* === Shadows (neutral, no dark glow) === */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.14);
  --shadow-2xl: 0 24px 48px rgba(0, 0, 0, 0.16);
  --shadow-primary: 0 4px 12px rgba(4, 90, 85, 0.22), 0 2px 6px rgba(4, 90, 85, 0.12);
  --shadow-primary-lg: 0 8px 24px rgba(4, 90, 85, 0.28), 0 4px 12px rgba(4, 90, 85, 0.16);
  /* === Glows (softened for light backgrounds) === */
  --glow-subtle: 0 0 10px rgba(4, 90, 85, 0.08);
  --glow-medium: 0 0 20px rgba(4, 90, 85, 0.12);
  --glow-strong: 0 0 30px rgba(4, 90, 85, 0.2);
  /* === Neutrals (used by text-muted/text-secondary/etc) === */
  --neutral-50: #ffffff;
  --neutral-100: #f4f7f7;
  --neutral-200: #e8f0f0;
  --neutral-300: #d9e5e5;
  --neutral-400: #b8cece;
  --neutral-500: #8fa9a9;
  --neutral-600: #6b8686;
  --neutral-700: #4d6666;
  --neutral-850: #3a4a4a;
  --neutral-900: #151f1f;
  --neutral-950: #0c0c0c;
}

body.dark-theme {
  color-scheme: dark;
}

/* ========================================
   FELAN THEME OVERRIDES
   Override parent theme color variables with our dark theme colors
   ======================================== */
:root {
  /* Felan text colors → Dark theme text colors */
  --felan-color-text: var(--text-primary);
  /* Felan accent → Verdigris (lighter teal) */
  --felan-color-accent: var(--primary-400);
  /* Felan primary → Teal */
  --felan-color-primary: var(--primary-400);
  /* Felan border → Dark theme borders */
  --felan-color-border: var(--border-default);
  /* Felan background → Rich black */
  --felan-color-bg: var(--rich-black);
}

/* ========================================
   EMPLOYER/CLIENT THEME — GOLD COLOR SCHEME
   Overrides primary (teal) with gold for client users
   ======================================== */
body.user-role-employer .dashboard-page,
body.user-role-employer .dashboard-sidebar {
  --primary-25: var(--gold-50);
  --primary-50: var(--gold-100);
  --primary-100: var(--gold-100);
  --primary-200: var(--gold-200);
  --primary-300: var(--gold-300);
  --primary-400: var(--gold-400);
  --primary-500: var(--gold-500);
  --primary-600: var(--gold-600);
  --primary-700: var(--gold-700);
  --primary-800: var(--gold-800);
  --primary-900: var(--gold-900);
  --primary-950: var(--gold-950);
  --primary-color: var(--gold-400);
  --primary-hover: var(--gold-300);
  --primary-light: var(--gold-300);
  --primary-dark: var(--gold-600);
  /* RGB tuples for rgba() composition */
  --primary-400-rgb: 249, 214, 84;
  --primary-500-rgb: 230, 190, 105;
  /* Alpha variants (based on gold-500) */
  --primary-alpha-5: rgba(230, 190, 105, 0.05);
  --primary-400: rgba(230, 190, 105, 0.10);
  --primary-alpha-15: rgba(230, 190, 105, 0.15);
  --primary-alpha-20: rgba(230, 190, 105, 0.20);
  --primary-alpha-30: rgba(230, 190, 105, 0.30);
  --primary-alpha-40: rgba(230, 190, 105, 0.40);
  --primary-alpha-50: rgba(230, 190, 105, 0.50);
  --primary-alpha-60: rgba(230, 190, 105, 0.60);
  --primary-alpha-70: rgba(230, 190, 105, 0.70);
  /* Felan parent theme overrides */
  --felan-color-accent: var(--gold-400);
  --felan-color-primary: var(--gold-400);
  --border-primary: var(--gold-500);
}

/* ========================================
   FONT LOADING OPTIMIZATION
   ======================================== */
/* Ensure fonts load with display swap for better performance */
@font-face {
  font-family: "DM Sans";
  font-display: swap;
  src: local("DM Sans");
}
@font-face {
  font-family: "Cabin";
  font-display: swap;
  src: local("Cabin");
}
@font-face {
  font-family: "Baskervville";
  font-display: swap;
  src: local("Baskervville");
}
@font-face {
  font-family: "Rallomy";
  font-display: swap;
  src: local("Rallomy");
}
/**
 * Mixins for Dreamers X Theme
 */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
/**
 * Base Reset & Normalization
 * Comprehensive cross-browser reset for consistent rendering
 */
/* ========================================
   MODERN NORMALIZE
   ======================================== */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Use a more readable tab size.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -moz-tab-size: 4; /* 3 */
  tab-size: 4; /* 3 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct height in Firefox.
 * 2. Correct the inheritance of border color in Firefox.
 */
hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Add the correct text decoration in Chrome, Edge, and Safari.
 */
abbr[title] {
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Edge and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Improve consistency of default fonts in all browsers.
 * 2. Correct the odd 'em' font sizing in all browsers.
 */
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Tabular data
   ========================================================================== */
/**
 * 1. Remove text indentation from table contents in Chrome and Safari.
 * 2. Correct table border color inheritance in Chrome and Safari.
 */
table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Remove the additional ':invalid' styles in Firefox.
 */
:-moz-ui-invalid {
  box-shadow: none;
}

/**
 * Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
 */
legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome and Firefox.
 */
progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Safari.
 */
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to 'inherit' in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Chrome and Safari.
 */
summary {
  display: list-item;
}

/* ========================================
   CUSTOM RESETS & ENHANCEMENTS
   ======================================== */
/* Box sizing reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margins and paddings */
* {
  margin: 0;
  padding: 0;
}

/* Set core root defaults */
html {
  line-height: var(--line-height-normal, 1.5);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: var(--line-height-normal, 1.5);
  font-family: var(--font-family-base, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  font-size: var(--font-size-base, 1rem);
  color: var(--text-color, #333);
  background-color: var(--bg-color, #000);
  transition: color var(--transition-base, 0.3s ease), background-color var(--transition-base, 0.3s ease);
  -webkit-transition: color var(--transition-base, 0.3s ease), background-color var(--transition-base, 0.3s ease);
  -moz-transition: color var(--transition-base, 0.3s ease), background-color var(--transition-base, 0.3s ease);
}

/* Remove list styles on ul, ol elements with a list role */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Improve media defaults */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Remove button styling */
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Normalize button appearance across browsers */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Normalize input appearance across browsers */
input[type=text],
input[type=email],
input[type=password],
input[type=search],
input[type=url],
input[type=tel],
input[type=number],
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

/* Remove default textarea resize handle in some browsers */
textarea {
  resize: vertical;
}

/* Ensure consistent select styling */
select {
  word-wrap: normal;
}

/* Prevent horizontal overflow */
html,
body {
  overflow-x: hidden;
  width: 100%;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Skip link styles */
.skip-link {
  position: absolute;
  top: -40px;
  left: var(--spacing-2, 0.5rem);
  background: var(--primary-color, #3bd3d3);
  color: var(--text-white, #fff);
  padding: var(--spacing-2, 0.5rem) var(--spacing-4, 1rem);
  text-decoration: none;
  border-radius: var(--radius-sm, 0.25rem);
  z-index: var(--z-tooltip, 1070);
  transition: top var(--transition-fast, 0.15s ease);
  -webkit-transition: top var(--transition-fast, 0.15s ease);
  -moz-transition: top var(--transition-fast, 0.15s ease);
}
.skip-link:focus {
  top: var(--spacing-2, 0.5rem);
}

/* ========================================
   COMPREHENSIVE RESPONSIVE FOUNDATION
   ======================================== */
/* Enhanced HTML responsive foundation */
html {
  box-sizing: border-box;
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}

/* Enhanced body responsive foundation */
body {
  overflow-x: hidden;
  max-width: 100vw;
  min-width: 280px;
  position: relative;
}

/* Prevent images, videos, and embeds from breaking layout */
img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure SVGs scale properly */
svg {
  max-width: 100%;
  height: auto;
}

/* Responsive container constraints */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}

/* Prevent content overflow globally */
main,
section,
article,
aside,
nav,
header,
footer {
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Responsive table handling */
table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

/* Ensure iframes are responsive */
iframe {
  max-width: 100%;
  border: none;
}

/* Responsive image wrapper */
.responsive-img,
.wp-block-image {
  max-width: 100%;
  height: auto;
}
.responsive-img img,
.wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Prevent long words from breaking layout */
p,
h1, h2, h3, h4, h5, h6,
li,
td,
th {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: none;
}

/* Focus-visible: hide outlines for mouse, show for keyboard.
   Defined in CSS so JS doesn't inject a <style> tag at runtime
   (runtime style injection forces a style recalculation → visible flash). */
body:not(.keyboard-navigation) *:focus {
  outline: none;
}

.keyboard-navigation *:focus {
  outline: 2px solid var(--felan-color-accent, #3BD3D3);
  outline-offset: 2px;
}

/**
 * Typography Styles
 * Modern, readable typography system
 */
/* Base typography */
body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--brand-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: var(--spacing-6);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  /* Fluid typography for smooth scaling */
  font-size: clamp(var(--font-size-4xl), 5vw + 1rem, var(--font-size-5xl));
  letter-spacing: var(--letter-spacing-tighter);
  margin-bottom: var(--spacing-8);
}

h2 {
  font-size: clamp(var(--font-size-3xl), 4vw + 1rem, var(--font-size-4xl));
  margin-bottom: var(--spacing-6);
}

h3 {
  font-size: clamp(var(--font-size-2xl), 3vw + 0.5rem, var(--font-size-3xl));
  margin-bottom: var(--spacing-5);
}

h4 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-4);
}

h5 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-4);
}

h6 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-3);
  font-weight: var(--font-weight-semibold);
}

/* Links */
a {
  color: var(--primary-500);
  text-decoration: none;
  transition: color var(--transition-base);
}
a:hover {
  color: var(--primary-700);
}
a:active {
  color: var(--primary-800);
}
a:focus {
  outline: 2px solid var(--primary-alpha-40);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Paragraphs */
p {
  margin-top: 0;
  margin-bottom: var(--spacing-4);
  line-height: var(--line-height-relaxed);
}
p:last-child {
  margin-bottom: 0;
}

/* Lead paragraph */
.lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-loose);
  color: var(--text-primary);
  font-weight: var(--font-weight-normal);
}

/* Lists */
ul, ol {
  margin-top: 0;
  margin-bottom: var(--spacing-4);
  padding-left: var(--spacing-6);
  line-height: var(--line-height-relaxed);
}
ul:last-child, ol:last-child {
  margin-bottom: 0;
}

li {
  margin-bottom: var(--spacing-2);
  color: var(--text-secondary);
}

/* Blockquotes */
blockquote {
  margin: var(--spacing-8) 0;
  padding-left: var(--spacing-6);
  border-left: 4px solid var(--primary-500);
  font-size: var(--font-size-lg);
  font-style: italic;
  color: var(--text-primary);
  line-height: var(--line-height-loose);
}

/* Code */
code {
  font-family: var(--font-family-mono);
  font-size: 0.875em;
  background-color: var(--neutral-100);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  color: var(--primary-700);
}

pre {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-sm);
  background-color: var(--neutral-900);
  color: var(--neutral-100);
  padding: var(--spacing-4);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: var(--spacing-6) 0;
}
pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
}

/* Strong and bold */
strong, b {
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

/* Emphasis */
em, i {
  font-style: italic;
}

/* Small text */
small {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* Mark/Highlight */
mark {
  background-color: var(--primary-alpha-20);
  color: var(--text-primary);
  padding: 0.125rem 0.25rem;
  border-radius: var(--radius-sm);
}

/* Text utilities */
.text-xs {
  font-size: var(--font-size-xs) !important;
}

.text-sm {
  font-size: var(--font-size-sm) !important;
}

.text-base {
  font-size: var(--font-size-base) !important;
}

.text-md {
  font-size: var(--font-size-md) !important;
}

.text-lg {
  font-size: var(--font-size-lg) !important;
}

.text-xl {
  font-size: var(--font-size-xl) !important;
}

.text-2xl {
  font-size: var(--font-size-2xl) !important;
}

.text-3xl {
  font-size: var(--font-size-3xl) !important;
}

.text-4xl {
  font-size: var(--font-size-4xl) !important;
}

/* Font weight utilities */
.font-light {
  font-weight: var(--font-weight-light) !important;
}

.font-normal {
  font-weight: var(--font-weight-normal) !important;
}

.font-medium {
  font-weight: var(--font-weight-medium) !important;
}

.font-semibold {
  font-weight: var(--font-weight-semibold) !important;
}

.font-bold {
  font-weight: var(--font-weight-bold) !important;
}

.font-extrabold {
  font-weight: var(--font-weight-extrabold) !important;
}

/* Line height utilities */
.leading-none {
  line-height: var(--line-height-none) !important;
}

.leading-tight {
  line-height: var(--line-height-tight) !important;
}

.leading-snug {
  line-height: var(--line-height-snug) !important;
}

.leading-normal {
  line-height: var(--line-height-normal) !important;
}

.leading-relaxed {
  line-height: var(--line-height-relaxed) !important;
}

.leading-loose {
  line-height: var(--line-height-loose) !important;
}

/* Text color utilities */
.text-primary-color {
  color: var(--text-primary) !important;
}

.text-secondary-color {
  color: var(--text-secondary) !important;
}

.text-tertiary-color {
  color: var(--text-tertiary) !important;
}

.text-muted-color {
  color: var(--text-muted) !important;
}

.text-brand {
  color: var(--primary-500) !important;
}

.text-white-color {
  color: var(--text-white) !important;
}

/* Text alignment */
.text-left {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.text-justify {
  text-align: justify !important;
}

/* Text transform */
.uppercase {
  text-transform: uppercase !important;
}

.lowercase {
  text-transform: lowercase !important;
}

.capitalize {
  text-transform: capitalize !important;
}

/* Letter spacing utilities */
.tracking-tighter {
  letter-spacing: var(--letter-spacing-tighter) !important;
}

.tracking-tight {
  letter-spacing: var(--letter-spacing-tight) !important;
}

.tracking-normal {
  letter-spacing: var(--letter-spacing-normal) !important;
}

.tracking-wide {
  letter-spacing: var(--letter-spacing-wide) !important;
}

.tracking-wider {
  letter-spacing: var(--letter-spacing-wider) !important;
}

.tracking-widest {
  letter-spacing: var(--letter-spacing-widest) !important;
}

/* Truncate text */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Line clamp utilities */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   ADVANCED TYPOGRAPHY
   ======================================== */
/* Text with primary color */
.text-gradient {
  color: var(--primary-500);
  display: inline-block;
}

.text-gradient-vibrant {
  color: var(--primary-500);
  display: inline-block;
}

.text-gradient-hero {
  color: var(--primary-500);
  display: inline-block;
}

/* Drop caps for article intros */
.drop-cap::first-letter {
  float: left;
  font-size: 3.5em;
  line-height: 0.85;
  margin: 0.1em 0.1em 0 0;
  font-weight: var(--font-weight-bold);
  color: var(--primary-600);
}

/* Fluid body text */
.text-fluid {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: var(--line-height-relaxed);
}

/* Reading-optimized text */
.text-reading {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: var(--line-height-loose);
  max-width: 70ch;
  color: var(--text-secondary);
}

/* Display typography for hero sections */
.display-1 {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tighter);
}

.display-2 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tighter);
}

.display-3 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

/* Text shadows for depth */
.text-shadow-sm {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.text-shadow-md {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.text-shadow-brand {
  text-shadow: 0 2px 8px rgba(59, 211, 211, 0.5);
}

/* Optical alignment */
.optical-align {
  text-indent: -0.05em;
}

/* Balanced text for headings */
.text-balance {
  text-wrap: balance;
  max-width: 50ch;
}

/* Hanging punctuation */
.hanging-punctuation {
  hanging-punctuation: first last;
}

/* Responsive line lengths */
.line-length-narrow {
  max-width: 45ch;
}

.line-length-comfortable {
  max-width: 65ch;
}

.line-length-wide {
  max-width: 80ch;
}

/* Subheading styles */
.subheading {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: var(--font-weight-medium);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  margin-bottom: var(--spacing-3);
}

/* Overline text */
.overline {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--primary-600);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-widest);
  margin-bottom: var(--spacing-2);
  display: block;
}

/* Eyebrow text (small above title) */
.eyebrow {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--primary-500);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-widest);
  margin-bottom: var(--spacing-1);
  display: block;
}

/* Kicker text (label above headline) */
.kicker {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--primary-600);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  margin-bottom: var(--spacing-2);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
}
.kicker::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--primary-500);
}

/* Responsive font scaling */
@media (max-width: 640px) {
  body {
    font-size: 16px; /* Never go below 16px on mobile */
  }
  .text-reading {
    font-size: 1.0625rem;
  }
}
@media (min-width: 1920px) {
  body {
    font-size: 18px; /* Larger on very large screens */
  }
}
/* Typography for dark backgrounds */
.text-on-dark {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.text-on-dark h1, .text-on-dark h2, .text-on-dark h3, .text-on-dark h4, .text-on-dark h5, .text-on-dark h6 {
  color: #ffffff;
}

/**
 * Form Styles
 * Standardized to match contact-input style from auth-methods page
 */
/* Base form input styles */
input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
textarea,
select {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  line-height: var(--line-height-normal);
  color: var(--text-input);
  background: var(--bg-input);
  border: 1px solid var(--primary-alpha-10);
  border-radius: 10px;
  transition: all 0.2s ease;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-400);
  background: var(--primary-alpha-5);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.15);
}
input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=url]::placeholder,
input[type=password]::placeholder,
input[type=search]::placeholder,
input[type=number]::placeholder,
input[type=tel]::placeholder,
textarea::placeholder,
select::placeholder {
  color: var(--text-muted);
}
input[type=text]:disabled,
input[type=email]:disabled,
input[type=url]:disabled,
input[type=password]:disabled,
input[type=search]:disabled,
input[type=number]:disabled,
input[type=tel]:disabled,
textarea:disabled,
select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
textarea,
select {
  /* Override browser autofill styles to maintain dark theme */
}
input[type=text]:-webkit-autofill, input[type=text]:-webkit-autofill:hover, input[type=text]:-webkit-autofill:focus, input[type=text]:-webkit-autofill:active,
input[type=email]:-webkit-autofill,
input[type=email]:-webkit-autofill:hover,
input[type=email]:-webkit-autofill:focus,
input[type=email]:-webkit-autofill:active,
input[type=url]:-webkit-autofill,
input[type=url]:-webkit-autofill:hover,
input[type=url]:-webkit-autofill:focus,
input[type=url]:-webkit-autofill:active,
input[type=password]:-webkit-autofill,
input[type=password]:-webkit-autofill:hover,
input[type=password]:-webkit-autofill:focus,
input[type=password]:-webkit-autofill:active,
input[type=search]:-webkit-autofill,
input[type=search]:-webkit-autofill:hover,
input[type=search]:-webkit-autofill:focus,
input[type=search]:-webkit-autofill:active,
input[type=number]:-webkit-autofill,
input[type=number]:-webkit-autofill:hover,
input[type=number]:-webkit-autofill:focus,
input[type=number]:-webkit-autofill:active,
input[type=tel]:-webkit-autofill,
input[type=tel]:-webkit-autofill:hover,
input[type=tel]:-webkit-autofill:focus,
input[type=tel]:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px rgba(0, 0, 0, 0.4) inset !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.95) !important;
  border-color: var(--midnight-end) !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
}
input[type=text]:-webkit-autofill:focus,
input[type=email]:-webkit-autofill:focus,
input[type=url]:-webkit-autofill:focus,
input[type=password]:-webkit-autofill:focus,
input[type=search]:-webkit-autofill:focus,
input[type=number]:-webkit-autofill:focus,
input[type=tel]:-webkit-autofill:focus,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px rgba(0, 0, 0, 0.4) inset, 0 0 0 3px rgba(59, 211, 211, 0.15) !important;
  border-color: #3BD3D3 !important;
}

/* Standardized input-field class - matches contact-input style */
.input-field {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--midnight-end);
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  transition: all 0.2s ease;
}
.input-field:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
}
.input-field::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.input-field:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.input-field {
  /* Override browser autofill styles to maintain dark theme */
}
.input-field:-webkit-autofill, .input-field:-webkit-autofill:hover, .input-field:-webkit-autofill:focus, .input-field:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px rgba(0, 0, 0, 0.4) inset !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.95) !important;
  border-color: var(--midnight-end) !important;
  background-color: transparent !important;
}
.input-field:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px rgba(0, 0, 0, 0.4) inset, 0 0 0 3px rgba(59, 211, 211, 0.15) !important;
  border-color: #3BD3D3 !important;
}

/* ========================================
   GLOBAL FIX: Inputs with Icons
   Ensures icons don't overlap input text
   ======================================== */
/* Input containers with icons - ensure proper padding */
/* This ensures all inputs with icons have sufficient left padding */
.input-icon,
.input-with-icon,
.search-input-wrapper,
.search-box,
.input-wrapper,
[class*=input-icon],
[class*=with-icon] {
  position: relative;
  /* Ensure input has proper left padding when icon is present */
}
.input-icon input[type=text],
.input-icon input[type=email],
.input-icon input[type=url],
.input-icon input[type=password],
.input-icon input[type=search],
.input-icon input[type=number],
.input-icon input[type=tel],
.input-with-icon input[type=text],
.input-with-icon input[type=email],
.input-with-icon input[type=url],
.input-with-icon input[type=password],
.input-with-icon input[type=search],
.input-with-icon input[type=number],
.input-with-icon input[type=tel],
.search-input-wrapper input[type=text],
.search-input-wrapper input[type=email],
.search-input-wrapper input[type=url],
.search-input-wrapper input[type=password],
.search-input-wrapper input[type=search],
.search-input-wrapper input[type=number],
.search-input-wrapper input[type=tel],
.search-box input[type=text],
.search-box input[type=email],
.search-box input[type=url],
.search-box input[type=password],
.search-box input[type=search],
.search-box input[type=number],
.search-box input[type=tel],
.input-wrapper input[type=text],
.input-wrapper input[type=email],
.input-wrapper input[type=url],
.input-wrapper input[type=password],
.input-wrapper input[type=search],
.input-wrapper input[type=number],
.input-wrapper input[type=tel],
[class*=input-icon] input[type=text],
[class*=input-icon] input[type=email],
[class*=input-icon] input[type=url],
[class*=input-icon] input[type=password],
[class*=input-icon] input[type=search],
[class*=input-icon] input[type=number],
[class*=input-icon] input[type=tel],
[class*=with-icon] input[type=text],
[class*=with-icon] input[type=email],
[class*=with-icon] input[type=url],
[class*=with-icon] input[type=password],
[class*=with-icon] input[type=search],
[class*=with-icon] input[type=number],
[class*=with-icon] input[type=tel] {
  /* Minimum 3rem (48px) padding to prevent icon overlap */
  padding-left: 3rem !important;
}

/* Specific fixes for common patterns */
.search-box input,
.search-input-wrapper input {
  padding-left: 3rem !important;
}

/* Header search input - ensure sufficient padding */
.dreamers-search-input {
  padding-left: 3rem !important;
}

/* Form inputs with icons */
.form-input.with-icon,
.input-field.with-icon {
  padding-left: 3rem !important;
}

/* Chat input with icon */
.chat-input-wrapper input,
.message-input-wrapper input {
  padding-left: 3rem !important;
}

/* Price input wrapper - match budget input group */
.price-input-wrapper {
  display: flex;
  align-items: center;
}
.price-input-wrapper .currency-symbol,
.price-input-wrapper .price-currency {
  padding: var(--spacing-2) var(--spacing-3);
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.price-input-wrapper input,
.price-input-wrapper .form-input,
.price-input-wrapper .price-input {
  flex: 1;
  min-width: 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Password input wrapper - toggle button on right, no extra left padding */
.password-input-wrapper {
  position: relative;
}
.password-input-wrapper input[type=password],
.password-input-wrapper input[type=text] {
  padding-left: 14px !important;
  padding-right: 48px !important;
}
.password-input-wrapper .toggle-password {
  position: absolute !important;
  right: var(--spacing-3, 12px) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  cursor: pointer;
  padding: 4px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
}
.password-input-wrapper .toggle-password svg {
  width: 20px;
  height: 20px;
}

/**
 * Felan Theme Overrides
 * Strong overrides to force our brand styles over parent theme
 * 
 * NOTE: We now use .dreamers-theme body class for higher specificity
 * instead of !important where possible. This makes styles more maintainable.
 * 
 * Only use !important when:
 * 1. Parent theme uses inline styles with !important
 * 2. Third-party plugins that can't be overridden
 * 3. Critical overrides that must work regardless of cascade
 */
/* ========================================
   TYPOGRAPHY SYSTEM OVERRIDES
   ======================================== */
/* Font Smoothing - Critical for crisp text */
/* Note: These may need !important if parent theme sets them inline */
.dreamers-theme html,
.dreamers-theme body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.dreamers-theme {
  /* Body Typography */
}
.dreamers-theme body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--text-primary);
  font-weight: var(--font-weight-normal);
}
.dreamers-theme {
  /* Heading Overrides - Force our brand typography */
}
.dreamers-theme h1, .dreamers-theme h2, .dreamers-theme h3, .dreamers-theme h4, .dreamers-theme h5, .dreamers-theme h6,
.dreamers-theme .h1, .dreamers-theme .h2, .dreamers-theme .h3, .dreamers-theme .h4, .dreamers-theme .h5, .dreamers-theme .h6 {
  font-family: var(--font-family-heading);
  color: var(--text-primary);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--spacing-4);
  margin-top: 0;
}

h1, .h1 {
  font-size: var(--font-size-5xl) !important;
  letter-spacing: var(--letter-spacing-tighter) !important;
}
@media (max-width: 768px) {
  h1, .h1 {
    font-size: var(--font-size-4xl) !important;
  }
}

h2, .h2 {
  font-size: var(--font-size-4xl) !important;
}
@media (max-width: 768px) {
  h2, .h2 {
    font-size: var(--font-size-3xl) !important;
  }
}

h3, .h3 {
  font-size: var(--font-size-3xl) !important;
}
@media (max-width: 768px) {
  h3, .h3 {
    font-size: var(--font-size-2xl) !important;
  }
}

h4, .h4 {
  font-size: var(--font-size-2xl) !important;
}

h5, .h5 {
  font-size: var(--font-size-xl) !important;
}

h6, .h6 {
  font-size: var(--font-size-lg) !important;
}

/* Paragraph spacing */
p {
  margin-bottom: var(--spacing-4) !important;
  line-height: var(--line-height-relaxed) !important;
  color: var(--brand-white) !important;
}

/* Link Colors - Override Bootstrap Blue */
a {
  color: var(--primary-400) !important;
  text-decoration: none !important;
  transition: var(--transition-base) !important;
}
a:hover, a:focus {
  color: var(--primary-700) !important;
  text-decoration: none !important;
}
a:active {
  color: var(--primary-800) !important;
}

/* ========================================
   BOOTSTRAP COLOR CLASS OVERRIDES
   Force our brand colors over Bootstrap defaults
   ======================================== */
/* Text Color Classes */
.text-primary,
a.text-primary {
  color: var(--primary-500) !important;
}
.text-primary:hover, .text-primary:focus,
a.text-primary:hover,
a.text-primary:focus {
  color: var(--primary-700) !important;
}

.text-secondary,
a.text-secondary {
  color: var(--neutral-600) !important;
}
.text-secondary:hover, .text-secondary:focus,
a.text-secondary:hover,
a.text-secondary:focus {
  color: var(--neutral-700) !important;
}

.text-success,
a.text-success {
  color: var(--success-color) !important;
}
.text-success:hover, .text-success:focus,
a.text-success:hover,
a.text-success:focus {
  color: var(--success-dark) !important;
}

.text-danger,
a.text-danger {
  color: var(--danger-color) !important;
}
.text-danger:hover, .text-danger:focus,
a.text-danger:hover,
a.text-danger:focus {
  color: var(--danger-dark) !important;
}

.text-warning,
a.text-warning {
  color: var(--warning-color) !important;
}
.text-warning:hover, .text-warning:focus,
a.text-warning:hover,
a.text-warning:focus {
  color: var(--warning-dark) !important;
}

.text-info,
a.text-info {
  color: var(--info-color) !important;
}
.text-info:hover, .text-info:focus,
a.text-info:hover,
a.text-info:focus {
  color: var(--info-dark) !important;
}

.text-dark,
a.text-dark {
  color: var(--neutral-900) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* Background Color Classes */
.bg-primary,
a.bg-primary,
button.bg-primary {
  background-color: var(--primary-500) !important;
  color: var(--text-white) !important;
}
.bg-primary:hover, .bg-primary:focus,
a.bg-primary:hover,
a.bg-primary:focus,
button.bg-primary:hover,
button.bg-primary:focus {
  background-color: var(--primary-600) !important;
}

.bg-secondary,
a.bg-secondary,
button.bg-secondary {
  background-color: var(--neutral-600) !important;
  color: var(--text-white) !important;
}
.bg-secondary:hover, .bg-secondary:focus,
a.bg-secondary:hover,
a.bg-secondary:focus,
button.bg-secondary:hover,
button.bg-secondary:focus {
  background-color: var(--neutral-700) !important;
}

.bg-success,
a.bg-success,
button.bg-success {
  background-color: var(--success-color) !important;
  color: var(--text-white) !important;
}
.bg-success:hover, .bg-success:focus,
a.bg-success:hover,
a.bg-success:focus,
button.bg-success:hover,
button.bg-success:focus {
  background-color: var(--success-dark) !important;
}

.bg-danger,
a.bg-danger,
button.bg-danger {
  background-color: var(--danger-color) !important;
  color: var(--text-white) !important;
}
.bg-danger:hover, .bg-danger:focus,
a.bg-danger:hover,
a.bg-danger:focus,
button.bg-danger:hover,
button.bg-danger:focus {
  background-color: var(--danger-dark) !important;
}

.bg-warning,
a.bg-warning,
button.bg-warning {
  background-color: var(--warning-color) !important;
  color: var(--neutral-900) !important;
}
.bg-warning:hover, .bg-warning:focus,
a.bg-warning:hover,
a.bg-warning:focus,
button.bg-warning:hover,
button.bg-warning:focus {
  background-color: var(--warning-dark) !important;
}

.bg-info,
a.bg-info,
button.bg-info {
  background-color: var(--info-color) !important;
  color: var(--text-white) !important;
}
.bg-info:hover, .bg-info:focus,
a.bg-info:hover,
a.bg-info:focus,
button.bg-info:hover,
button.bg-info:focus {
  background-color: var(--info-dark) !important;
}

.bg-light,
a.bg-light,
button.bg-light {
  background-color: var(--neutral-100) !important;
  color: var(--text-primary) !important;
}
.bg-light:hover, .bg-light:focus,
a.bg-light:hover,
a.bg-light:focus,
button.bg-light:hover,
button.bg-light:focus {
  background-color: var(--neutral-200) !important;
}

.bg-dark,
a.bg-dark,
button.bg-dark {
  background-color: var(--neutral-900) !important;
  color: var(--text-white) !important;
}
.bg-dark:hover, .bg-dark:focus,
a.bg-dark:hover,
a.bg-dark:focus,
button.bg-dark:hover,
button.bg-dark:focus {
  background-color: var(--neutral-950) !important;
}

/* ========================================
   FELAN-SPECIFIC OVERRIDES
   Target Felan theme classes directly
   ======================================== */
/* Felan buttons */
.felan-button,
.felan-btn,
a.felan-button,
a.felan-btn {
  font-family: var(--font-family-base) !important;
  font-weight: var(--font-weight-semibold) !important;
  background-color: var(--primary-500) !important;
  color: var(--text-white) !important;
  border: none !important;
}
.felan-button:hover, .felan-button:focus,
.felan-btn:hover,
.felan-btn:focus,
a.felan-button:hover,
a.felan-button:focus,
a.felan-btn:hover,
a.felan-btn:focus {
  background-color: var(--primary-600) !important;
  color: var(--text-white) !important;
}

/* Felan links */
.felan-link,
a[class*=felan-] {
  color: var(--primary-500) !important;
}
.felan-link:hover, .felan-link:focus,
a[class*=felan-]:hover,
a[class*=felan-]:focus {
  color: var(--primary-700) !important;
}

/* Felan headings */
[class*=felan-heading],
[class*=felan-title] {
  font-family: var(--font-family-heading) !important;
  color: var(--text-primary) !important;
  font-weight: var(--font-weight-bold) !important;
}

/* ========================================
   FORM ELEMENTS
   ======================================== */
input,
textarea,
select {
  font-family: var(--font-family-base) !important;
  font-size: var(--font-size-base) !important;
  color: var(--text-primary) !important;
}

/* ========================================
   REMOVE BUTTON SHIMMER EFFECTS
   ======================================== */
/* Remove the shine/shimmer effect on all buttons */
.btn::before,
button:not(.theme-toggle)::before,
input[type=button]::before,
input[type=reset]::before,
input[type=submit]::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.btn::after,
button:not(.theme-toggle)::after,
input[type=button]::after,
input[type=reset]::after,
input[type=submit]::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

/* ========================================
   WORDPRESS OVERRIDES
   ======================================== */
/* WordPress blocks */
.wp-block-button__link {
  font-family: var(--font-family-base) !important;
  font-weight: var(--font-weight-semibold) !important;
  background-color: var(--primary-500) !important;
  color: var(--text-white) !important;
}
.wp-block-button__link:hover, .wp-block-button__link:focus {
  background-color: var(--primary-600) !important;
  color: var(--text-white) !important;
}

/* WordPress editor */
.editor-styles-wrapper {
  font-family: var(--font-family-base) !important;
}
.editor-styles-wrapper h1, .editor-styles-wrapper h2, .editor-styles-wrapper h3, .editor-styles-wrapper h4, .editor-styles-wrapper h5, .editor-styles-wrapper h6 {
  font-family: var(--font-family-heading) !important;
  color: var(--text-primary) !important;
}
.editor-styles-wrapper a {
  color: var(--primary-500) !important;
}

/* ========================================
   ELEMENTOR OVERRIDES
   ======================================== */
/* Elementor headings */
.elementor-heading-title {
  font-family: var(--font-family-heading) !important;
  color: var(--text-primary) !important;
}

/* Elementor buttons */
.elementor-button {
  font-family: var(--font-family-base) !important;
  font-weight: var(--font-weight-semibold) !important;
}
.elementor-button.elementor-button-primary {
  background-color: var(--primary-500) !important;
  border-color: var(--primary-500) !important;
}
.elementor-button.elementor-button-primary:hover, .elementor-button.elementor-button-primary:focus {
  background-color: var(--primary-600) !important;
  border-color: var(--primary-600) !important;
}

/* Elementor text editor */
.elementor-text-editor {
  font-family: var(--font-family-base) !important;
  color: var(--brand-white) !important;
  line-height: var(--line-height-relaxed) !important;
}
.elementor-text-editor a {
  color: var(--primary-500) !important;
}
.elementor-text-editor a:hover {
  color: var(--primary-700) !important;
}

/* ========================================
   UTILITY OVERRIDES
   ======================================== */
/* Force our backgrounds over default white */
body,
.site,
#page,
#wrapper,
#content,
.site-content {
  background-color: var(--bg-page) !important;
}

/* Fix dual scroll issue - ensure normal page scrolling */
html {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  min-height: 100% !important;
  max-height: none !important;
}

body {
  overflow: visible !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  min-height: 100% !important;
  max-height: none !important;
}

/* Target all WordPress wrapper elements */
#wrapper,
.site,
#page,
.site-content,
#content,
#primary,
.content-area,
main,
.main-content,
#main,
.entry-content,
.wp-site-blocks {
  overflow: visible !important;
  overflow-y: visible !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  position: relative !important;
}

/* Ensure sticky header doesn't create scroll issues */
.sticky-header,
.float-header,
.site-header {
  position: relative !important;
}

/* Fix scroll lock when profile dropdown is open */
body:has(.dreamers-profile-dropdown.is-open),
html:has(.dreamers-profile-dropdown.is-open) {
  overflow: visible !important;
  overflow-y: auto !important;
  height: auto !important;
  position: relative !important;
}

/* Ensure dropdown doesn't create scroll container */
.dreamers-profile-dropdown.is-open {
  overflow: visible !important;
  position: fixed !important;
  will-change: auto !important;
}

/* Fix scroll lock when notifications dropdown is open */
body:has(.notifications-dropdown.is-open),
html:has(.notifications-dropdown.is-open) {
  overflow: visible !important;
  overflow-y: auto !important;
  height: auto !important;
  position: relative !important;
}

/* Ensure notifications dropdown escapes header bounds */
.notifications-dropdown.is-open {
  overflow: visible !important;
  position: fixed !important;
  will-change: auto !important;
  z-index: 2000 !important;
}

/* Ensure header allows dropdown overflow */
.dreamers-custom-header,
.dreamers-header-container,
.dreamers-header-actions,
.header-notifications {
  overflow: visible !important;
}

/* WordPress Admin Bar Fixes */
.admin-bar html,
.admin-bar body {
  overflow: visible !important;
  overflow-y: auto !important;
  position: static !important;
}

/* Fix admin bar creating scroll issues */
#wpadminbar {
  position: fixed !important;
  overflow: visible !important;
}

html.admin-bar {
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  margin-top: 0 !important;
}

body.admin-bar {
  overflow: visible !important;
  overflow-y: visible !important;
  margin-top: 0 !important;
}

/* Safari-specific scroll fixes */
@supports (-webkit-appearance: none) {
  html {
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
  }
  body {
    overflow: visible !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: auto !important;
    position: static !important;
  }
  /* Safari + WordPress Admin Bar */
  html.admin-bar {
    overflow-y: scroll !important;
    margin-top: 0 !important;
  }
  body.admin-bar {
    overflow: visible !important;
    overflow-y: visible !important;
    margin-top: 0 !important;
    -webkit-overflow-scrolling: auto !important;
  }
  /* Prevent Safari from locking scroll with dropdowns */
  body:has(.dreamers-profile-dropdown.is-open) {
    overflow: visible !important;
    position: static !important;
    -webkit-overflow-scrolling: auto !important;
  }
  #wrapper,
  .site,
  #page {
    overflow: visible !important;
    -webkit-overflow-scrolling: auto !important;
  }
}
/* Selection colors */
::selection {
  background-color: var(--primary-alpha-20) !important;
  color: var(--text-primary) !important;
}

::-moz-selection {
  background-color: var(--primary-alpha-20) !important;
  color: var(--text-primary) !important;
}

/* Bootstrap modal background override */
.modal-content {
  background-color: var(--rich-black) !important;
}

/**
 * Header Layout - Modern Glass Morphism Design
 * Polished, minimal, and consistent with system components
 */
/* ========================================
   BASE HEADER STYLES
   ======================================== */
.site-header {
  position: relative;
  z-index: 200;
}

/* ========================================
   DREAMERS CUSTOM HEADER
   Glass morphism with refined aesthetics
   ======================================== */
.dreamers-custom-header {
  position: relative;
  z-index: 200;
  padding: 0;
  background: var(--rich-black);
  border-bottom: 1px solid var(--midnight-end);
  transition: var(--transition-base);
  overflow: visible !important;
}
.dreamers-custom-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  opacity: 0.6;
  pointer-events: none;
}

/* ========================================
   HEADER CONTAINER
   ======================================== */
.dreamers-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin: 0 auto;
  min-height: 64px;
  overflow: visible;
  position: relative;
}
@media (min-width: 768px) {
  .dreamers-header-container {
    padding: var(--spacing-3) var(--spacing-6);
    min-height: 72px;
  }
}
@media (min-width: 1024px) {
  .dreamers-header-container {
    gap: var(--spacing-6);
  }
}

/* ========================================
   LOGO SECTION
   ======================================== */
.dreamers-logo-section {
  flex-shrink: 0;
  z-index: 10;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 1024px) {
  .dreamers-logo-section {
    position: static;
    left: auto;
    transform: none;
  }
}

.dreamers-logo {
  display: flex;
  align-items: start;
}
.dreamers-logo:hover .logo-x {
  transform: rotate(-5deg) scale(1.05);
}
.dreamers-logo:hover .logo-text {
  opacity: 1;
}
.dreamers-logo:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}
@media (min-width: 768px) {
  .dreamers-logo {
    padding: 5px 5px !important;
  }
}
.dreamers-logo .logo-x {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-top: 4px;
}
@media (min-width: 768px) {
  .dreamers-logo .logo-x {
    width: 36px;
    height: 36px;
  }
}
.dreamers-logo .x-icon-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.dreamers-logo .logo-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dreamers-logo .logo-text {
  font-family: var(--font-family-logo);
  color: var(--text-primary);
  white-space: nowrap;
  opacity: 0.95;
  transition: opacity 0.2s ease;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}
.dreamers-logo .logo-text--small {
  font-size: 0.6em;
  font-weight: 400;
  letter-spacing: 0.5em;
  margin-bottom: 0.1em;
}
@media (min-width: 768px) {
  .dreamers-logo .logo-text--small {
    font-size: 0.65em;
  }
}
.dreamers-logo .logo-text--large {
  font-size: 1.5em;
  font-weight: 900;
  letter-spacing: 0.2em;
}
@media (min-width: 768px) {
  .dreamers-logo .logo-text--large {
    font-size: 1.75em;
  }
}

/* ========================================
   SEARCH SECTION - Desktop
   Matches notification dropdown polish
   ======================================== */
.dreamers-search-section {
  display: none;
}
@media (min-width: 1024px) {
  .dreamers-search-section {
    display: block;
    flex: 1;
    min-width: 200px;
    max-width: 420px;
  }
}

.dreamers-search-form {
  width: 100%;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.search-icon-prefix {
  position: absolute;
  left: var(--spacing-4);
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
  width: 18px;
  height: 18px;
  transition: color 0.2s ease;
}

.dreamers-search-input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 var(--spacing-10) 0 var(--spacing-10);
  background: var(--bg-muted);
  border: 1px solid var(--primary-alpha-10);
  border-radius: var(--radius-xl);
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  color: var(--text-primary);
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.dreamers-search-input::placeholder {
  color: var(--text-muted);
}
.dreamers-search-input:hover {
  border-color: var(--primary-alpha-15);
  background: var(--bg-muted);
}
.dreamers-search-input:focus {
  outline: none !important;
  border-color: var(--primary-500);
  background: var(--bg-muted);
  box-shadow: 0 0 0 3px var(--primary-alpha-15);
}
.dreamers-search-input:focus ~ .search-icon-prefix,
.dreamers-search-input:focus + .search-icon-prefix {
  color: var(--primary-400);
}

.search-shortcut {
  position: absolute;
  right: var(--spacing-3);
  padding: 3px 8px;
  background: var(--primary-alpha-20);
  border: 1px solid var(--primary-alpha-30);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--primary-400);
  pointer-events: none;
  transition: var(--transition-base);
}
.dreamers-search-input:focus ~ .search-shortcut {
  background: var(--primary-500);
  border-color: var(--primary-500);
  color: var(--rich-black);
}
.dreamers-search-input:not(:placeholder-shown) ~ .search-shortcut {
  display: none;
}

.search-input-wrapper .dreamers-search-clear {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 40px;
  z-index: 10;
  box-sizing: border-box;
}
.search-input-wrapper .dreamers-search-clear:hover, .search-input-wrapper .dreamers-search-clear:focus, .search-input-wrapper .dreamers-search-clear:active {
  transform: translateY(-50%);
}
.search-input-wrapper .dreamers-search-clear:active {
  transform: translateY(-50%) scale(0.95);
}
@media (min-width: 1024px) {
  .search-input-wrapper .dreamers-search-clear {
    right: var(--spacing-3);
  }
}

/* ========================================
   SEARCH TOGGLE - Mobile/Tablet
   ======================================== */
.dreamers-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-base);
  flex-shrink: 0;
}
.dreamers-search-toggle svg {
  width: 20px;
  height: 20px;
}
.dreamers-search-toggle:hover {
  background: var(--primary-400);
  color: var(--text-primary);
}
.dreamers-search-toggle:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}
@media (min-width: 1024px) {
  .dreamers-search-toggle {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .dreamers-search-toggle {
    padding: 5px 5px !important;
  }
}

/* ========================================
   NAVIGATION - Desktop
   Clean, minimal nav items
   ======================================== */
.dreamers-navigation {
  display: none;
}
@media (min-width: 1024px) {
  .dreamers-navigation {
    display: flex;
    align-items: center;
  }
}

.dreamers-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--spacing-4);
}
.dreamers-nav-menu li {
  margin: 0;
  padding: 0;
}
.dreamers-nav-menu a {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-1) var(--spacing-4);
  color: var(--brand-white) !important;
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  position: relative;
  background: var(--gradient-midnight) !important;
  border: 2px solid var(--midnight-end);
  backdrop-filter: blur(10px);
}
.dreamers-nav-menu a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.dreamers-nav-menu a:hover {
  color: var(--text-white) !important;
  background: linear-gradient(180deg, var(--midnight-end) 0%, color-mix(in srgb, var(--midnight-end) 82%, var(--text-white)) 100%) !important;
  border-color: color-mix(in srgb, var(--midnight-end) 75%, var(--text-white));
  transform: translateY(-1px);
}
.dreamers-nav-menu a:hover svg {
  opacity: 1;
  stroke: var(--text-white);
}
.dreamers-nav-menu a:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}
.dreamers-nav-menu a.active {
  color: var(--text-white) !important;
  background: var(--gradient-midnight);
}
.dreamers-nav-menu a.active svg {
  opacity: 1;
  stroke: var(--text-white);
}

/* ========================================
   HEADER ACTIONS
   ======================================== */
.dreamers-header-actions {
  display: none;
  overflow: visible;
}
@media (min-width: 1024px) {
  .dreamers-header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-8);
  }
}

/* ========================================
   THEME TOGGLE BUTTON (Dark/Light)
   ======================================== */
.dreamers-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0 !important;
  background: transparent;
  color: var(--text-secondary) !important;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  border: 1px solid var(--primary-400) !important;
  border-radius: 999px;
}
.dreamers-theme-toggle:hover {
  border: 1px solid var(--primary-400) !important;
  border-radius: 999px;
}
.dreamers-theme-toggle::before, .dreamers-theme-toggle::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
.dreamers-theme-toggle svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.dreamers-theme-toggle:hover {
  border-color: var(--gradient-midnight);
  color: var(--text-primary) !important;
}
.dreamers-theme-toggle:focus {
  outline: none;
}
.dreamers-theme-toggle:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}
.dreamers-theme-toggle:active {
  transform: scale(0.98);
}

.dreamers-theme-toggle__icon--sun {
  display: none;
}

.dreamers-theme-toggle__icon--moon {
  display: none;
}

body.dark-theme .dreamers-theme-toggle__icon--moon,
body:not(.light-theme) .dreamers-theme-toggle__icon--moon {
  display: block;
}

body.light-theme .dreamers-theme-toggle__icon--sun {
  display: block;
}

body.light-theme .dreamers-theme-toggle__icon--moon {
  display: none;
}

.header-theme-toggle {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
  margin-left: 0.2em;
}

/* ========================================
   CTA BUTTON
   Premium feel with glow
   ======================================== */
.dreamers-cta-btn {
  display: none;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-1) var(--spacing-5);
  background: var(--primary-400);
  color: #000 !important;
  border: 2px solid var(--primary-500);
  border-radius: var(--radius-xl);
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 12px var(--primary-alpha-30);
  position: relative;
  overflow: hidden;
  min-width: 150px;
  justify-content: center;
}
@media (min-width: 768px) {
  .dreamers-cta-btn {
    display: inline-flex;
  }
}
.dreamers-cta-btn span {
  position: relative;
  z-index: 1;
}
.dreamers-cta-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
}
.dreamers-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.dreamers-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--primary-alpha-50), var(--glow-subtle);
  color: var(--primary-25) !important;
}
.dreamers-cta-btn:hover svg {
  transform: translateX(3px);
}
.dreamers-cta-btn:hover::before {
  left: 100%;
}
.dreamers-cta-btn:focus {
  outline: 2px solid var(--primary-300);
  outline-offset: 2px;
}
.dreamers-cta-btn:active {
  transform: translateY(0);
}

/* ========================================
   SIGN IN BUTTON
   ======================================== */
.dreamers-signin-btn {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-2_5) var(--spacing-5);
  background: transparent;
  color: var(--brand-white) !important;
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-xl);
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  transition: var(--transition-base);
}
.dreamers-signin-btn:hover {
  border-color: var(--primary-alpha-40);
  color: var(--primary-400) !important;
  background: var(--primary-alpha-5);
}
.dreamers-signin-btn:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* ========================================
   PROFILE SECTION
   Polished avatar dropdown
   ======================================== */
.dreamers-profile-section {
  position: relative;
  display: flex;
  align-items: center;
}

.dreamers-profile-btn {
  width: 40px;
  height: 40px;
  padding: 0 !important;
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-base);
  overflow: hidden;
  position: relative;
}
.dreamers-profile-btn .profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.dreamers-profile-btn:hover {
  border-color: var(--primary-alpha-40);
}
.dreamers-profile-btn:hover .profile-avatar {
  transform: scale(1.05);
}
.dreamers-profile-btn:focus {
  outline: none !important;
  border-color: var(--primary-500) !important;
  box-shadow: 0 0 0 3px var(--primary-alpha-20) !important;
}
.dreamers-profile-btn[aria-expanded=true] {
  border-color: var(--primary-500);
}

/* ========================================
   PROFILE DROPDOWN
   ======================================== */
.dreamers-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  z-index: var(--z-dropdown);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 20px 40px rgba(0, 0, 0, 0.7), 0 4px 12px rgba(0, 0, 0, 0.4);
}
.dreamers-profile-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.profile-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.profile-dropdown-header .profile-dropdown-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.profile-dropdown-header .profile-dropdown-name {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.3;
}
.profile-dropdown-header .profile-dropdown-email {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.35);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;
}

.profile-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 4px 0;
}

.dreamers-profile-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
  border-radius: 0;
}
.dreamers-profile-dropdown a svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.15s ease;
}
.dreamers-profile-dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
}
.dreamers-profile-dropdown a:hover svg {
  color: rgba(255, 255, 255, 0.7);
}
.dreamers-profile-dropdown a:focus-visible {
  outline: none;
  background: rgba(59, 211, 211, 0.06);
  color: var(--primary-400) !important;
}
.dreamers-profile-dropdown a:last-child:hover {
  background: rgba(239, 68, 68, 0.08);
  color: #f87171 !important;
}
.dreamers-profile-dropdown a:last-child:hover svg {
  color: #f87171;
}

/* ========================================
   MOBILE MENU TOGGLE
   ======================================== */
.dreamers-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-base);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.dreamers-mobile-toggle:hover {
  box-shadow: none !important;
}
.dreamers-mobile-toggle:focus {
  box-shadow: none !important;
}
.dreamers-mobile-toggle:active {
  transform: scale(0.95);
}
@media (min-width: 1024px) {
  .dreamers-mobile-toggle {
    display: none !important;
  }
}

.hamburger {
  width: 22px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
.mobile-menu-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-open .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   SEARCH MODAL - Mobile/Tablet
   ======================================== */
.dreamers-search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--rich-black);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
}
.dreamers-search-modal .search-modal-content {
  background: var(--rich-black);
  height: 100%;
  width: 100%;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
}
.dreamers-search-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.dreamers-search-modal.is-open .search-modal-content {
  transform: translateY(0);
  opacity: 1;
}
@media (min-width: 1024px) {
  .dreamers-search-modal {
    display: none !important;
  }
}
.dreamers-search-modal .search-modal-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-2) var(--spacing-4);
  min-height: 64px;
  border-bottom: 1px solid var(--gradient-midnight);
}
@media (min-width: 768px) {
  .dreamers-search-modal .search-modal-header {
    min-height: 72px;
    padding: var(--spacing-3) var(--spacing-6);
  }
}
.dreamers-search-modal .search-modal-header .dreamers-search-form {
  flex: 1;
}
.dreamers-search-modal .search-modal-header .search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.dreamers-search-modal .search-modal-header .dreamers-search-input {
  width: 100%;
  height: 40px;
  padding: 0 var(--spacing-4) 0 var(--spacing-10) !important;
  border: none !important;
  border-radius: var(--radius-lg) !important;
  font-size: var(--font-size-base);
  color: var(--text-primary);
  transition: var(--transition-base);
  box-shadow: none !important;
}
@media (min-width: 768px) {
  .dreamers-search-modal .search-modal-header .dreamers-search-input {
    height: 44px;
  }
}
.dreamers-search-modal .search-modal-header .dreamers-search-input::placeholder {
  color: var(--text-muted);
}
.dreamers-search-modal .search-modal-header .dreamers-search-input:focus {
  outline: none !important;
  background: var(--bg-hover) !important;
  border: none !important;
  box-shadow: none !important;
}
.dreamers-search-modal .search-modal-header .search-icon-prefix {
  position: absolute;
  left: var(--spacing-3);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
  border: none !important;
}
.dreamers-search-modal .search-modal-cancel {
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: var(--spacing-2) var(--spacing-1);
  color: var(--brand-white);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.dreamers-search-modal .search-modal-cancel:hover, .dreamers-search-modal .search-modal-cancel:active {
  opacity: 0.7;
}
.dreamers-search-modal .search-modal-cancel:focus {
  outline: none;
}

/* ========================================
   MOBILE MENU - Slide Down
   Modern drawer with smooth animations
   ======================================== */
.dreamers-mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  border-bottom: 1px solid var(--gradient-midnight);
  box-shadow: var(--shadow-xl);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  z-index: 199;
}
@media (min-width: 768px) {
  .dreamers-mobile-menu {
    top: 72px;
  }
}
@media (min-width: 1024px) {
  .dreamers-mobile-menu {
    display: none !important;
  }
}
.mobile-menu-open .dreamers-mobile-menu {
  max-height: calc(100vh - 64px);
  max-height: calc(100dvh - 64px);
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .mobile-menu-open .dreamers-mobile-menu {
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
  }
}

.mobile-menu-content {
  padding: var(--spacing-4) var(--spacing-5);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
  background: var(--rich-black);
}
@media (min-width: 768px) {
  .mobile-menu-content {
    padding: var(--spacing-5) var(--spacing-6);
  }
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-4);
  color: var(--text-primary);
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-xl);
  transition: var(--transition-base);
  min-height: 56px;
}
.mobile-nav-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.6;
  stroke: var(--brand-white);
  transition: opacity 0.2s ease;
}
.mobile-nav-item span {
  color: var(--brand-white);
}
.mobile-nav-item:hover svg, .mobile-nav-item:focus svg {
  opacity: 1;
}
.mobile-nav-item:focus {
  outline: none;
}

.mobile-menu-divider {
  height: 1px;
  background: var(--gradient-midnight);
  margin: var(--spacing-3) 0;
}

.mobile-menu-user,
.mobile-menu-auth {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
}

.mobile-menu-cta {
  margin-top: var(--spacing-4);
  padding-top: var(--spacing-4);
  border-top: 1px solid var(--primary-alpha-15);
}
.mobile-menu-cta .mobile-cta-btn {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: var(--spacing-4) var(--spacing-6);
  font-size: var(--font-size-base);
  min-height: 56px;
  border-radius: var(--radius-xl);
}
.mobile-menu-cta .mobile-cta-btn svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   MOBILE SEARCH IN MENU
   ======================================== */
.mobile-search-section {
  padding: var(--spacing-4) var(--spacing-5);
  border-bottom: 1px solid var(--gradient-midnight);
  background: var(--bg-subtle);
}

.mobile-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.mobile-search-input-wrapper::before {
  content: "";
  position: absolute;
  left: var(--spacing-4);
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8' stroke='rgba(252,255,255,0.4)' stroke-width='2'/%3E%3Cpath d='m21 21-4.35-4.35' stroke='rgba(252,255,255,0.4)' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

.dreamers-mobile-search-input {
  width: 100%;
  height: 52px;
  padding: 0 var(--spacing-4) 0 var(--spacing-12);
  background: var(--bg-muted);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-xl);
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  color: var(--text-primary);
  transition: var(--transition-base);
}
.dreamers-mobile-search-input::placeholder {
  color: var(--text-muted);
}
.dreamers-mobile-search-input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-alpha-15);
}

.dreamers-mobile-search-btn {
  position: absolute;
  right: var(--spacing-2);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-500);
  border: none;
  border-radius: var(--radius-lg);
  color: var(--rich-black);
  cursor: pointer;
  transition: var(--transition-base);
}
.dreamers-mobile-search-btn svg {
  width: 18px;
  height: 18px;
}
.dreamers-mobile-search-btn:hover {
  background: var(--primary-400);
  transform: scale(1.02);
}
.dreamers-mobile-search-btn:focus {
  outline: 2px solid var(--primary-300);
  outline-offset: 2px;
}

/* ========================================
   MOBILE MENU — INTEGRATED ACTION ITEMS
   ======================================== */
button.mobile-nav-item {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.mobile-action-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--primary-500);
  color: var(--rich-black);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

/* ========================================
   STICKY HEADER - Dashboard Pages
   ======================================== */
body.dreamers-dashboard-page .dreamers-custom-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 200;
}

.admin-bar.dreamers-dashboard-page .dreamers-custom-header {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  .admin-bar.dreamers-dashboard-page .dreamers-custom-header {
    top: 46px !important;
  }
}

.admin-bar .dreamers-mobile-menu {
  top: 96px;
}
@media (min-width: 768px) {
  .admin-bar .dreamers-mobile-menu {
    top: 104px;
  }
}
@media screen and (max-width: 782px) {
  .admin-bar .dreamers-mobile-menu {
    top: 110px;
  }
}

/* ========================================
   DASHBOARD PAGE ADJUSTMENTS
   ======================================== */
.dashboard-page .dreamers-custom-header::before, .dashboard-page .dreamers-custom-header::after {
  display: none;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
body.search-modal-open {
  overflow: hidden;
}
@media (min-width: 1024px) {
  body.search-modal-open {
    overflow: visible;
  }
}

@media (max-width: 1023px) {
  body.mobile-menu-open {
    overflow: hidden;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .dreamers-custom-header,
  .dreamers-mobile-menu,
  .dreamers-search-modal,
  .dreamers-profile-dropdown,
  .hamburger span,
  .dreamers-cta-btn::before {
    transition: none !important;
    animation: none !important;
  }
}
/* Focus visible for keyboard users */
.dreamers-header-container *:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* ========================================
   LIGHT THEME OVERRIDES
   ======================================== */
body.light-theme .dreamers-profile-dropdown {
  background: var(--bg-dropdown);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-xl);
}
body.light-theme .profile-dropdown-header {
  border-bottom-color: var(--border-subtle);
}
body.light-theme .profile-dropdown-header .profile-dropdown-avatar {
  border-color: var(--border-subtle);
}
body.light-theme .profile-dropdown-header .profile-dropdown-name {
  color: var(--text-primary);
}
body.light-theme .profile-dropdown-header .profile-dropdown-email {
  color: var(--text-muted);
}
body.light-theme .profile-dropdown-divider {
  background: var(--border-subtle);
}
body.light-theme .dreamers-profile-dropdown a {
  color: var(--text-secondary) !important;
}
body.light-theme .dreamers-profile-dropdown a svg {
  color: var(--text-tertiary);
}
body.light-theme .dreamers-profile-dropdown a:hover {
  background: var(--bg-active);
  color: var(--text-primary) !important;
}
body.light-theme .dreamers-profile-dropdown a:hover svg {
  color: var(--text-secondary);
}
body.light-theme .dreamers-profile-dropdown a:last-child:hover {
  background: rgba(239, 68, 68, 0.06);
  color: var(--danger-color) !important;
}
body.light-theme .dreamers-profile-dropdown a:last-child:hover svg {
  color: var(--danger-color);
}
body.light-theme .dreamers-signin-btn {
  border-color: var(--border-subtle);
}
body.light-theme .dreamers-search-input,
body.light-theme .dreamers-mobile-search-input {
  background: var(--bg-input);
  border-color: var(--primary-alpha-15);
  color: var(--text-primary);
}
body.light-theme .dreamers-search-input::placeholder,
body.light-theme .dreamers-mobile-search-input::placeholder {
  color: var(--text-muted);
}
body.light-theme .dreamers-search-modal,
body.light-theme .dreamers-search-modal .search-modal-content {
  background: var(--bg-page);
}
body.light-theme .mobile-search-input-wrapper::before {
  filter: invert(1) brightness(0.4);
}
body.light-theme .mobile-menu-content {
  background: var(--bg-page);
}
body.light-theme .mobile-search-section {
  background: var(--bg-muted);
}

/**
 * Footer Layout - Comprehensive Responsive Design
 */
.site-footer {
  position: relative;
  z-index: 150; /* Above dashboard fixed sidebar (z-index: 100) when scrolling */
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(1rem, 3vw, 2rem);
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}
.site-footer a {
  color: var(--primary);
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: var(--primary);
}
.site-footer .container {
  padding: 0 clamp(1rem, 3vw, 2rem);
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Footer Widgets - Responsive Grid */
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 640px) {
  .footer-widgets {
    grid-template-columns: 1fr;
  }
}

.footer-widget {
  min-width: 0;
}
.footer-widget h3, .footer-widget h4 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  color: var(--text-white);
}
.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-widget ul li {
  margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
}
.footer-widget a {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  text-decoration: none;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: clamp(1rem, 2vw, 2rem);
  margin-top: clamp(1.5rem, 3vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 767px) {
  .footer-copyright {
    margin-bottom: 1rem;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 1.5rem);
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-end;
  }
}
.footer-links a {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  white-space: nowrap;
}

/* Footer Social Links */
.footer-social {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1rem);
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 768px) {
  .footer-social {
    justify-content: flex-start;
  }
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(36px, 5vw, 44px);
  height: clamp(36px, 5vw, 44px);
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}
.footer-social a:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}
.footer-social a svg {
  width: clamp(18px, 3vw, 20px);
  height: clamp(18px, 3vw, 20px);
  fill: currentColor;
}

/**
 * Professional Multi-Column Footer Styles
 *
 * @package Dreamers_X
 */
.dreamers-custom-footer {
  position: relative;
  z-index: 150;
  background: var(--bg-page);
  padding: var(--spacing-12, 48px) 0;
  color: var(--text-secondary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Roboto", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}
.dreamers-custom-footer p {
  color: var(--brand-white) !important;
}
.dreamers-custom-footer .dreamers-footer-divider {
  border: 0;
  border-top: 1px solid var(--midnight-end);
  margin: var(--spacing-10, 40px) 0;
}

.dreamers-footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--spacing-12, 48px);
}

.dreamers-footer-company {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2, 8px);
}
.dreamers-footer-company .dreamers-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.12em;
  text-decoration: none;
}
.dreamers-footer-company .dreamers-footer-logo .logo-x {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 1.8em;
  flex-shrink: 0;
  /* Optical adjustment for precise alignment with cap-height */
  transform: translateY(0.04em);
}
.dreamers-footer-company .dreamers-footer-logo .logo-x .x-icon-svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(70%) sepia(40%) saturate(495%) hue-rotate(130deg);
}
.dreamers-footer-company .dreamers-footer-logo .logo-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fcffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}
.dreamers-footer-company .dreamers-footer-tagline {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(252, 255, 255, 0.6);
  margin: 0;
}

.dreamers-footer-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--spacing-8, 32px);
  margin: var(--spacing-8, 32px) 0;
}

.dreamers-footer-nav-group {
  display: flex;
  flex-direction: column;
}

.dreamers-footer-nav-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(252, 255, 255, 0.4);
  margin: 0 0 var(--spacing-4, 16px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dreamers-footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2, 8px);
}
.dreamers-footer-nav-list li {
  margin: 0;
}
.dreamers-footer-nav-list li a {
  color: rgba(252, 255, 255, 0.7) !important;
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: color 0.2s ease;
  padding: 0 !important;
}
.dreamers-footer-nav-list li a:hover {
  color: var(--primary-400, #0BF9EA) !important;
}

.dreamers-footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--spacing-8, 32px);
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.5);
}
.dreamers-footer-bottom-content a {
  color: rgba(252, 255, 255, 0.5) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.dreamers-footer-bottom-content a:hover {
  color: #fcffff !important;
}

.dreamers-footer-social-wrap .dreamers-social-link {
  font-weight: 500;
}

.dreamers-footer-top-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-8, 32px);
  padding-bottom: var(--spacing-8, 32px);
}

.dreamers-footer-top-left {
  flex: 0 0 auto;
  max-width: 420px;
  width: 100%;
}

.dreamers-footer-top-right {
  flex: 0 0 auto;
  max-width: 420px;
  width: 100%;
}

.dreamers-footer-newsletter {
  border-radius: 12px;
  background: rgba(59, 211, 211, 0.03);
}

.dreamers-newsletter-content h3.dreamers-newsletter-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fcffff;
  margin: 0 0 var(--spacing-2, 8px);
  letter-spacing: 0.02em;
}
.dreamers-newsletter-content .dreamers-newsletter-description {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.55);
  margin: 0 0 var(--spacing-4, 16px);
  line-height: 1.5;
}

.dreamers-newsletter-form .newsletter-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2, 8px);
  margin-bottom: var(--spacing-3, 12px);
}
.dreamers-newsletter-form .newsletter-input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.dreamers-newsletter-form .newsletter-input-group .newsletter-icon {
  position: absolute;
  left: 12px;
  color: rgba(252, 255, 255, 0.4);
  pointer-events: none;
  z-index: 1;
}
.dreamers-newsletter-form .newsletter-input-group .newsletter-email-input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--midnight-end);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: all 0.2s ease;
}
.dreamers-newsletter-form .newsletter-input-group .newsletter-email-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.dreamers-newsletter-form .newsletter-input-group .newsletter-email-input:focus {
  outline: none;
  border-color: #3BD3D3;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.15);
}
.dreamers-newsletter-form .newsletter-input-group .newsletter-email-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.dreamers-newsletter-form .newsletter-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2, 8px);
  width: 100%;
  height: 44px;
  background: var(--gold-400);
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: var(--font-size-base);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.dreamers-newsletter-form .newsletter-submit-btn .btn-icon {
  transition: transform 0.2s ease;
}
.dreamers-newsletter-form .newsletter-submit-btn:hover:not(:disabled) {
  box-shadow: 0 0 16px rgba(59, 211, 211, 0.4);
  transform: translateY(-1px);
}
.dreamers-newsletter-form .newsletter-submit-btn:hover:not(:disabled) .btn-icon {
  transform: translateX(2px);
}
.dreamers-newsletter-form .newsletter-submit-btn:focus-visible {
  outline: 2px solid #3BD3D3;
  outline-offset: 2px;
}
.dreamers-newsletter-form .newsletter-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.dreamers-newsletter-form .newsletter-message {
  display: none;
  align-items: center;
  gap: var(--spacing-2, 8px);
  padding: var(--spacing-3, 12px) var(--spacing-4, 16px);
  border-radius: 8px;
  font-size: var(--font-size-base);
}
.dreamers-newsletter-form .newsletter-message.show {
  display: flex;
}
.dreamers-newsletter-form .newsletter-message svg {
  flex-shrink: 0;
}
.dreamers-newsletter-form .newsletter-message .message-text {
  line-height: 1.4;
}
.dreamers-newsletter-form .newsletter-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}
.dreamers-newsletter-form .newsletter-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.dreamers-newsletter-privacy {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.4);
  margin: var(--spacing-3, 12px) 0 0;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .dreamers-footer-container {
    padding: 0 var(--spacing-8, 32px);
  }
  .dreamers-footer-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-10, 40px);
  }
}
@media (max-width: 768px) {
  .dreamers-footer-container {
    padding: 0 var(--spacing-6, 24px);
  }
  .dreamers-footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .dreamers-footer-top-inner {
    flex-direction: column;
  }
  .dreamers-footer-top-left {
    max-width: 100%;
  }
  .dreamers-footer-top-right {
    max-width: 100%;
  }
  .dreamers-footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-4, 16px);
  }
}
@media (max-width: 480px) {
  .dreamers-footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-6, 24px);
  }
}
/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme .dreamers-custom-footer {
  color: var(--text-secondary);
}
body.light-theme .dreamers-custom-footer p {
  color: var(--text-primary) !important;
}
body.light-theme .dreamers-custom-footer .dreamers-footer-logo .logo-text {
  color: var(--text-primary);
}
body.light-theme .dreamers-custom-footer .dreamers-footer-tagline {
  color: var(--text-muted);
}
body.light-theme .dreamers-custom-footer .dreamers-footer-nav-title {
  color: var(--text-muted);
}
body.light-theme .dreamers-custom-footer .dreamers-footer-nav-list li a {
  color: var(--text-secondary) !important;
}
body.light-theme .dreamers-custom-footer .dreamers-newsletter-content h3.dreamers-newsletter-title {
  color: var(--text-primary);
}
body.light-theme .dreamers-custom-footer .dreamers-newsletter-content .dreamers-newsletter-description {
  color: var(--text-secondary);
}
body.light-theme .dreamers-custom-footer .newsletter-input-group .newsletter-icon {
  color: var(--text-muted);
}
body.light-theme .dreamers-custom-footer .newsletter-email-input {
  background: var(--bg-input);
  border-color: var(--primary-alpha-10);
  color: var(--text-input);
}
body.light-theme .dreamers-custom-footer .newsletter-email-input::placeholder {
  color: var(--text-muted);
}
body.light-theme .dreamers-custom-footer .newsletter-email-input:focus {
  background: var(--primary-alpha-5);
}
body.light-theme .dreamers-custom-footer .dreamers-newsletter-privacy {
  color: var(--text-muted);
}
body.light-theme .dreamers-custom-footer .dreamers-footer-bottom-content {
  color: var(--text-muted);
}
body.light-theme .dreamers-custom-footer .dreamers-footer-bottom-content a {
  color: var(--text-muted) !important;
}
body.light-theme .dreamers-custom-footer .dreamers-footer-bottom-content a:hover {
  color: var(--text-primary) !important;
}

/**
 * Button Components - Modern UI with Depth
 * Redesigned with shadows, animations, and premium feel
 */
/* Base button styles */
.btn,
button:not(.theme-toggle):not(.gallery-filter-chip):not(.dropdown-toggle),
input[type=submit],
input[type=button],
input[type=reset] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding: var(--btn-padding-base);
  height: var(--btn-height-base);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-none);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: none;
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  /* Add subtle depth by default */
  box-shadow: var(--shadow-sm);
  transform: translateY(0);
}
.btn:hover,
button:not(.theme-toggle):not(.gallery-filter-chip):not(.dropdown-toggle):hover,
input[type=submit]:hover,
input[type=button]:hover,
input[type=reset]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active,
button:not(.theme-toggle):not(.gallery-filter-chip):not(.dropdown-toggle):active,
input[type=submit]:active,
input[type=button]:active,
input[type=reset]:active {
  transform: translateY(0);
  box-shadow: var(--shadow-xs);
}
.btn:focus,
button:not(.theme-toggle):not(.gallery-filter-chip):not(.dropdown-toggle):focus,
input[type=submit]:focus,
input[type=button]:focus,
input[type=reset]:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-alpha-30), var(--shadow-md);
}
.btn:focus-visible,
button:not(.theme-toggle):not(.gallery-filter-chip):not(.dropdown-toggle):focus-visible,
input[type=submit]:focus-visible,
input[type=button]:focus-visible,
input[type=reset]:focus-visible {
  outline: 3px solid var(--primary-alpha-40);
  outline-offset: 2px;
}
.btn:disabled, .btn.disabled,
button:not(.theme-toggle):not(.gallery-filter-chip):not(.dropdown-toggle):disabled,
button:not(.theme-toggle):not(.gallery-filter-chip):not(.dropdown-toggle).disabled,
input[type=submit]:disabled,
input[type=submit].disabled,
input[type=button]:disabled,
input[type=button].disabled,
input[type=reset]:disabled,
input[type=reset].disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}
.btn.loading,
button:not(.theme-toggle):not(.gallery-filter-chip):not(.dropdown-toggle).loading,
input[type=submit].loading,
input[type=button].loading,
input[type=reset].loading {
  color: transparent;
  pointer-events: none;
}
.btn.loading::after,
button:not(.theme-toggle):not(.gallery-filter-chip):not(.dropdown-toggle).loading::after,
input[type=submit].loading::after,
input[type=button].loading::after,
input[type=reset].loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid var(--primary-alpha-20);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.btn,
button:not(.theme-toggle):not(.gallery-filter-chip):not(.dropdown-toggle),
input[type=submit],
input[type=button],
input[type=reset] {
  /* Animated shimmer effect */
}
.btn::before,
button:not(.theme-toggle):not(.gallery-filter-chip):not(.dropdown-toggle)::before,
input[type=submit]::before,
input[type=button]::before,
input[type=reset]::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.btn:hover::before,
button:not(.theme-toggle):not(.gallery-filter-chip):not(.dropdown-toggle):hover::before,
input[type=submit]:hover::before,
input[type=button]:hover::before,
input[type=reset]:hover::before {
  left: 100%;
}

/* Size variants */
.btn-sm {
  padding: var(--btn-padding-sm);
  height: var(--btn-height-sm);
  font-size: var(--font-size-base);
}

.btn-lg {
  padding: var(--btn-padding-lg);
  height: var(--btn-height-lg);
  font-size: var(--font-size-lg);
}

/* Color variants (Dark Theme) */
.btn-primary {
  background: var(--primary-500);
  color: #000;
  font-weight: var(--font-weight-bold);
  box-shadow: var(--shadow-primary), var(--glow-subtle);
}
.btn-primary:hover {
  background: var(--primary-500);
  box-shadow: var(--shadow-primary-lg), var(--glow-medium);
  transform: translateY(-2px);
}
.btn-primary:active {
  background: var(--primary-500);
  transform: translateY(0);
}
.btn-primary:focus {
  box-shadow: 0 0 0 3px var(--primary-alpha-30), var(--shadow-primary), var(--glow-subtle);
}

.btn-secondary {
  color: var(--text-primary);
  border: 1px solid var(--gradient-midnight);
}
.btn-secondary:hover {
  border-color: var(--gradient-midnight);
  transform: translateY(-2px);
}
.btn-secondary:active {
  background: var(--neutral-800);
}

.btn-success {
  background: var(--success-color);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.btn-success:hover {
  background: var(--success-dark);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--danger-color);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}
.btn-danger:hover {
  background: var(--danger-dark);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
  transform: translateY(-2px);
}

.btn-warning {
  background: var(--warning-color);
  color: var(--neutral-900);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}
.btn-warning:hover {
  background: var(--warning-dark);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
  transform: translateY(-2px);
}

.btn-info {
  background: var(--primary-500);
  color: var(--text-white);
  box-shadow: var(--shadow-primary);
}
.btn-info:hover {
  background: var(--primary-500);
  box-shadow: var(--shadow-primary-lg);
  transform: translateY(-2px);
}

/* Outline variants with modern borders (Dark Theme) */
.btn-outline-primary {
  color: var(--primary-500);
  border: 2px solid var(--primary-500);
  background-color: transparent;
  box-shadow: none;
}
.btn-outline-primary:hover {
  background: var(--primary-500);
  color: var(--rich-black);
  border-color: transparent;
  box-shadow: var(--shadow-primary), var(--glow-subtle);
}
.btn-outline-primary:focus {
  box-shadow: 0 0 0 3px var(--primary-alpha-20), var(--glow-subtle);
}

.btn-outline-secondary {
  color: var(--text-secondary);
  border: 2px solid var(--primary-alpha-15);
  background-color: transparent;
  box-shadow: none;
}
.btn-outline-secondary:hover {
  color: var(--text-primary);
  border-color: var(--primary-alpha-15);
}

/* Ghost variant (Dark Theme) */
.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--primary-500);
}
.btn-ghost:hover, .btn-ghost:focus {
  background-color: var(--primary-400);
  box-shadow: var(--glow-subtle);
}

/* Link variant */
.btn-link {
  background-color: transparent;
  border-color: transparent;
  color: var(--primary-color);
  text-decoration: underline;
}
.btn-link:hover, .btn-link:focus {
  color: var(--primary-500);
  text-decoration: none;
}

/* Block variant */
.btn-block {
  display: flex;
  width: 100%;
}

/* Icon buttons */
.btn-icon {
  padding: 0;
}
.btn-icon.btn-sm {
  width: var(--btn-height-sm);
}
.btn-icon.btn-lg {
  width: var(--btn-height-lg);
}

/* Button groups */
.btn-group {
  display: inline-flex;
  vertical-align: middle;
}
.btn-group .btn {
  position: relative;
  flex: 1 1 auto;
}
.btn-group .btn:not(:first-child) {
  margin-left: -2px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.btn-group .btn:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-group .btn:hover, .btn-group .btn:focus, .btn-group .btn.active {
  z-index: 1;
}

/* WordPress specific button overrides */
.wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: var(--btn-padding-base) !important;
  font-family: var(--font-family-base) !important;
  font-size: var(--font-size-base) !important;
  font-weight: var(--font-weight-semibold) !important;
  text-decoration: none !important;
  border-radius: var(--radius-lg) !important;
  transition: all 0.2s ease !important;
  background: var(--primary-500) !important;
  color: var(--text-white) !important;
  box-shadow: var(--shadow-primary) !important;
  border: none !important;
}
.wp-block-button__link:hover {
  background: var(--primary-500) !important;
  box-shadow: var(--shadow-primary-lg) !important;
  transform: translateY(-2px) !important;
  color: var(--text-white) !important;
}

/* Elementor button overrides */
.elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--spacing-2) !important;
  padding: var(--btn-padding-base) !important;
  font-family: var(--font-family-base) !important;
  font-weight: var(--font-weight-semibold) !important;
  text-decoration: none !important;
  border-radius: var(--radius-lg) !important;
  transition: all 0.2s ease !important;
  border: none !important;
}
.elementor-button.elementor-button-primary {
  background: var(--primary-500) !important;
  color: var(--text-white) !important;
  box-shadow: var(--shadow-primary) !important;
}
.elementor-button.elementor-button-primary:hover {
  background: var(--primary-500) !important;
  box-shadow: var(--shadow-primary-lg) !important;
  transform: translateY(-2px) !important;
}

/* Felan theme button overrides */
.felan-button,
a.felan-btn,
button.felan-btn {
  padding: var(--btn-padding-base) !important;
  font-family: var(--font-family-base) !important;
  font-weight: var(--font-weight-semibold) !important;
  border-radius: var(--radius-lg) !important;
  transition: all 0.2s ease !important;
  background: var(--primary-500) !important;
  color: var(--text-white) !important;
  box-shadow: var(--shadow-primary) !important;
  border: none !important;
}
.felan-button:hover,
a.felan-btn:hover,
button.felan-btn:hover {
  background: var(--primary-500) !important;
  box-shadow: var(--shadow-primary-lg) !important;
  transform: translateY(-2px) !important;
  color: var(--text-white) !important;
}

/* Rich black variant for Project Room button */
a.btn[href*=project-room] {
  background: var(--rich-black) !important;
  color: var(--text-white) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  border: 1px solid var(--primary-alpha-15) !important;
}
a.btn[href*=project-room]:hover {
  background: var(--neutral-900) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-2px) !important;
}
a.btn[href*=project-room]:active {
  background: var(--rich-black) !important;
  transform: translateY(0) !important;
}
a.btn[href*=project-room]:focus {
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.3), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/**
 * Card Components - Modern with Depth
 * Beautiful, elevated cards with shadows and hover effects
 */
/* Base card styles (Dark Theme) */
.card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gradient-midnight);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
}
.card:hover {
  box-shadow: var(--shadow-lg), var(--glow-subtle);
  border-color: var(--gradient-midnight);
  transform: translateY(-4px);
}

/* Card with subtle border instead of shadow */
.card-bordered {
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-xl);
  box-shadow: none;
  transition: all var(--transition-base);
}
.card-bordered:hover {
  border-color: var(--gradient-midnight);
  box-shadow: var(--shadow-sm), var(--glow-subtle);
}

/* Elevated card (higher shadow) */
.card-elevated {
  background-color: transparent !important;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}
.card-elevated:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

/* Interactive card (clickable) - Dark Theme */
.card-interactive {
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid var(--gradient-midnight);
}
.card-interactive:hover {
  box-shadow: var(--shadow-primary-lg), var(--glow-medium);
  border-color: var(--gradient-midnight);
  transform: translateY(-6px) scale(1.02);
}
.card-interactive:active {
  transform: translateY(-2px) scale(1);
}

/* Card header */
.card-header {
  padding: var(--spacing-6);
  border-bottom: 1px solid var(--gradient-midnight);
}
.card-header .card-title {
  margin: 0;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}
.card-header .card-subtitle {
  margin: var(--spacing-1) 0 0;
  font-size: var(--font-size-base);
  color: var(--text-muted);
}

/* Card body */
.card-body {
  padding: var(--spacing-6);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

/* Card footer */
.card-footer {
  padding: var(--spacing-4) var(--spacing-6);
  border-top: 1px solid var(--gradient-midnight);
  background-color: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-4);
}

/* Card with image */
.card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.card:hover .card-image img {
  transform: scale(1.05);
}

/* Card with gradient overlay on image */
.card-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--spacing-6);
  color: var(--text-white);
}
.card-image-overlay .card-title {
  color: var(--text-white);
  margin: 0;
}
.card-image-overlay .card-text {
  color: rgba(255, 255, 255, 0.9);
  margin: var(--spacing-2) 0 0;
}

/* Card badges/tags */
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1);
  padding: var(--spacing-1) var(--spacing-2);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}
.card-badge.badge-primary {
  background-color: var(--primary-alpha-15);
  color: var(--primary-700);
}
.card-badge.badge-success {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--success-dark);
}
.card-badge.badge-warning {
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--warning-dark);
}
.card-badge.badge-danger {
  background-color: rgba(239, 68, 68, 0.15);
  color: var(--danger-dark);
}

/* Card grid layouts */
.cards-grid {
  display: grid;
  gap: var(--spacing-6);
}
.cards-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
  .cards-grid.cols-2 {
    grid-template-columns: 1fr;
  }
}
.cards-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .cards-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .cards-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}
.cards-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1280px) {
  .cards-grid.cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1024px) {
  .cards-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .cards-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

/* Card with brand accent (Dark Theme) */
.card-brand {
  border-top: 4px solid var(--primary-500);
}
.card-brand:hover {
  border-top-color: var(--primary-300);
  box-shadow: var(--shadow-primary-lg), var(--glow-medium);
}

/* Compact card */
.card-compact .card-header {
  padding: var(--spacing-4);
}
.card-compact .card-body {
  padding: var(--spacing-4);
}
.card-compact .card-footer {
  padding: var(--spacing-3) var(--spacing-4);
}

/* Card with icon */
.card-icon {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-4);
}
.card-icon .card-icon-wrapper {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-500);
  border-radius: var(--radius-lg);
  color: var(--rich-black);
  box-shadow: var(--shadow-primary), var(--glow-subtle);
}
.card-icon .card-icon-wrapper svg {
  width: 24px;
  height: 24px;
}
.card-icon .card-content {
  flex: 1;
}

/* Loading state */
.card-loading {
  position: relative;
  pointer-events: none;
}
.card-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card skeleton for loading (Dark Theme) */
.card-skeleton .skeleton-line {
  height: 16px;
  background: linear-gradient(90deg, var(--neutral-800) 25%, transparent 50%, var(--neutral-800) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-3);
}
.card-skeleton .skeleton-line.w-75 {
  width: 75%;
}
.card-skeleton .skeleton-line.w-50 {
  width: 50%;
}
.card-skeleton .skeleton-line.w-25 {
  width: 25%;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* Glass card effect (Dark Theme) */
.card-glass {
  background: rgba(45, 58, 58, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gradient-midnight);
  box-shadow: var(--shadow-lg);
}
.card-glass:hover {
  background: rgba(45, 58, 58, 0.7);
  border-color: var(--gradient-midnight);
  box-shadow: var(--shadow-xl), var(--glow-subtle);
}

/* Card with stat/metric */
.card-stat {
  text-align: center;
}
.card-stat .stat-value {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-500);
  line-height: 1;
  margin: 0;
  text-shadow: var(--glow-subtle);
}
.card-stat .stat-label {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  margin: var(--spacing-2) 0 0;
}
.card-stat .stat-change {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  margin-top: var(--spacing-2);
}
.card-stat .stat-change.positive {
  color: var(--success-color);
}
.card-stat .stat-change.negative {
  color: var(--danger-color);
}

/* Project Card - Standardized Dimensions */
.project-card,
.project-card-compact {
  background: var(--rich-black);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.project-card:hover,
.project-card-compact:hover {
  border-color: var(--gradient-midnight);
  box-shadow: var(--shadow-md), var(--glow-subtle);
  transform: translateY(-2px);
}
.project-card .card-content,
.project-card-compact .card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}
.project-card .card-body,
.project-card-compact .card-body {
  padding: var(--spacing-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.project-card .card-title,
.project-card-compact .card-title {
  margin: 0 0 var(--spacing-2);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.6em;
}
.project-card .card-title a,
.project-card-compact .card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}
.project-card .card-title a:hover,
.project-card-compact .card-title a:hover {
  color: var(--primary-500);
}
.project-card .card-client,
.project-card-compact .card-client {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  margin-bottom: var(--spacing-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-card .card-meta,
.project-card-compact .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-3);
  min-height: 40px;
}
.project-card .card-meta .meta-item,
.project-card-compact .card-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  white-space: nowrap;
}
.project-card .card-meta .meta-item i,
.project-card-compact .card-meta .meta-item i {
  color: var(--primary-500);
  font-size: var(--font-size-base);
}
.project-card .card-excerpt,
.project-card-compact .card-excerpt {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.5em;
}
.project-card .card-footer,
.project-card-compact .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-3);
  padding: var(--spacing-4) var(--spacing-5);
  background: var(--bg-subtle);
  border-top: 1px solid var(--gradient-midnight);
  min-height: 60px;
  margin-top: auto;
}
.project-card .card-proposals,
.project-card-compact .card-proposals {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  white-space: nowrap;
}
.project-card .card-proposals i,
.project-card-compact .card-proposals i {
  color: var(--primary-500);
}
.project-card .card-actions,
.project-card-compact .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
  padding: var(--spacing-4) var(--spacing-5);
  background: var(--bg-subtle);
  border-top: 1px solid var(--gradient-midnight);
  min-height: 68px;
}
.project-card .card-actions .btn,
.project-card-compact .card-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1);
  font-size: var(--font-size-base);
  padding: var(--spacing-2) var(--spacing-3);
  white-space: nowrap;
}
.project-card .card-actions .btn i,
.project-card-compact .card-actions .btn i {
  font-size: var(--font-size-base);
}
.project-card .card-actions .btn-danger,
.project-card-compact .card-actions .btn-danger {
  color: var(--danger-color);
  border-color: var(--danger-color);
}
.project-card .card-actions .btn-danger:hover,
.project-card-compact .card-actions .btn-danger:hover {
  background: var(--danger-color);
  color: white;
}

.project-card-compact {
  min-height: 280px;
}
.project-card-compact .card-body {
  padding: var(--spacing-4);
}
.project-card-compact .card-footer {
  padding: var(--spacing-3) var(--spacing-4);
  min-height: 52px;
}
.project-card-compact .card-actions {
  padding: var(--spacing-3) var(--spacing-4);
  min-height: 60px;
}
.project-card-compact .card-excerpt {
  -webkit-line-clamp: 2;
  max-height: 3em;
}

/* Projects Grid - Standardized Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-6);
  align-items: stretch;
}
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
  }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1201px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.projects-grid > .project-card,
.projects-grid > .project-card-compact,
.projects-grid > .booking-card {
  height: 100%;
}

/* Share Card - Project Detail Sidebar */
.share-card .sidebar-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-4);
}
.share-card .share-buttons {
  display: flex;
  gap: var(--spacing-3);
  flex-wrap: wrap;
}
.share-card .share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gradient-midnight);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
}
.share-card .share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.share-card .share-btn i {
  font-size: var(--font-size-base);
}
.share-card .share-btn {
  /* X (Twitter) - Brand color on hover */
}
.share-card .share-btn.x-twitter:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}
.share-card .share-btn {
  /* LinkedIn - Brand color on hover */
}
.share-card .share-btn.linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #ffffff;
}
.share-card .share-btn {
  /* Facebook - Brand color on hover */
}
.share-card .share-btn.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
}
.share-card .share-btn {
  /* Copy Link - Primary brand color on hover */
}
.share-card .share-btn.copy-link:hover {
  background: var(--primary-500);
  border-color: var(--primary-500);
  color: var(--rich-black);
}

/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme .card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}
body.light-theme .card-glass:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--border-medium);
}
body.light-theme .card-glass .card-title,
body.light-theme .card-glass .card-body {
  color: var(--text-primary);
}
body.light-theme .card-glass .card-subtitle,
body.light-theme .card-glass .card-text:not(.card-image-overlay .card-text) {
  color: var(--text-secondary);
}
body.light-theme .project-card,
body.light-theme .project-card-compact {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
body.light-theme .project-card .card-actions .btn-danger:hover,
body.light-theme .project-card-compact .card-actions .btn-danger:hover {
  color: var(--text-white);
}
body.light-theme .card-footer {
  background-color: var(--bg-page);
  border-top-color: var(--border-subtle);
}
body.light-theme .card-header {
  border-bottom-color: var(--border-subtle);
}

/**
 * Icon System & Graphics
 * Consistent icon styling, animations, and empty states
 */
/* ========================================
   ICON BASE STYLES
   ======================================== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  fill: currentColor;
  transition: all var(--transition-base);
}
.icon svg {
  width: 100%;
  height: 100%;
}

/* Icon sizes */
.icon-xs {
  width: 12px;
  height: 12px;
  font-size: var(--font-size-base);
}

.icon-sm {
  width: 16px;
  height: 16px;
  font-size: var(--font-size-base);
}

.icon-md {
  width: 20px;
  height: 20px;
  font-size: var(--font-size-base);
}

.icon-lg {
  width: 24px;
  height: 24px;
  font-size: var(--font-size-base);
}

.icon-xl {
  width: 32px;
  height: 32px;
  font-size: var(--font-size-base);
}

.icon-2xl {
  width: 48px;
  height: 48px;
  font-size: var(--font-size-base);
}

/* ========================================
   ICON COLORS
   ======================================== */
.icon-primary {
  color: var(--primary-500);
}

.icon-success {
  color: var(--success-color);
}

.icon-danger {
  color: var(--danger-color);
}

.icon-warning {
  color: var(--warning-color);
}

.icon-muted {
  color: var(--text-muted);
}

/* ========================================
   ICON CONTAINERS
   ======================================== */
.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  transition: all var(--transition-base);
}
.icon-wrapper:hover {
  background: var(--bg-hover);
  transform: translateY(-2px);
}

.icon-wrapper-primary {
  background: var(--primary-400);
  color: var(--primary-600);
}
.icon-wrapper-primary:hover {
  background: var(--primary-alpha-15);
  color: var(--primary-700);
}

.icon-wrapper-solid {
  background: var(--primary-500);
  color: var(--text-white);
  box-shadow: var(--shadow-primary);
}
.icon-wrapper-solid:hover {
  background: var(--primary-500);
  box-shadow: var(--shadow-primary-lg);
}

/* Icon with circle background */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-400);
  color: var(--primary-600);
  transition: all var(--transition-base);
}
.icon-circle:hover {
  background: var(--primary-alpha-20);
  transform: rotate(15deg) scale(1.1);
}
.icon-circle.icon-circle-sm {
  width: 32px;
  height: 32px;
}
.icon-circle.icon-circle-lg {
  width: 56px;
  height: 56px;
}

/* ========================================
   ICON ANIMATIONS
   ======================================== */
/* Hover spin */
.icon-hover-spin:hover {
  animation: icon-spin 0.6s ease-in-out;
}

@keyframes icon-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* Hover bounce */
.icon-hover-bounce:hover {
  animation: icon-bounce 0.6s ease-in-out;
}

@keyframes icon-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
/* Hover shake */
.icon-hover-shake:hover {
  animation: icon-shake 0.5s ease-in-out;
}

@keyframes icon-shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-4px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(4px);
  }
}
/* Hover pulse */
.icon-hover-pulse:hover {
  animation: icon-pulse 0.6s ease-in-out;
}

@keyframes icon-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}
/* Continuous spin (for loading) */
.icon-loading {
  animation: icon-spin 1s linear infinite;
}

/* Floating icon */
.icon-floating {
  animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
/* ========================================
   ICON WITH TEXT
   ======================================== */
.icon-text {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
}
.icon-text .icon {
  flex-shrink: 0;
}

.icon-text-vertical {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-2);
  text-align: center;
}

/* ========================================
   EMPTY STATES
   ======================================== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-16) var(--spacing-8);
  text-align: center;
  min-height: 400px;
}

.empty-state-icon {
  width: 120px;
  height: 120px;
  margin-bottom: var(--spacing-6);
  color: var(--neutral-300);
  opacity: 0.6;
}

.empty-state-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-3) 0;
}

.empty-state-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  font-weight: var(--font-weight-semibold);
  max-width: 500px;
  margin: 0 0 var(--spacing-6) 0;
  line-height: var(--line-height-relaxed);
}

.empty-state-action {
  margin-top: var(--spacing-4);
}

/* Empty state variants */
.empty-state-brand .empty-state-icon {
  color: var(--primary-300);
}

.empty-state-compact {
  min-height: 300px;
  padding: var(--spacing-12) var(--spacing-6);
}
.empty-state-compact .empty-state-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--spacing-4);
}
.empty-state-compact .empty-state-title {
  font-size: var(--font-size-xl);
}
.empty-state-compact .empty-state-description {
  font-size: var(--font-size-base);
}

/* ========================================
   DECORATIVE GRAPHICS
   ======================================== */
/* Decorative dots pattern */
.decorative-dots {
  position: relative;
}
.decorative-dots::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, var(--primary-alpha-20) 2px, transparent 2px);
  background-size: 20px 20px;
  pointer-events: none;
}
.decorative-dots.dots-top-right::before {
  top: -20px;
  right: -20px;
}
.decorative-dots.dots-bottom-left::before {
  bottom: -20px;
  left: -20px;
}

/* Decorative blob */
.decorative-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--primary-alpha-15);
  border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  animation: blob-morph 8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes blob-morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40%/50% 60% 30% 60%;
  }
}
/* ========================================
   FEATURE ICONS
   ======================================== */
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--primary-500);
  border-radius: var(--radius-xl);
  color: var(--text-white);
  box-shadow: var(--shadow-primary);
  margin-bottom: var(--spacing-4);
  transition: all var(--transition-base);
}
.feature-icon svg {
  width: 32px;
  height: 32px;
}
.feature-icon:hover {
  transform: translateY(-4px) rotate(5deg);
  box-shadow: var(--shadow-primary-lg);
}

.feature-icon-outline {
  background: transparent;
  border: 3px solid var(--primary-500);
  color: var(--primary-600);
  box-shadow: none;
}
.feature-icon-outline:hover {
  background: var(--primary-400);
  border-color: var(--primary-600);
}

/* ========================================
   SOCIAL ICONS
   ======================================== */
.social-icons {
  display: flex;
  gap: var(--spacing-3);
  align-items: center;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--neutral-200);
  color: var(--neutral-700);
  transition: all var(--transition-base);
  text-decoration: none;
}
.social-icon svg {
  width: 20px;
  height: 20px;
}
.social-icon:hover {
  background: var(--primary-500);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   BADGES WITH ICONS
   ======================================== */
.badge-with-icon {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  background: var(--primary-400);
  color: var(--primary-700);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}
.badge-with-icon .icon {
  width: 16px;
  height: 16px;
}

/* ========================================
   ICON NOTIFICATION DOT
   ======================================== */
.icon-notification {
  position: relative;
}
.icon-notification::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: var(--danger-color);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  animation: notification-pulse 2s ease-in-out infinite;
}

@keyframes notification-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
}
/* ========================================
   LOADING SPINNER ICON
   ======================================== */
.spinner-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--neutral-200);
  border-top-color: var(--primary-500);
  border-radius: 50%;
  animation: spinner-rotation 0.8s linear infinite;
}
.spinner-icon.spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}
.spinner-icon.spinner-lg {
  width: 40px;
  height: 40px;
  border-width: 4px;
}

@keyframes spinner-rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* ========================================
   404 / ERROR GRAPHICS
   ======================================== */
.error-illustration {
  width: 100%;
  max-width: 500px;
  margin: 0 auto var(--spacing-8);
}
.error-illustration svg {
  width: 100%;
  height: auto;
}

/* ========================================
   ICON GRID
   ======================================== */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: var(--spacing-6);
  margin: var(--spacing-8) 0;
}

.icon-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-4);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}
.icon-grid-item .icon {
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-3);
  color: var(--primary-500);
}
.icon-grid-item .icon-label {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
}
.icon-grid-item:hover {
  background: var(--bg-hover);
  transform: translateY(-4px);
}
.icon-grid-item:hover .icon {
  color: var(--primary-700);
  transform: scale(1.1);
}

/**
 * Forms Component SCSS
 * Advanced form layouts and patterns for dashboard pages
 */
.form-container {
  border-radius: var(--radius-xl, 1rem);
  border: 1px solid var(--gradient-midnight);
  padding: var(--spacing-6, 1.5rem);
  margin-bottom: var(--spacing-6, 1.5rem);
}
.form-container.form-card {
  padding: var(--spacing-8, 2rem);
}
.form-container.form-card.form-card--two-col .form-row {
  grid-template-columns: repeat(2, 1fr) !important;
}
@media (max-width: 768px) {
  .form-container.form-card.form-card--two-col .form-row {
    grid-template-columns: 1fr;
  }
}

.form-header {
  margin-bottom: var(--spacing-6, 1.5rem);
  padding-bottom: var(--spacing-4, 1rem);
  border-bottom: 1px solid var(--border-color, rgba(252, 255, 255, 0.05));
}
.form-header .form-title {
  font-size: var(--font-size-2xl, 1.5rem);
  font-weight: 700;
  color: var(--text-primary, #fcffff);
  margin-bottom: var(--spacing-2, 0.5rem);
}
.form-header .form-description {
  font-size: var(--font-size-base, 1rem);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.6;
}

.form-section {
  margin-bottom: var(--spacing-8, 2rem);
}
.form-section:last-child {
  margin-bottom: 0;
}
.form-section .section-title {
  font-size: var(--font-size-lg, 1.125rem);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary, #fcffff);
  margin-bottom: var(--spacing-4, 1rem);
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
}
.form-section .section-title i {
  color: var(--primary-color, #3BD3D3);
}
.form-section .section-description {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  margin-bottom: var(--spacing-4, 1rem);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-4, 1rem);
  margin-top: var(--spacing-8, 2rem);
  padding-top: var(--spacing-6, 1.5rem);
  border-top: 1px solid var(--border-color, rgba(252, 255, 255, 0.05));
}
.form-footer .form-actions {
  display: flex;
  gap: var(--spacing-3, 0.75rem);
  flex-wrap: wrap;
}
.form-footer .form-note {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
}

.multi-step-form .steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-8, 2rem);
  position: relative;
}
.multi-step-form .steps-indicator::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--bg-elevated, #3a4848);
  z-index: 0;
}
.multi-step-form .steps-indicator .step-progress {
  position: absolute;
  top: 20px;
  left: 0;
  height: 2px;
  background: var(--primary-color, #3BD3D3);
  transition: width 0.3s ease;
  z-index: 1;
}
.multi-step-form .step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  position: relative;
  z-index: 2;
  flex: 1;
}
.multi-step-form .step-item .step-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated, #3a4848);
  border: 2px solid var(--border-color, rgba(252, 255, 255, 0.1));
  border-radius: 50%;
  font-weight: 700;
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  transition: all var(--transition-base, 0.3s ease);
}
.multi-step-form .step-item .step-label {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  text-align: center;
  transition: color var(--transition-base, 0.3s ease);
}
.multi-step-form .step-item.completed .step-number {
  background: var(--primary-color, #3BD3D3);
  border-color: var(--primary-color, #3BD3D3);
  color: var(--text-primary, #fcffff);
}
.multi-step-form .step-item.completed .step-number i {
  display: block;
}
.multi-step-form .step-item.completed .step-number span {
  display: none;
}
.multi-step-form .step-item.completed .step-label {
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
}
.multi-step-form .step-item.active .step-number {
  background: var(--primary-color, #3BD3D3);
  border-color: var(--primary-color, #3BD3D3);
  color: var(--text-primary, #fcffff);
  box-shadow: 0 0 0 4px rgba(59, 211, 211, 0.2);
}
.multi-step-form .step-item.active .step-label {
  color: var(--text-primary, #fcffff);
  font-weight: 600;
}
.multi-step-form .form-step {
  display: none;
  animation: fadeIn 0.3s ease;
}
.multi-step-form .form-step.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.multi-step-form .step-navigation {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-4, 1rem);
  margin-top: var(--spacing-8, 2rem);
}
.multi-step-form .step-navigation .btn-prev,
.multi-step-form .step-navigation .btn-next {
  min-width: 120px;
}

.form-grid {
  display: grid;
  gap: var(--spacing-5, 1.25rem);
}
.form-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.form-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.form-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .form-grid.cols-3, .form-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .form-grid.cols-2, .form-grid.cols-3, .form-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-5, 1.25rem);
  margin-bottom: var(--spacing-6, 1.5rem);
}

.pricing-tier {
  background: var(--bg-elevated, #3a4848);
  border: 2px solid var(--border-color, rgba(252, 255, 255, 0.1));
  border-radius: var(--radius-lg, 0.75rem);
  padding: var(--spacing-5, 1.25rem);
  transition: all var(--transition-base, 0.3s ease);
}
.pricing-tier:hover {
  border-color: var(--primary-color, #3BD3D3);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(59, 211, 211, 0.2);
}
.pricing-tier .tier-header {
  text-align: center;
  padding-bottom: var(--spacing-4, 1rem);
  border-bottom: 1px solid var(--border-color, rgba(252, 255, 255, 0.05));
  margin-bottom: var(--spacing-4, 1rem);
}
.pricing-tier .tier-header .tier-name {
  font-size: var(--font-size-lg, 1.125rem);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary, #fcffff);
  margin-bottom: var(--spacing-2, 0.5rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pricing-tier .tier-header .tier-description {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
}
.pricing-tier .tier-fields {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3, 0.75rem);
}
.pricing-tier .tier-fields .form-group {
  margin-bottom: 0;
}

.tags-input-wrapper .tags-display {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2, 0.5rem);
  min-height: 48px;
  padding: 0 !important;
  background: var(--bg-elevated, #3a4848);
  border: 1px solid var(--border-color, rgba(252, 255, 255, 0.1));
  border-radius: var(--radius-md, 0.5rem);
  margin-bottom: 0 !important;
}
.tags-input-wrapper .tags-display:focus-within {
  border-color: var(--primary-color, #3BD3D3);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.2);
}
.tags-input-wrapper .tags-display .tag-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  padding: var(--spacing-1, 0.25rem) var(--spacing-3, 0.75rem);
  background: var(--primary-color, #3BD3D3);
  color: var(--text-primary, #fcffff);
  border-radius: var(--radius-md, 9999px);
  font-size: var(--font-size-base, 0.875rem);
  font-weight: 500;
}
.tags-input-wrapper .tags-display .tag-item .remove-tag {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  opacity: 0.8;
  line-height: 1;
}
.tags-input-wrapper .tags-display .tag-item .remove-tag:hover {
  opacity: 1;
}
.tags-input-wrapper .tags-display input {
  flex: 1;
  min-width: 150px;
  border: none;
  background: transparent;
  color: var(--text-primary, #fcffff);
  font-size: var(--font-size-base, 1rem);
  outline: none;
}
.tags-input-wrapper .tags-display input::placeholder {
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
}
.tags-input-wrapper .tag-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2, 0.5rem);
}
.tags-input-wrapper .tag-suggestions .tag-suggestion {
  padding: var(--spacing-1, 0.25rem) var(--spacing-3, 0.75rem);
  background: var(--bg-elevated, #3a4848);
  border: 1px solid var(--border-color, rgba(252, 255, 255, 0.1));
  border-radius: var(--radius-md, 9999px);
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  cursor: pointer;
  transition: all var(--transition-base, 0.3s ease);
}
.tags-input-wrapper .tag-suggestions .tag-suggestion:hover {
  background: var(--primary-color, #3BD3D3);
  color: var(--text-primary, #fcffff);
  border-color: var(--primary-color, #3BD3D3);
}

.date-range-picker {
  display: flex;
  gap: var(--spacing-4, 1rem);
  align-items: center;
}
.date-range-picker .date-input-group {
  flex: 1;
}
.date-range-picker .date-separator {
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  font-weight: 500;
}
@media (max-width: 640px) {
  .date-range-picker {
    flex-direction: column;
    align-items: stretch;
  }
  .date-range-picker .date-separator {
    display: none;
  }
}

.budget-range {
  display: flex;
  gap: var(--spacing-4, 1rem);
  align-items: center;
}
.budget-range .budget-input {
  flex: 1;
}
.budget-range .budget-separator {
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  font-weight: 500;
  margin-top: 1.75rem;
}
@media (max-width: 640px) {
  .budget-range {
    flex-direction: column;
    align-items: stretch;
  }
  .budget-range .budget-separator {
    display: none;
  }
}

.gallery-uploader .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--spacing-4, 1rem);
  margin-bottom: var(--spacing-4, 1rem);
}
.gallery-uploader .gallery-item {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-elevated, #3a4848);
  border-radius: var(--radius-lg, 0.75rem);
  overflow: hidden;
  border: 2px solid var(--border-color, rgba(252, 255, 255, 0.1));
  transition: all var(--transition-base, 0.3s ease);
}
.gallery-uploader .gallery-item:hover {
  border-color: var(--primary-color, #3BD3D3);
}
.gallery-uploader .gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-uploader .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-uploader .gallery-item .gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2, 0.5rem);
  opacity: 0;
  transition: opacity var(--transition-base, 0.3s ease);
}
.gallery-uploader .gallery-item .gallery-item-overlay button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-md, 0.5rem);
  color: var(--text-primary, #fcffff);
  cursor: pointer;
  transition: all var(--transition-base, 0.3s ease);
}
.gallery-uploader .gallery-item .gallery-item-overlay button:hover {
  background: var(--primary-color, #3BD3D3);
  transform: scale(1.1);
}
.gallery-uploader .gallery-item .gallery-item-overlay button.delete:hover {
  background: var(--danger-color, #ef4444);
}
.gallery-uploader .add-image-btn {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2, 0.5rem);
  background: var(--bg-elevated, #3a4848);
  border: 2px dashed var(--border-color, rgba(252, 255, 255, 0.1));
  border-radius: var(--radius-lg, 0.75rem);
  cursor: pointer;
  transition: all var(--transition-base, 0.3s ease);
}
.gallery-uploader .add-image-btn i {
  font-size: 2rem;
  color: var(--primary-color, #3BD3D3);
}
.gallery-uploader .add-image-btn span {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
}
.gallery-uploader .add-image-btn:hover {
  border-color: var(--primary-color, #3BD3D3);
}

.toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
  cursor: pointer;
}
.toggle-switch input[type=checkbox] {
  appearance: none;
  width: 48px;
  height: 24px;
  background: var(--bg-elevated, #3a4848);
  border: 2px solid var(--border-color, rgba(252, 255, 255, 0.1));
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-base, 0.3s ease);
}
.toggle-switch input[type=checkbox]::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  border-radius: 50%;
  top: 1px;
  left: 1px;
  transition: all var(--transition-base, 0.3s ease);
}
.toggle-switch input[type=checkbox]:checked {
  background: var(--primary-color, #3BD3D3);
  border-color: var(--primary-color, #3BD3D3);
}
.toggle-switch input[type=checkbox]:checked::before {
  background: var(--text-primary, #fcffff);
  left: 25px;
}
.toggle-switch label {
  font-size: var(--font-size-base, 1rem);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  cursor: pointer;
}
.toggle-switch:hover input[type=checkbox] {
  border-color: var(--primary-color, #3BD3D3);
}

.form-group.has-error .form-label {
  color: var(--danger-color, #ef4444);
}
.form-group.has-error .form-input,
.form-group.has-error .form-textarea,
.form-group.has-error .form-select {
  border-color: var(--danger-color, #ef4444);
}
.form-group.has-error .form-input:focus,
.form-group.has-error .form-textarea:focus,
.form-group.has-error .form-select:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}
.form-group.has-error .form-help {
  color: var(--danger-color, #ef4444);
}
.form-group.has-success .form-input,
.form-group.has-success .form-textarea,
.form-group.has-success .form-select {
  border-color: var(--success-color, #10b981);
}
.form-group.has-success .form-help {
  color: var(--success-color, #10b981);
}

.input-with-validation {
  position: relative;
}
.input-with-validation .validation-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
}
.input-with-validation .validation-icon.success {
  color: var(--success-color, #10b981);
}
.input-with-validation .validation-icon.error {
  color: var(--danger-color, #ef4444);
}
.input-with-validation input {
  padding-right: 3rem;
}

.inline-edit {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
}
.inline-edit .editable-field {
  flex: 1;
}
.inline-edit .edit-actions {
  display: flex;
  gap: var(--spacing-1, 0.25rem);
}
.inline-edit .edit-actions button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated, #3a4848);
  border: 1px solid var(--border-color, rgba(252, 255, 255, 0.1));
  border-radius: var(--radius-sm, 0.375rem);
  color: var(--text-primary, #fcffff);
  cursor: pointer;
  transition: all var(--transition-base, 0.3s ease);
}
.inline-edit .edit-actions button:hover {
  background: var(--primary-color, #3BD3D3);
}
.inline-edit .edit-actions button.cancel:hover {
  background: var(--danger-color, #ef4444);
}

.char-counter-wrapper {
  position: relative;
}
.char-counter-wrapper .char-counter {
  position: absolute;
  bottom: var(--spacing-2, 0.5rem);
  right: var(--spacing-3, 0.75rem);
  font-size: var(--font-size-base, 1rem);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  padding: var(--spacing-1, 0.25rem) var(--spacing-2, 0.5rem);
  border-radius: var(--radius-sm, 0.375rem);
}
.char-counter-wrapper .char-counter.warning {
  color: var(--warning-color, #f59e0b);
}
.char-counter-wrapper .char-counter.error {
  color: var(--danger-color, #ef4444);
}
.char-counter-wrapper textarea {
  padding-bottom: var(--spacing-8, 2rem);
}

.draft-save-status {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
}
.draft-save-status i {
  font-size: 1rem;
}
.draft-save-status.saving {
  color: var(--warning-color, #f59e0b);
}
.draft-save-status.saving i {
  animation: spin 0.8s linear infinite;
}
.draft-save-status.saved {
  color: var(--success-color, #10b981);
}
.draft-save-status.error {
  color: var(--danger-color, #ef4444);
}

.portfolio-section .portfolio-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3, 0.75rem);
  padding: var(--spacing-4, 1rem) 0;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.2s ease;
  text-align: center;
}
.portfolio-section .portfolio-dropzone:hover .dropzone-icon, .portfolio-section .portfolio-dropzone.dragging .dropzone-icon {
  opacity: 1;
}
.portfolio-section .portfolio-dropzone:hover .dropzone-text, .portfolio-section .portfolio-dropzone.dragging .dropzone-text {
  color: var(--primary-color, #3BD3D3);
}
.portfolio-section .portfolio-dropzone .dropzone-icon {
  width: 40px;
  height: 40px;
  color: var(--primary-color, #3BD3D3);
  opacity: 0.7;
}
.portfolio-section .portfolio-dropzone .dropzone-text {
  font-size: var(--font-size-base, 1rem);
  font-weight: 500;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}
.portfolio-section .portfolio-dropzone .dropzone-hint {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  margin: 0;
}
.portfolio-section .portfolio-hint {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  margin-bottom: var(--spacing-4, 1rem);
}
.portfolio-section .portfolio-hint svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}
.portfolio-section .portfolio-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
  gap: var(--spacing-4, 1rem);
  margin-top: var(--spacing-5, 1.25rem);
  width: 100%;
}
@media (max-width: 767px) {
  .portfolio-section .portfolio-items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-3, 0.75rem);
  }
}
.portfolio-section .portfolio-item {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  width: 100%;
  border-radius: var(--radius-lg, 0.75rem);
  overflow: hidden;
  background: var(--bg-elevated, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border-color, rgba(252, 255, 255, 0.1));
  transition: all 0.2s ease;
}
.portfolio-section .portfolio-item:hover {
  border-color: var(--primary-color, #3BD3D3);
  transform: translateY(-2px);
}
.portfolio-section .portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}
.portfolio-section .portfolio-item .portfolio-item-media {
  width: 100%;
  height: 100%;
  min-width: 0;
}
.portfolio-section .portfolio-item .portfolio-item-media img,
.portfolio-section .portfolio-item .portfolio-item-media video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-section .portfolio-item .portfolio-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary, rgba(252, 255, 255, 0.3));
}
.portfolio-section .portfolio-item .portfolio-item-placeholder svg {
  width: 32px;
  height: 32px;
}
.portfolio-section .portfolio-item .portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2, 0.5rem);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.portfolio-section .portfolio-item .portfolio-item-type {
  position: absolute;
  top: var(--spacing-2, 0.5rem);
  left: var(--spacing-2, 0.5rem);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--text-primary, #fcffff);
  border-radius: var(--radius-sm, 0.375rem);
}
.portfolio-section .portfolio-item .portfolio-item-remove {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.9);
  border: none;
  border-radius: var(--radius-md, 0.5rem);
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}
.portfolio-section .portfolio-item .portfolio-item-remove:hover {
  background: #ef4444;
  transform: scale(1.1);
}
.portfolio-section .portfolio-item .portfolio-item-remove svg {
  width: 18px;
  height: 18px;
}
.portfolio-section .portfolio-empty {
  text-align: center;
  padding: var(--spacing-6, 1.5rem);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  font-size: var(--font-size-base, 0.875rem);
}
.portfolio-section .portfolio-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-3, 0.75rem) var(--spacing-4, 1rem);
  margin-top: var(--spacing-4, 1rem);
  background: var(--gradient-midnight);
  border-radius: var(--radius-md, 0.5rem);
  font-size: var(--font-size-base, 0.875rem);
  color: var(--brand-white);
}
.portfolio-section .portfolio-status .portfolio-count {
  font-weight: 600;
}

@media (max-width: 768px) {
  .form-container {
    padding: var(--spacing-4, 1rem);
  }
  .form-container.form-card {
    padding: var(--spacing-5, 1.25rem);
  }
  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .form-footer .form-actions {
    width: 100%;
  }
  .form-footer .form-actions .btn {
    flex: 1;
  }
  .multi-step-form .steps-indicator .step-item .step-label {
    font-size: var(--font-size-base, 1rem);
  }
  .pricing-tiers {
    grid-template-columns: 1fr;
  }
  .gallery-uploader .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}
/**
 * Location Autocomplete Styles
 * Matches dark theme with #3BD3D3 accent color
 */
.location-autocomplete-wrapper {
  position: relative;
  width: 100%;
}

.location-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-top: 4px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.location-autocomplete-loading {
  padding: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-base);
}
.location-autocomplete-loading span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.location-autocomplete-loading span::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(59, 211, 211, 0.3);
  border-top-color: #3BD3D3;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.location-autocomplete-results {
  padding: 4px 0;
}

.location-autocomplete-item {
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-base);
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.location-autocomplete-item:last-child {
  border-bottom: none;
}
.location-autocomplete-item:hover, .location-autocomplete-item.hover, .location-autocomplete-item:focus {
  background: rgba(59, 211, 211, 0.1);
  color: #3BD3D3;
  outline: none;
}
.location-autocomplete-item:active {
  background: rgba(59, 211, 211, 0.15);
}

.location-autocomplete-no-results {
  padding: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-base);
  font-style: italic;
}

.location-autocomplete-error {
  padding: 16px;
  text-align: center;
  color: #ef4444;
  font-size: var(--font-size-base);
  background: rgba(239, 68, 68, 0.1);
  border-top: 1px solid rgba(239, 68, 68, 0.3);
}

input.location-error {
  border-color: rgba(239, 68, 68, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

@media (max-width: 768px) {
  .location-autocomplete-dropdown {
    max-height: 250px;
    border-radius: 6px;
  }
  .location-autocomplete-item {
    padding: 10px 14px;
    font-size: var(--font-size-base);
  }
}
.location-autocomplete-dropdown::-webkit-scrollbar {
  width: 6px;
}

.location-autocomplete-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.location-autocomplete-dropdown::-webkit-scrollbar-thumb {
  background: rgba(59, 211, 211, 0.3);
  border-radius: 3px;
}
.location-autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 211, 211, 0.5);
}

/* ========================================
   LIGHT THEME OVERRIDES
   ======================================== */
body.light-theme .location-autocomplete-dropdown {
  background: var(--bg-dropdown);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-lg);
}
body.light-theme .location-autocomplete-loading {
  color: var(--text-secondary);
}
body.light-theme .location-autocomplete-item {
  color: var(--text-primary);
  border-bottom-color: var(--border-subtle);
}
body.light-theme .location-autocomplete-item:hover, body.light-theme .location-autocomplete-item.hover, body.light-theme .location-autocomplete-item:focus {
  background: var(--bg-active);
  color: var(--primary-500);
}
body.light-theme .location-autocomplete-no-results {
  color: var(--text-muted);
}
body.light-theme .location-autocomplete-dropdown::-webkit-scrollbar-track {
  background: var(--bg-subtle);
}

/**
 * Badge System — Dreamers X
 *
 * Two composable layers:
 *   1. Base shape (.status-badge, .order-status)
 *   2. Color modifier (BEM .status-badge--* or semantic .status-active etc.)
 *
 * Examples:
 *   <span class="status-badge status-badge--green">Active</span>
 *   <span class="status-badge status-active">Active</span>
 *   <span class="order-status status-pending">Pending</span>
 *   <span class="stat-badge status-badge--gray">3 Pending</span>
 */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1, 0.25rem);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  border: 1px solid transparent;
}
.status-badge .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.order-status {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-1, 0.25rem) var(--spacing-3, 0.75rem);
  border-radius: 9999px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.status-badge--gray {
  background: rgba(107, 114, 128, 0.2);
  color: #9CA3AF;
  border-color: rgba(107, 114, 128, 0.3);
}
.status-badge--gray .status-dot {
  background: #9CA3AF;
}

.status-badge--teal {
  background: rgba(59, 211, 211, 0.15);
  color: var(--primary-400, #0BF9EA);
  border-color: rgba(59, 211, 211, 0.3);
}
.status-badge--teal .status-dot {
  background: var(--primary-400, #0BF9EA);
}

.status-badge--blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border-color: rgba(59, 130, 246, 0.3);
}
.status-badge--blue .status-dot {
  background: #60A5FA;
}

.status-badge--green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success-color, #10b981);
  border-color: rgba(16, 185, 129, 0.3);
}
.status-badge--green .status-dot {
  background: var(--success-color, #10b981);
}

.status-badge--gold {
  background: var(--gold-alpha-15, rgba(230, 190, 105, 0.15));
  color: var(--gold-500, #e6be69);
  border-color: var(--gold-alpha-30, rgba(230, 190, 105, 0.3));
}
.status-badge--gold .status-dot {
  background: var(--gold-500, #e6be69);
}

.status-badge--red {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger-light, #F87171);
  border-color: rgba(239, 68, 68, 0.3);
}
.status-badge--red .status-dot {
  background: var(--danger-light, #F87171);
}

.status-active,
.status-published,
.status-open,
.badge-open {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success-color, #10b981);
}
.status-active .status-dot,
.status-published .status-dot,
.status-open .status-dot,
.badge-open .status-dot {
  background: var(--success-color, #10b981);
}

.status-accepted,
.status-in-progress,
.status-in_progress {
  background: rgba(59, 211, 211, 0.15);
  color: var(--primary-400, #0BF9EA);
}
.status-accepted .status-dot,
.status-in-progress .status-dot,
.status-in_progress .status-dot {
  background: var(--primary-400, #0BF9EA);
}

.status-pending {
  background: var(--gold-alpha-15, rgba(230, 190, 105, 0.15));
  color: var(--warning-color, #f59e0b);
}
.status-pending .status-dot {
  background: var(--warning-color, #f59e0b);
}

.status-draft,
.status-paused,
.status-reviewing {
  background: rgba(156, 163, 175, 0.15);
  color: #9ca3af;
}
.status-draft .status-dot,
.status-paused .status-dot,
.status-reviewing .status-dot {
  background: #9ca3af;
}

.status-completed {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
}
.status-completed .status-dot {
  background: #60A5FA;
}

.status-cancelled,
.status-closed,
.status-rejected,
.status-declined {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger-light, #F87171);
}
.status-cancelled .status-dot,
.status-closed .status-dot,
.status-rejected .status-dot,
.status-declined .status-dot {
  background: var(--danger-light, #F87171);
}

/**
 * Inline Alert / Message States — Dreamers X
 *
 * Compact single-line messages used inside panels, drawers, and
 * async-loaded sections (project room tabs, dashboard widgets, etc.).
 *
 * Usage:
 *   <p class="loading-message">Loading…</p>
 *   <p class="error-message">Something went wrong.</p>
 *   <p class="success-message">Saved!</p>
 *   <p class="info-message">Awaiting review.</p>
 *   <p class="warning-message">Your session is about to expire.</p>
 */
.info-message, .warning-message, .error-message, .success-message, .loading-message {
  padding: var(--spacing-3, 0.75rem) var(--spacing-4, 1rem);
  border-radius: var(--radius-md, 8px);
  text-align: center;
  font-size: var(--font-size-base);
  line-height: 1.5;
}

.loading-message {
  background: rgba(59, 211, 211, 0.08);
  color: var(--primary-400, #0BF9EA);
}

.success-message {
  background: rgba(16, 185, 129, 0.08);
  color: var(--success-color, #10b981);
}

.error-message {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger-light, #F87171);
}

.warning-message {
  background: var(--gold-alpha-10, rgba(230, 190, 105, 0.1));
  color: var(--gold-500, #e6be69);
}

.info-message {
  background: rgba(59, 130, 246, 0.08);
  color: #60A5FA;
}

/**
 * How It Works Section Component - Premium Polish
 * Elegant 3-step process display with light cards on dark background
 * Design: Premium, sophisticated, matching reference image aesthetic
 */
/* ========================================
   ANIMATIONS & KEYFRAMES
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* ========================================
   HOW IT WORKS SECTION - PREMIUM DESIGN
   ======================================== */
.how-it-works-section {
  background: transparent;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.8s ease-out;
  margin-right: 0;
  padding: 0;
}
.how-it-works-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(59, 211, 211, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(59, 211, 211, 0.02) 0%, transparent 50%), radial-gradient(circle at 50% 80%, rgba(59, 211, 211, 0.015) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.how-it-works-section .container {
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.how-it-works-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

/* ========================================
   TYPOGRAPHY - ELEGANT SERIF DESIGN
   ======================================== */
.how-it-works-title {
  font-size: clamp(3.5rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--brand-white);
  margin: 0 0 clamp(1.5rem, 3vw, 2rem) 0;
  letter-spacing: 0.2em;
  line-height: 1.05;
  font-family: "Baskervville", "Times New Roman", serif;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.how-it-works-title::after {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: fadeIn 1s ease-out 0.8s both;
  border-radius: 2px;
}

.how-it-works-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: rgba(252, 255, 255, 0.9);
  margin: 0 0 clamp(4rem, 6vw, 5rem) 0;
  font-weight: 400;
  letter-spacing: 0.08em;
  font-family: var(--font-family-base);
  animation: fadeInUp 0.8s ease-out 0.4s both;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   STEPS CONTAINER - PREMIUM LAYOUT
   ======================================== */
.how-it-works-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 100%;
}
@media (min-width: 768px) {
  .how-it-works-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2rem, 3vw, 2.5rem);
  }
}
@media (min-width: 1024px) {
  .how-it-works-steps {
    gap: clamp(2.5rem, 4vw, 3rem);
  }
}
@media (min-width: 1200px) {
  .how-it-works-steps {
    gap: clamp(3rem, 5vw, 3.5rem);
  }
}
@media (min-width: 1400px) {
  .how-it-works-steps {
    gap: clamp(3.5rem, 6vw, 4rem);
  }
}

/* ========================================
   STEP CARDS - PREMIUM LIGHT DESIGN
   ======================================== */
.step-card {
  background: var(--rich-black);
  border: 2px solid var(--primary-alpha-15);
  border-radius: 0.75em;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease-out both;
  margin-right: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.step-card[data-delay="0"] {
  animation-delay: 0.6s;
}
.step-card[data-delay="200"] {
  animation-delay: 0.8s;
}
.step-card[data-delay="400"] {
  animation-delay: 1s;
}
.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-alpha-5) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.step-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, var(--primary-400) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.step-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-400);
  box-shadow: var(--shadow-lg), 0 0 20px var(--primary-alpha-20);
  background: var(--rich-black);
}
.step-card:hover::before, .step-card:hover::after {
  opacity: 1;
}
.step-card:hover .step-title {
  color: var(--primary-400) !important;
  transform: translateY(-2px);
}

/* ========================================
   STEP CONTENT - ELEGANT TYPOGRAPHY
   ======================================== */
.step-content {
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 2;
}

.step-title {
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 clamp(0.5rem, 1.5vw, 0.75rem) 0;
  padding-top: 0.2em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: "Baskervville", "Times New Roman", serif;
  line-height: 1.2;
  transition: all 0.4s ease;
  max-width: 17.3em;
}

.step-title:hover {
  color: var(--primary-400) !important;
}

.step-description {
  font-size: var(--font-size-base);
  color: var(--text-secondary) !important;
  margin: 0;
  font-family: var(--font-family-base);
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 2;
  line-height: 1.5;
}

/* ========================================
   STEP IMAGES - REMOVED
   Images have been removed, keeping only text content
   ======================================== */
/* ========================================
   RESPONSIVE DESIGN - PREMIUM POLISH
   ======================================== */
/* Tablet Portrait (640px - 899px) */
@media (min-width: 640px) and (max-width: 899px) {
  .how-it-works-title {
    font-size: clamp(3rem, 6vw, 4rem);
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  }
  .how-it-works-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    margin-bottom: clamp(3.5rem, 5vw, 4.5rem);
  }
  .how-it-works-steps {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
  }
  .step-card {
    padding: clamp(2rem, 4vw, 2.75rem);
  }
}
/* Mobile (max-width: 639px) */
@media (max-width: 639px) {
  .how-it-works-section .container {
    padding: 0 clamp(1rem, 2.5vw, 1.5rem);
  }
  .how-it-works-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 0.15em;
  }
  .how-it-works-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: clamp(3rem, 5vw, 4rem);
  }
  .how-it-works-steps {
    gap: clamp(2rem, 4vw, 2.5rem);
  }
  .step-card {
    padding: clamp(1.75rem, 3.5vw, 2.25rem);
  }
  .step-content {
    margin-bottom: 0;
  }
  .step-title {
    font-size: clamp(1.5rem, 5vw, 1.75rem);
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
  }
  .step-description {
    font-size: var(--font-size-base);
  }
}
/* Ultra-small screens (<320px) */
@media (max-width: 319px) {
  .how-it-works-section .container {
    padding: 0 0.75rem;
  }
  .how-it-works-title {
    font-size: var(--font-size-xl);
    margin-bottom: 0.75rem;
  }
  .how-it-works-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: 2rem;
  }
  .how-it-works-steps {
    gap: 1.5rem;
  }
  .step-card {
    padding: 1.25rem;
  }
  .step-title {
    font-size: var(--font-size-base);
    margin-bottom: 0.75rem;
  }
  .step-description {
    font-size: var(--font-size-base);
  }
}
/* Desktop optimization (1024px - 1599px) */
@media (min-width: 1024px) and (max-width: 1599px) {
  .step-card {
    padding: clamp(1.25rem, 2vw, 1.75rem);
  }
  .step-content {
    margin-bottom: 0;
  }
  .step-title {
    padding-top: 0.15em;
    margin-bottom: clamp(0.4rem, 1vw, 0.6rem);
  }
}
/* Large screens (>1600px) */
@media (min-width: 1600px) {
  .how-it-works-title {
    font-size: 6rem;
    margin-bottom: 2.5rem;
  }
  .how-it-works-subtitle {
    font-size: 1.75rem;
    margin-bottom: 6rem;
  }
  .how-it-works-steps {
    gap: 1rem;
  }
  .step-card {
    padding: clamp(1.5rem, 2.5vw, 2rem);
  }
  .step-content {
    margin-bottom: 0;
  }
  .step-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 0.15em;
  }
  .step-description {
    font-size: var(--font-size-base);
  }
}
/* Ultra-large screens (>2560px) */
@media (min-width: 2560px) {
  .how-it-works-content {
    max-width: 2000px;
  }
  .how-it-works-title {
    font-size: 7rem;
  }
  .how-it-works-subtitle {
    font-size: 2rem;
  }
}
/**
 * Skeleton Loader Styles
 * Loading states for provider profile
 */
.skeleton-loader {
  background: linear-gradient(90deg, var(--neutral-800, #2d3a3a) 25%, var(--bg-elevated, #3a4848) 50%, var(--neutral-800, #2d3a3a) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-md, 8px);
  opacity: 0.6;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.skeleton-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
}
@media (max-width: 768px) {
  .skeleton-avatar {
    width: 120px;
    height: 120px;
  }
}

.skeleton-banner {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 800px;
  border-radius: 0;
}
@media (max-width: 768px) {
  .skeleton-banner {
    min-height: 280px;
    height: 40vh;
  }
}

.skeleton-name {
  width: 300px;
  height: 48px;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .skeleton-name {
    width: 200px;
    height: 32px;
  }
}

.skeleton-bio {
  width: 100%;
  height: 80px;
  margin-bottom: 1.5rem;
}

.skeleton-skill {
  width: 100px;
  height: 36px;
  border-radius: 20px;
  display: inline-block;
  margin-right: 0.75rem;
  margin-bottom: 0.75rem;
}

.skeleton-portfolio-item {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .skeleton-portfolio-item {
    height: 250px;
    margin-bottom: 1rem;
  }
}

.skeleton-stat {
  width: 120px;
  height: 60px;
  margin-bottom: 1.5rem;
}

.skeleton-button {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.skeleton-review {
  width: 100%;
  height: 100px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.skeleton-container.loading {
  pointer-events: none;
  user-select: none;
}
.skeleton-container.loaded .skeleton-loader {
  display: none;
}

.content-loaded {
  animation: fadeInContent 0.6s ease-out;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.portfolio-item[data-loaded=true] {
  animation: fadeInUp 0.6s ease-out both;
}
.portfolio-item:nth-child(1) {
  animation-delay: 0.05s;
}
.portfolio-item:nth-child(2) {
  animation-delay: 0.1s;
}
.portfolio-item:nth-child(3) {
  animation-delay: 0.15s;
}
.portfolio-item:nth-child(4) {
  animation-delay: 0.2s;
}
.portfolio-item:nth-child(5) {
  animation-delay: 0.25s;
}
.portfolio-item:nth-child(6) {
  animation-delay: 0.3s;
}
.portfolio-item:nth-child(7) {
  animation-delay: 0.35s;
}
.portfolio-item:nth-child(8) {
  animation-delay: 0.4s;
}
.portfolio-item:nth-child(9) {
  animation-delay: 0.45s;
}
.portfolio-item:nth-child(10) {
  animation-delay: 0.5s;
}
.portfolio-item:nth-child(11) {
  animation-delay: 0.55s;
}
.portfolio-item:nth-child(12) {
  animation-delay: 0.6s;
}
.portfolio-item:nth-child(13) {
  animation-delay: 0.65s;
}
.portfolio-item:nth-child(14) {
  animation-delay: 0.7s;
}
.portfolio-item:nth-child(15) {
  animation-delay: 0.75s;
}
.portfolio-item:nth-child(16) {
  animation-delay: 0.8s;
}
.portfolio-item:nth-child(17) {
  animation-delay: 0.85s;
}
.portfolio-item:nth-child(18) {
  animation-delay: 0.9s;
}
.portfolio-item:nth-child(19) {
  animation-delay: 0.95s;
}
.portfolio-item:nth-child(20) {
  animation-delay: 1s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/**
 * Gallery Fullscreen Viewer
 */
.portfolio-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: var(--z-modal, 1050);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: default;
}
.portfolio-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.portfolio-lightbox:focus {
  outline: none;
}

.lightbox-media {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  cursor: default;
}
@media (max-width: 768px) {
  .lightbox-media {
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 4px;
  }
}

.lightbox-video {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  background: #000;
}
@media (max-width: 768px) {
  .lightbox-video {
    max-width: 95vw;
    max-height: 80vh;
    border-radius: 4px;
  }
}

.lightbox-unmute-hint {
  position: absolute;
  bottom: calc(50% - 120px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px 18px;
  border-radius: 24px;
  font-size: var(--font-size-base);
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease;
  white-space: nowrap;
  z-index: 10;
}
.lightbox-unmute-hint:hover {
  background: rgba(59, 211, 211, 0.25);
  border-color: var(--primary-400);
}
.lightbox-unmute-hint:focus-visible {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}

/**
 * Project Room Modal
 */
.project-room-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  display: none;
}
.project-room-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-room-modal button,
.project-room-modal .btn,
.project-room-modal a,
.project-room-modal [role=button] {
  transition: none !important;
}
.project-room-modal button:hover,
.project-room-modal .btn:hover,
.project-room-modal a:hover,
.project-room-modal [role=button]:hover,
.project-room-modal .nav-tab:hover,
.project-room-modal .btn-attachment:hover,
.project-room-modal .project-room-close:hover,
.project-room-modal .btn-add-project-details-link:hover,
.project-room-modal .message-bubble:hover,
.project-room-modal .file-item:hover,
.project-room-modal .attachment-preview:hover,
.project-room-modal .image-thumbnail:hover,
.project-room-modal .file-thumbnail:hover,
.project-room-modal .scroll-to-bottom-btn:hover {
  transform: none !important;
  box-shadow: none !important;
  background-color: inherit !important;
  background: inherit !important;
  border-color: inherit !important;
  color: inherit !important;
  text-decoration-color: inherit !important;
}
.project-room-modal button::before,
.project-room-modal button::after,
.project-room-modal .btn::before,
.project-room-modal .btn::after {
  display: none !important;
  content: none !important;
}

body.project-room-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
  touch-action: none !important;
  -webkit-overflow-scrolling: none !important;
}

.project-room-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
}

.project-room-container {
  position: relative;
  width: 90vw;
  max-width: 80%;
  height: 80vh;
  max-height: 700px;
  background: var(--rich-black);
  border: 2px solid var(--primary-400);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.project-room-modal .project-room-close,
#project-room-modal .project-room-close {
  position: absolute !important;
  top: var(--spacing-3) !important;
  right: var(--spacing-3) !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  color: var(--text-muted) !important;
  cursor: pointer !important;
  z-index: 10 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}
.project-room-modal .project-room-close::before, .project-room-modal .project-room-close::after,
#project-room-modal .project-room-close::before,
#project-room-modal .project-room-close::after {
  display: none !important;
}
.project-room-modal .project-room-close:hover,
#project-room-modal .project-room-close:hover {
  transform: none !important;
  box-shadow: none !important;
  color: var(--text-muted) !important;
}
.project-room-modal .project-room-close svg,
#project-room-modal .project-room-close svg {
  width: 22px !important;
  height: 22px !important;
}

.project-room-layout {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.project-room-sidebar {
  width: 20%;
  flex-shrink: 0;
  border-right: 1px solid var(--gradient-midnight);
  display: flex;
  flex-direction: column;
}

.project-room-header {
  padding: var(--spacing-3);
  border-bottom: 1px solid var(--gradient-midnight);
}

.freelancer-mini-profile {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}

.freelancer-avatar-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.freelancer-avatar-placeholder-small {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-alpha-20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  color: var(--primary-500);
  flex-shrink: 0;
}

.freelancer-info {
  flex: 1;
}

.freelancer-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

.freelancer-title {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  margin-top: 2px;
}

.project-room-nav {
  padding: var(--spacing-2);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  text-align: left;
  width: 100%;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}
.nav-tab::before, .nav-tab::after {
  display: none !important;
}
.nav-tab:hover {
  background: transparent !important;
  color: var(--text-secondary) !important;
  transform: none !important;
  box-shadow: none !important;
}
.nav-tab.active {
  background: var(--primary-400);
  color: var(--primary-500);
}
.nav-tab:focus-visible {
  outline: 2px solid var(--primary-alpha-40);
  outline-offset: 2px;
}

.nav-icon {
  font-size: 18px;
}

.nav-label {
  flex: 1;
  text-align: left;
}

.nav-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.project-room-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--rich-black);
  min-width: 0;
  overflow: hidden;
}

.tab-content {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.tab-content.active {
  display: flex;
}

.chat-header {
  padding: var(--spacing-4) var(--spacing-5);
  border-bottom: 1px solid var(--gradient-midnight);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-page);
  flex-shrink: 0;
}
.chat-header .chat-header-left {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  flex: 1;
  min-width: 0;
}
.chat-header .chat-header-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  flex-shrink: 0;
}
.chat-header h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0;
}

.chat-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.chat-search-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-base);
}
.chat-search-toggle:hover {
  background: var(--bg-hover);
  border-color: var(--gradient-midnight);
  color: var(--primary-500);
}

.chat-search-input {
  width: 200px;
  padding: var(--spacing-2) var(--spacing-3);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  transition: var(--transition-base);
}
.chat-search-input:focus {
  outline: none;
  border-color: var(--primary-alpha-50);
  box-shadow: var(--glow-subtle);
  width: 250px;
}
.chat-search-input::placeholder {
  color: var(--text-muted);
}

.project-status {
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  box-shadow: var(--shadow-xs);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.project-status.status-in-progress {
  background: var(--primary-500);
  color: var(--rich-black);
  border: none;
}

.chat-thread {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-4);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  min-height: 0;
}
.chat-thread::-webkit-scrollbar {
  width: 4px;
}
.chat-thread::-webkit-scrollbar-track {
  background: transparent;
}
.chat-thread::-webkit-scrollbar-thumb {
  background: var(--gradient-midnight);
  border-radius: 2px;
}

.date-divider {
  text-align: center;
  margin: var(--spacing-6) 0;
  position: relative;
}
.date-divider::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--gradient-midnight);
}
.date-divider span {
  display: inline-block;
  padding: var(--spacing-2) var(--spacing-4);
  background: var(--bg-page);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.message {
  display: flex;
  gap: var(--spacing-3);
  animation: fadeInMessage 0.3s ease-out;
}
.message.sent {
  flex-direction: row-reverse;
}
.message.sent .message-content {
  align-items: flex-end;
}
.message.sent .message-bubble {
  background: var(--primary-50);
  color: var(--rich-black);
}
.message.sent .message-meta {
  flex-direction: row-reverse;
}
.message.received .message-bubble {
  background: var(--gold-900);
  color: var(--text-primary);
  border: 1px solid var(--gradient-midnight);
}
.message.grouped {
  margin-top: calc(var(--spacing-2) * -1);
  gap: var(--spacing-2);
}
.message.grouped .message-avatar,
.message.grouped .message-avatar-spacer {
  width: 40px;
  visibility: hidden;
}
.message.grouped .message-sender {
  display: none;
}
.message.grouped .message-bubble {
  margin-top: 0;
}

.message-avatar-spacer {
  width: 40px;
  flex-shrink: 0;
}

.message-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.message-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.message-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-semibold);
  color: var(--rich-black);
}

.message-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
  max-width: 70%;
}
.message-content .message-sender {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-1);
  padding: 0 var(--spacing-2);
}

.message-bubble {
  padding: var(--spacing-3_5) var(--spacing-4_5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-base);
}
.message-bubble p {
  margin: 0;
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  font-weight: var(--font-weight-normal);
}
.message-bubble:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.message-attachments {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--spacing-2);
  margin-top: var(--spacing-3);
  max-width: 400px;
}

.attachment-preview {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--gradient-midnight);
}
.attachment-preview:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(59, 211, 211, 0.2);
  border-color: var(--primary-alpha-50);
}
.attachment-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.message-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--spacing-2);
  margin-top: var(--spacing-3);
  max-width: 500px;
}
.message-images-grid .image-thumbnail {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--gradient-midnight);
  position: relative;
}
.message-images-grid .image-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(59, 211, 211, 0.3);
  border-color: var(--primary-alpha-50);
  z-index: 1;
}
.message-images-grid .image-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.message-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-base);
  color: var(--text-muted);
  font-weight: var(--font-weight-normal);
}

.message-sender {
  font-weight: var(--font-weight-semibold);
  color: var(--text-tertiary);
}

.chat-input-area {
  flex-shrink: 0;
  padding: var(--spacing-3);
  border-top: 1px solid var(--gradient-midnight);
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  background: var(--rich-black);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
}
.input-wrapper:focus-within {
  border-color: var(--primary-alpha-40);
}

.project-room-modal .btn-attachment,
#project-room-modal .btn-attachment {
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  color: var(--text-muted) !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}
.project-room-modal .btn-attachment::before, .project-room-modal .btn-attachment::after,
#project-room-modal .btn-attachment::before,
#project-room-modal .btn-attachment::after {
  display: none !important;
}
.project-room-modal .btn-attachment:hover,
#project-room-modal .btn-attachment:hover {
  transform: none !important;
  box-shadow: none !important;
  color: var(--text-muted) !important;
}
.project-room-modal .btn-attachment svg,
#project-room-modal .btn-attachment svg {
  width: 22px !important;
  height: 22px !important;
}

#message-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  resize: none;
  min-height: 20px;
  max-height: 100px;
  padding: var(--spacing-2) 0;
  line-height: 1.4;
}
#message-input::placeholder {
  color: var(--text-muted);
}
#message-input:focus {
  outline: none;
}

.btn-send {
  padding: var(--spacing-2) var(--spacing-4);
  background: var(--primary-500);
  border: none;
  border-radius: var(--radius-md);
  color: var(--rich-black);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: var(--transition-base);
  flex-shrink: 0;
}
.btn-send:hover:not(:disabled) {
  background: var(--primary-400);
}
.btn-send:focus-visible {
  outline: 2px solid var(--primary-alpha-40);
  outline-offset: 2px;
}
.btn-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.files-header {
  padding: var(--spacing-6);
  border-bottom: 1px solid var(--gradient-midnight);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.files-header h3 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0;
}
.files-header .files-refresh-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--spacing-2);
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.files-header .files-refresh-btn:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}
.files-header .files-refresh-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.files-header .files-refresh-btn.loading svg {
  animation: spin 1s linear infinite;
}
.files-header .files-refresh-btn svg {
  width: 20px;
  height: 20px;
}

.files-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-8);
}
.files-empty-state .empty-icon {
  font-size: 32px;
  opacity: 0.3;
  margin-bottom: var(--spacing-3);
}
.files-empty-state p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--font-size-base);
}
.files-empty-state p.empty-hint {
  margin-top: var(--spacing-1);
  font-size: var(--font-size-base);
}

.files-loading-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-8);
}
.files-loading-state .loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--primary-alpha-15);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: var(--spacing-3);
}
.files-loading-state p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--font-size-base);
}

.files-error-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-8);
}
.files-error-state .error-icon {
  font-size: 32px;
  margin-bottom: var(--spacing-3);
}
.files-error-state p {
  margin: 0 0 var(--spacing-4) 0;
  color: var(--text-muted);
  font-size: var(--font-size-base);
  text-align: center;
}
.files-error-state .btn-retry-files {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-base);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.files-error-state .btn-retry-files:hover {
  background: var(--primary-hover);
}

.files-list {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-6);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}

.file-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-4);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}
.file-item:hover {
  background: transparent !important;
  border-color: var(--gradient-midnight);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.file-thumbnail {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid var(--gradient-midnight);
}
.file-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.file-thumbnail:hover img {
  transform: scale(1.1);
}

.file-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-400);
  border-radius: var(--radius-md);
  color: var(--primary-400);
  flex-shrink: 0;
}

.file-info {
  flex: 1;
  min-width: 0;
}
.file-info .file-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-info .file-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  font-size: var(--font-size-base);
  color: var(--text-muted);
}
.file-info .file-meta .file-sender {
  font-weight: var(--font-weight-medium);
}
.file-info .file-meta .file-date::before {
  content: "•";
  margin-right: var(--spacing-2);
}
.file-info .file-meta .file-size::before {
  content: "•";
  margin-right: var(--spacing-2);
}

.file-download-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-400);
  border: 1px solid var(--primary-alpha-30);
  border-radius: var(--radius-md);
  color: var(--primary-400);
  transition: var(--transition-base);
  flex-shrink: 0;
  padding: 0 !important;
}
.file-download-btn:hover {
  background: var(--primary-alpha-20);
  border-color: var(--primary-alpha-50);
  transform: scale(1.05);
}

.project-room-details {
  width: 220px;
  flex-shrink: 0;
  border-left: 1px solid var(--primary-alpha-15);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.project-room-details::-webkit-scrollbar {
  width: 4px;
}
.project-room-details::-webkit-scrollbar-track {
  background: transparent;
}
.project-room-details::-webkit-scrollbar-thumb {
  background: var(--gradient-midnight);
  border-radius: 2px;
}

.details-section {
  padding: var(--spacing-4);
}
.details-section h3 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-4) 0;
}

.detail-group {
  margin-bottom: var(--spacing-3);
}
.detail-group:last-child {
  margin-bottom: 0;
}

.detail-label {
  display: block;
  font-size: var(--font-size-base);
  color: var(--text-muted);
  margin-bottom: 2px;
}

.detail-value {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.detail-status-container {
  display: block;
}

.status-badge {
  display: inline-block;
  padding: var(--spacing-1) var(--spacing-2);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  text-transform: capitalize;
}
.status-badge.status-in-progress {
  background: var(--primary-400);
  color: var(--primary-500);
}
.status-badge.status-not-started {
  color: var(--text-muted);
}
.status-badge.status-completed {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}
.status-badge.status-cancelled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.details-actions {
  padding: var(--spacing-5);
  border-top: 1px solid var(--gradient-midnight);
  margin-top: auto;
}

.btn-block {
  width: 100%;
}

.btn-outline {
  padding: var(--spacing-3) var(--spacing-5);
  background: transparent;
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: var(--transition-base);
}
.btn-outline:hover {
  background: var(--bg-hover);
  border-color: var(--primary-alpha-15);
  color: var(--brand-white) !important;
}

@media (max-width: 768px) {
  .project-room-container {
    width: 100vw;
    height: 100vh;
    max-height: none;
    border-radius: 0;
    border: 2px solid var(--primary-400);
  }
  .project-room-sidebar {
    width: 160px;
  }
  .project-room-details {
    display: none;
  }
}
@media (max-width: 480px) {
  .project-room-sidebar {
    display: none;
  }
  .project-room-close {
    top: var(--spacing-2);
    right: var(--spacing-2);
  }
}
.chat-loading,
.chat-empty-state,
.chat-info-state,
.chat-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-8);
  text-align: center;
  flex: 1;
}
.chat-loading .loading-spinner,
.chat-empty-state .loading-spinner,
.chat-info-state .loading-spinner,
.chat-error .loading-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--primary-alpha-15);
  border-top-color: var(--primary-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: var(--spacing-4);
}
.chat-loading .empty-title,
.chat-empty-state .empty-title,
.chat-info-state .empty-title,
.chat-error .empty-title {
  margin: 0;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  font-weight: var(--font-weight-normal);
}
.chat-loading .empty-hint,
.chat-empty-state .empty-hint,
.chat-info-state .empty-hint,
.chat-error .empty-hint {
  margin-top: var(--spacing-2);
  font-size: var(--font-size-base);
  color: var(--text-muted);
}

.btn-add-project-details-link {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  color: var(--primary-500) !important;
  cursor: pointer;
  font-size: inherit;
  font-weight: var(--font-weight-medium);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: none !important;
  box-shadow: none !important;
  transform: none !important;
}
.btn-add-project-details-link::before, .btn-add-project-details-link::after {
  display: none !important;
}
.btn-add-project-details-link:hover {
  text-decoration-color: transparent !important;
  color: var(--primary-500) !important;
  transform: none !important;
  box-shadow: none !important;
}

.chat-loading .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--primary-alpha-20);
  border-top-color: var(--primary-500);
  border-radius: var(--radius-md);
  animation: spin 1s linear infinite;
}

.chat-error {
  background: rgba(220, 53, 69, 0.1);
  border-radius: var(--radius-md);
  margin: var(--spacing-5);
  min-height: auto;
  padding: var(--spacing-4) var(--spacing-5);
  flex-direction: row;
  gap: var(--spacing-3);
}
.chat-error .error-icon {
  font-size: 24px;
  margin-bottom: 0;
}
.chat-error p {
  color: var(--danger-dark);
  font-size: var(--font-size-base);
}

.chat-error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12) var(--spacing-5);
  text-align: center;
  color: var(--text-muted);
}
.chat-error-state .error-icon {
  font-size: 48px;
  margin-bottom: var(--spacing-4);
  opacity: 0.5;
}
.chat-error-state .error-message {
  font-size: var(--font-size-base);
  color: var(--danger-light);
  margin-bottom: var(--spacing-2);
  font-weight: var(--font-weight-medium);
}
.chat-error-state .error-hint {
  font-size: var(--font-size-base);
  color: var(--text-disabled);
  margin: 0;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: var(--spacing-1);
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: var(--radius-xl);
  width: fit-content;
  margin: var(--spacing-2) 0;
  box-shadow: var(--shadow-xs);
}
.typing-indicator .typing-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-alpha-70);
  border-radius: var(--radius-md);
  animation: typingBounce 1.4s ease-in-out infinite;
}
.typing-indicator .typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-indicator .typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}
.typing-indicator .typing-text {
  margin-left: var(--spacing-2);
  font-size: var(--font-size-base);
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
}

@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-4px);
  }
}
@keyframes fadeInMessage {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.scroll-to-bottom-btn {
  position: absolute;
  bottom: var(--spacing-6);
  right: var(--spacing-6);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-500);
  border: none;
  border-radius: var(--radius-md);
  color: var(--rich-black);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-base);
  z-index: 10;
  animation: fadeInMessage 0.3s ease-out;
}
.scroll-to-bottom-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-primary-lg);
}
.scroll-to-bottom-btn:active {
  transform: translateY(0) scale(1);
}
.scroll-to-bottom-btn svg {
  width: 20px;
  height: 20px;
}

.image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  cursor: pointer;
  animation: fadeInMessage 0.2s ease-out;
}
.image-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  pointer-events: none;
}

.search-highlight {
  background: var(--primary-alpha-30);
  color: var(--text-primary);
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: var(--font-weight-semibold);
}

.file-preview {
  margin-bottom: var(--spacing-3);
  order: -1;
}

.btn-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.file-preview {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3);
  background: var(--primary-400);
  border: 1px solid var(--primary-alpha-30);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-3);
  position: relative;
}
.file-preview .file-preview-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.file-preview .file-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.file-preview .file-preview-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.file-preview .file-preview-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary-500);
}
.file-preview .file-preview-info {
  flex: 1;
  min-width: 0;
}
.file-preview .file-preview-info .file-name {
  display: block;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin-bottom: var(--spacing-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-preview .file-preview-info .file-size {
  display: block;
  font-size: var(--font-size-base);
  color: var(--text-muted);
}
.file-preview .file-preview-remove {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-hover);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition-base);
  flex-shrink: 0;
}
.file-preview .file-preview-remove:hover {
  background: rgba(220, 53, 69, 0.2);
  color: var(--danger-color);
}

.message-image {
  margin-bottom: var(--spacing-2);
}
.message-image a {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 300px;
  transition: var(--transition-base);
}
.message-image a:hover {
  transform: scale(1.02);
}
.message-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.message-file {
  margin-bottom: var(--spacing-2);
}
.message-file .file-attachment {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition-base);
}
.message-file .file-attachment:hover {
  background: var(--bg-hover);
  border-color: var(--primary-alpha-50);
}
.message-file .file-attachment .file-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-alpha-15);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.message-file .file-attachment .file-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-500);
}
.message-file .file-attachment .file-info {
  flex: 1;
  min-width: 0;
}
.message-file .file-attachment .file-info .file-name {
  display: block;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin-bottom: var(--spacing-0_5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.message-file .file-attachment .file-info .file-size {
  display: block;
  font-size: var(--font-size-base);
  color: var(--text-muted);
}
.message.sent .message-file .file-attachment {
  background: rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.2);
}
.message.sent .message-file .file-attachment:hover {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 0, 0, 0.3);
}
.message.sent .message-file .file-attachment .file-icon {
  background: rgba(0, 0, 0, 0.2);
}
.message.sent .message-file .file-attachment .file-icon svg {
  color: var(--rich-black);
}
.message.sent .message-file .file-attachment .file-info .file-name {
  color: var(--rich-black);
}
.message.sent .message-file .file-attachment .file-info .file-size {
  color: rgba(0, 0, 0, 0.6);
}

.onboarding-form-container {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-6) var(--spacing-4);
  background: var(--rich-black);
  min-height: 0;
}

.onboarding-header {
  margin-bottom: var(--spacing-6);
  text-align: center;
  padding-bottom: var(--spacing-4);
  border-bottom: 1px solid var(--gradient-midnight);
}
.onboarding-header .onboarding-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-2) 0;
}
.onboarding-header .onboarding-subtitle {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0;
  font-weight: var(--font-weight-normal);
}

.onboarding-form {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--spacing-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gradient-midnight);
}

.onboarding-core-fields {
  margin-bottom: var(--spacing-4);
}

.onboarding-field {
  margin-bottom: var(--spacing-4);
}
.onboarding-field:last-child {
  margin-bottom: 0;
}

.onboarding-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-3);
}
.onboarding-label .required-label {
  color: var(--danger-color);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
}
.onboarding-label .optional-label {
  color: var(--text-muted);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
  margin-left: auto;
}

.onboarding-input,
.onboarding-select,
.onboarding-textarea,
#project-description,
#conversation-title,
#project-budget,
#project-timeline {
  width: 100% !important;
  padding: var(--spacing-3) var(--spacing-4) !important;
  background: var(--rich-black) !important;
  border: 1px solid var(--primary-alpha-15) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-primary) !important;
  font-size: var(--font-size-base) !important;
  font-family: var(--font-family-base) !important;
  transition: none !important;
  line-height: var(--line-height-normal) !important;
  box-shadow: none !important;
  margin: 0 !important;
}
.onboarding-input:hover,
.onboarding-select:hover,
.onboarding-textarea:hover,
#project-description:hover,
#conversation-title:hover,
#project-budget:hover,
#project-timeline:hover {
  border-color: var(--primary-alpha-15) !important;
  background: var(--rich-black) !important;
  box-shadow: none !important;
}
.onboarding-input:focus,
.onboarding-select:focus,
.onboarding-textarea:focus,
#project-description:focus,
#conversation-title:focus,
#project-budget:focus,
#project-timeline:focus {
  outline: none !important;
  border-color: var(--primary-500) !important;
  background: var(--rich-black) !important;
  box-shadow: 0 0 0 2px var(--primary-alpha-20) !important;
}
.onboarding-input::placeholder,
.onboarding-select::placeholder,
.onboarding-textarea::placeholder,
#project-description::placeholder,
#conversation-title::placeholder,
#project-budget::placeholder,
#project-timeline::placeholder {
  color: var(--text-muted) !important;
}
.onboarding-input:disabled,
.onboarding-select:disabled,
.onboarding-textarea:disabled,
#project-description:disabled,
#conversation-title:disabled,
#project-budget:disabled,
#project-timeline:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

.onboarding-textarea,
#project-description {
  resize: vertical !important;
  min-height: 120px !important;
  max-height: 200px !important;
}

.field-hint {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-2);
  font-size: var(--font-size-base);
  color: var(--text-muted);
  margin-top: var(--spacing-2);
  line-height: var(--line-height-relaxed);
}
.field-hint::before {
  content: "ℹ";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-400);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  color: var(--primary-500);
}

.toggle-details-btn {
  width: 100%;
  padding: var(--spacing-4) var(--spacing-5);
  border: 2px dashed var(--primary-alpha-15);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3);
  margin: var(--spacing-8) 0 var(--spacing-6);
  transition: var(--transition-base);
  position: relative;
}
.toggle-details-btn::before {
  content: "";
  position: absolute;
  left: var(--spacing-5);
  width: 24px;
  height: 24px;
  background: var(--primary-alpha-15);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}
.toggle-details-btn:hover {
  background: var(--bg-hover);
  border-color: var(--primary-500);
  border-style: solid;
  color: var(--primary-500);
  transform: translateY(-1px);
}
.toggle-details-btn:hover::before {
  background: var(--primary-alpha-30);
}
.toggle-details-btn.expanded {
  color: var(--primary-500);
  background: var(--primary-400);
  border-color: var(--primary-500);
  border-style: solid;
}
.toggle-details-btn.expanded::before {
  background: var(--primary-500);
}
.toggle-details-btn svg {
  transition: var(--transition-base);
  width: 20px;
  height: 20px;
}

.onboarding-additional-fields {
  padding-top: var(--spacing-6);
  padding-bottom: var(--spacing-4);
  border-top: 1px solid var(--gradient-midnight);
  margin-top: var(--spacing-6);
}

.file-upload-trigger {
  width: 100%;
  padding: var(--spacing-5);
  background: var(--bg-page);
  border: 2px dashed var(--primary-alpha-15);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3);
  transition: var(--transition-base);
  position: relative;
}
.file-upload-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: var(--transition-base);
  flex-shrink: 0;
}
.file-upload-trigger span {
  flex: 1;
  text-align: center;
}
.file-upload-trigger:hover {
  background: var(--primary-alpha-5);
  border-color: var(--primary-500);
  border-style: solid;
  color: var(--primary-500);
  box-shadow: var(--shadow-sm);
}
.file-upload-trigger:hover svg {
  color: var(--primary-500);
  transform: rotate(-10deg);
}
.file-upload-trigger:active {
  transform: scale(0.98);
}

.file-preview-area {
  margin-top: var(--spacing-3);
}

.file-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
}
.file-item .file-thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.file-item .file-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.file-item .file-info {
  flex: 1;
  min-width: 0;
}
.file-item .file-name {
  display: block;
  font-size: var(--font-size-base);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-item .file-size {
  font-size: var(--font-size-base);
  color: var(--text-muted);
}
.file-item .file-remove {
  width: 28px;
  height: 28px;
  background: rgba(255, 77, 77, 0.15);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--danger-color);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition-base);
}
.file-item .file-remove:hover {
  background: rgba(255, 77, 77, 0.25);
}

.onboarding-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-4);
  margin-top: var(--spacing-10);
  padding-top: var(--spacing-8);
  border-top: 1px solid var(--gradient-midnight);
}

.btn-cancel {
  padding: var(--spacing-4) var(--spacing-5);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: var(--transition-base);
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid var(--primary-alpha-15);
}
.btn-cancel:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: var(--primary-alpha-15);
  color: var(--text-primary);
}
.btn-cancel:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-submit {
  padding: var(--spacing-4) var(--spacing-6);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  background: var(--primary-500);
  color: var(--rich-black);
  box-shadow: var(--shadow-primary);
  position: relative;
  overflow: hidden;
}
.btn-submit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-lg);
}
.btn-submit:hover:not(:disabled)::before {
  width: 300px;
  height: 300px;
}
.btn-submit:active:not(:disabled) {
  transform: translateY(0);
}
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-submit .loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.2);
  border-top-color: var(--rich-black);
  border-radius: var(--radius-md);
  animation: spin 0.8s linear infinite;
}

.onboarding-error {
  padding: var(--spacing-4) var(--spacing-5);
  background: rgba(255, 77, 77, 0.1);
  border: 2px solid var(--danger-color);
  border-radius: var(--radius-lg);
  color: var(--danger-color);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  margin-top: var(--spacing-4);
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}
.onboarding-error::before {
  content: "⚠";
  font-size: var(--font-size-2xl);
  flex-shrink: 0;
}

.char-counter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--spacing-1);
  margin-top: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  background: var(--bg-page);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.char-counter .char-count {
  font-weight: var(--font-weight-bold);
  color: var(--text-secondary);
}
.char-counter .char-count.near-limit {
  color: var(--warning-color);
}
.char-counter .char-count.at-limit {
  color: var(--danger-color);
}
.char-counter .char-limit {
  font-weight: var(--font-weight-normal);
}

@media (max-width: 768px) {
  .onboarding-form-container {
    padding: var(--spacing-6) var(--spacing-4);
  }
  .onboarding-form {
    padding: var(--spacing-6);
  }
  .onboarding-actions {
    grid-template-columns: 1fr;
    gap: var(--spacing-3);
  }
  .onboarding-actions .btn-cancel {
    order: 2;
  }
  .onboarding-actions .btn-submit {
    order: 1;
  }
  .onboarding-header {
    margin-bottom: var(--spacing-8);
    padding-bottom: var(--spacing-4);
  }
  .onboarding-header .onboarding-title {
    font-size: var(--font-size-2xl);
  }
  .onboarding-header .onboarding-subtitle {
    font-size: var(--font-size-base);
  }
}
@media (prefers-reduced-motion: reduce) {
  .message,
  .scroll-to-bottom-btn,
  .image-lightbox {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .typing-dot {
    animation-duration: 0.01ms !important;
  }
  .chat-messages {
    scroll-behavior: auto;
  }
}
/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme .project-room-container {
  background: var(--bg-card);
}
body.light-theme .project-room-main {
  background: var(--bg-page);
}
body.light-theme .input-wrapper {
  background: var(--bg-input);
}

/*!
 * Dreamers X Theme - Main SCSS Entry Point
 * Compiled version of the CSS with organized structure
 */
/* Normalize.css excerpt - essential resets only */
/**
 * Dreamers Search Input Component
 * 
 * Standardized search input component with consistent styling
 * across all search implementations in the project
 */
/* ========================================
   SEARCH WRAPPER
   ======================================== */
.dreamers-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

/* ========================================
   SEARCH INPUT
   ======================================== */
.dreamers-search-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  background: transparent;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
  display: block;
  line-height: normal;
}
.dreamers-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.dreamers-search-input:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.5);
}
.dreamers-search-input:focus {
  outline: none !important;
  border-color: var(--primary-400);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.15);
}
.dreamers-search-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.dreamers-search-input {
  /* Focused state */
}
.dreamers-search-input.is-focused {
  border-color: var(--primary-400);
  background: rgba(255, 255, 255, 0.06);
}
.dreamers-search-input {
  /* Override browser autofill styles */
}
.dreamers-search-input:-webkit-autofill, .dreamers-search-input:-webkit-autofill:hover, .dreamers-search-input:-webkit-autofill:focus, .dreamers-search-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px rgba(0, 0, 0, 0.4) inset !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
}
.dreamers-search-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px rgba(0, 0, 0, 0.4) inset, 0 0 0 3px rgba(59, 211, 211, 0.15) !important;
  border-color: #3BD3D3 !important;
}

/* ========================================
   SEARCH ICON (Prefix)
   ======================================== */
.dreamers-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  z-index: 2;
  width: 20px;
  height: 20px;
  transition: color 0.2s ease;
}
.dreamers-search-input:focus ~ .dreamers-search-icon, .dreamers-search-input.is-focused ~ .dreamers-search-icon {
  color: #3BD3D3;
}
.dreamers-search-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ========================================
   CLEAR BUTTON
   ======================================== */
.dreamers-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
  display: none;
  z-index: 2;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.dreamers-search-clear[aria-hidden=false] {
  display: flex;
}
.dreamers-search-clear svg {
  width: 16px;
  height: 16px;
  display: block;
}
.dreamers-search-clear:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-50%);
}
.dreamers-search-clear:focus {
  outline: 2px solid #3BD3D3;
  outline-offset: 2px;
}
.dreamers-search-clear:active {
  transform: translateY(-50%) scale(0.95);
}

/* ========================================
   VARIANTS
   ======================================== */
/* Compact variant (smaller height) */
.dreamers-search-input--compact {
  height: 40px;
  padding: 0 12px 0 36px;
  font-size: var(--font-size-base);
}
.dreamers-search-input--compact ~ .dreamers-search-icon {
  left: 12px;
  width: 18px;
  height: 18px;
}
.dreamers-search-input--compact ~ .dreamers-search-clear {
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 6px;
}
.dreamers-search-input--compact ~ .dreamers-search-clear svg {
  width: 14px;
  height: 14px;
}

/* Large variant */
.dreamers-search-input--large {
  height: 56px;
  padding: 0 20px 0 52px;
  font-size: 1.125rem;
}
.dreamers-search-input--large ~ .dreamers-search-icon {
  left: 20px;
  width: 22px;
  height: 22px;
}
.dreamers-search-input--large ~ .dreamers-search-clear {
  right: 16px;
  width: 36px;
  height: 36px;
  padding: 10px;
}
.dreamers-search-input--large ~ .dreamers-search-clear svg {
  width: 18px;
  height: 18px;
}

/* Header variant (for header search) */
.dreamers-search-input--header {
  height: 44px;
  padding: 0 var(--spacing-10) 0 var(--spacing-10);
  background: var(--bg-subtle);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-xl);
  font-size: var(--font-size-base);
}
.dreamers-search-input--header:hover {
  border-color: var(--primary-alpha-15);
  background: var(--bg-muted);
}
.dreamers-search-input--header:focus {
  border-color: var(--primary-500);
  background: var(--bg-muted);
  box-shadow: 0 0 0 3px var(--primary-alpha-15);
}

/* Mobile variant */
.dreamers-search-input--mobile {
  height: 48px;
  border-radius: 12px;
}

/* Gallery variant */
.dreamers-search-input--gallery {
  max-width: 600px;
  margin: 0 auto;
}

/* Dashboard variant */
.dreamers-search-input--dashboard {
  background: var(--bg-elevated, #3a4848);
  border: 1px solid var(--border-color, rgba(252, 255, 255, 0.1));
}
.dreamers-search-input--dashboard:focus {
  border-color: var(--primary-color, #3BD3D3);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.2);
}

/* ========================================
   SEARCH SHORTCUT HINT
   ======================================== */
.dreamers-search-shortcut {
  position: absolute;
  right: var(--spacing-3);
  top: 50%;
  transform: translateY(-50%);
  padding: 3px 8px;
  background: rgba(59, 211, 211, 0.2);
  border: 1px solid rgba(59, 211, 211, 0.3);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #3BD3D3;
  pointer-events: none;
  transition: var(--transition-base);
  z-index: 1;
}
.dreamers-search-input:focus ~ .dreamers-search-shortcut, .dreamers-search-input.is-focused ~ .dreamers-search-shortcut {
  background: #3BD3D3;
  border-color: var(--primary-400);
  color: rgba(0, 0, 0, 0.9);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 768px) {
  .dreamers-search-input {
    font-size: var(--font-size-base);
  }
  .dreamers-search-input--header {
    height: 40px;
    font-size: var(--font-size-base);
  }
}
@media (min-width: 640px) {
  .dreamers-search-input {
    height: 44px;
    padding: 0 14px 0 40px;
    font-size: var(--font-size-base);
  }
  .dreamers-search-icon {
    left: 14px;
    width: 18px;
    height: 18px;
  }
  .dreamers-search-clear {
    right: 10px;
    width: 30px;
    height: 30px;
    padding: 7px;
  }
  .dreamers-search-clear svg {
    width: 15px;
    height: 15px;
  }
}
/* ========================================
   ACCESSIBILITY
   ======================================== */
/* Screen reader only label */
.dreamers-search-label-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========================================
   LIGHT THEME OVERRIDES
   ======================================== */
body.light-theme .dreamers-search-input {
  color: var(--text-primary);
  background: var(--bg-input);
  border-color: var(--border-light);
}
body.light-theme .dreamers-search-input::placeholder {
  color: var(--text-muted);
}
body.light-theme .dreamers-search-input:hover {
  border-color: var(--border-default);
  background: var(--bg-input);
}
body.light-theme .dreamers-search-input:focus, body.light-theme .dreamers-search-input.is-focused {
  background: var(--bg-input);
  border-color: var(--primary-400);
}
body.light-theme .dreamers-search-input:-webkit-autofill, body.light-theme .dreamers-search-input:-webkit-autofill:hover, body.light-theme .dreamers-search-input:-webkit-autofill:focus, body.light-theme .dreamers-search-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--bg-input) inset !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  border-color: var(--border-light) !important;
}
body.light-theme .dreamers-search-icon {
  color: var(--text-muted);
}
body.light-theme .dreamers-search-clear {
  color: var(--text-muted);
}
body.light-theme .dreamers-search-clear:hover {
  background: var(--bg-active);
  color: var(--text-primary);
}
body.light-theme .dreamers-search-input--dashboard {
  background: var(--bg-elevated);
  border-color: var(--border-subtle);
}

/**
 * Chat/Messages Component Styles
 *
 * Comprehensive styling for the chat interface including:
 * - Messages dashboard layout
 * - Conversation sidebar
 * - Chat area and message bubbles
 * - Input area with attachments
 * - Responsive design
 * - Loading and empty states
 */
/* Messages Page Layout */
.messages-page .dashboard-main-content {
  padding: var(--spacing-4);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--spacing-8));
  background: var(--rich-black);
}
.messages-page .dashboard-page-header {
  padding: var(--spacing-6);
  padding-bottom: var(--spacing-0);
  margin-bottom: var(--spacing-0);
  background: var(--rich-black);
  border-radius: var(--radius-lg);
}

/* Messages Container */
.messages-container {
  display: flex;
  flex: 1;
  overflow: hidden;
  background: var(--rich-black);
  border: 1px solid var(--midnight-end);
  border-radius: var(--radius-lg);
  /* Desktop: Side-by-side layout */
}
@media (min-width: 769px) {
  .messages-container .conversations-sidebar {
    width: 380px;
    flex-shrink: 0;
  }
  .messages-container .chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .messages-container .mobile-back-btn {
    display: none !important; /* Hide on desktop */
  }
}
.messages-container {
  /* Mobile: Toggle between list and chat */
}
@media (max-width: 768px) {
  .messages-container .conversations-sidebar {
    width: 100%;
    transition: none !important;
  }
  .messages-container .conversations-sidebar.hidden {
    transform: translateX(-100%);
    position: absolute;
  }
  .messages-container .chat-area {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  .messages-container .chat-area:not(.active) {
    display: none;
  }
  .messages-container .mobile-back-btn {
    display: inline-flex; /* Show on mobile */
  }
}

/* Loading States */
.conversations-loading,
.chat-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12);
  text-align: center;
  gap: var(--spacing-4);
}

.conversations-loading {
  min-height: 200px;
}

.chat-loading {
  flex: 1;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--primary-alpha-15);
  border-top-color: var(--primary-500);
  border-radius: var(--radius-md);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, transparent 25%, var(--gradient-midnight) 50%, transparent 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.conversation-skeleton {
  display: flex;
  gap: var(--spacing-4);
  padding: var(--spacing-4) var(--spacing-6);
  border-bottom: 1px solid var(--gradient-midnight);
}
.conversation-skeleton .conversation-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.conversation-skeleton .conversation-content {
  flex: 1;
}
.conversation-skeleton .conversation-content .conversation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-1);
}
.conversation-skeleton .conversation-content .conversation-header .conversation-name {
  height: 16px;
  width: 120px;
  border-radius: var(--radius-sm);
}
.conversation-skeleton .conversation-content .conversation-header .conversation-time {
  height: 12px;
  width: 40px;
  border-radius: var(--radius-sm);
}
.conversation-skeleton .conversation-content .conversation-preview {
  height: 14px;
  width: 80%;
  border-radius: var(--radius-sm);
}

.conversations-loading p,
.chat-loading p {
  color: var(--text-tertiary);
  font-size: var(--font-size-base);
  margin: 0;
}

/* Empty States */
.conversations-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12) var(--spacing-6);
  text-align: center;
  min-height: 300px;
}

.conversations-empty .empty-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-4);
  opacity: 0.3;
}

.conversations-empty h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-2);
}

.conversations-empty p {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  margin: 0;
  max-width: 280px;
}

.chat-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12);
  text-align: center;
  gap: var(--spacing-2);
}

.chat-empty-state .empty-icon {
  font-size: 3rem;
  opacity: 0.3;
  margin-bottom: var(--spacing-2);
}

.chat-empty-state p {
  margin: 0;
  font-size: var(--font-size-base);
  color: var(--text-primary);
}

.chat-empty-state .empty-hint {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
}

/* Avatar Placeholders */
.conversation-avatar-placeholder,
.message-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-500);
  color: var(--rich-black);
  font-weight: var(--font-weight-bold);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.message-avatar-placeholder {
  font-size: var(--font-size-base);
}

/* Conversations Sidebar */
.conversations-sidebar {
  width: 380px;
  background: var(--rich-black);
  display: flex;
  flex-direction: column;
}

.conversations-header {
  padding: var(--spacing-5);
  background: var(--rich-black);
}

.search-box {
  position: relative;
  margin-bottom: var(--spacing-4);
}
.search-box i {
  position: absolute;
  left: var(--spacing-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  font-size: var(--font-size-base);
  z-index: 1;
  pointer-events: none;
}
.search-box input {
  width: 100%;
  padding: var(--spacing-3) var(--spacing-4) var(--spacing-3) 3rem !important;
  background: transparent !important;
  border: 1px solid var(--primary-400);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  transition: none !important;
}
.search-box input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: none !important;
}
.search-box input:hover {
  border-color: var(--primary-400) !important;
}

.filter-tabs {
  display: flex;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-4);
}

.filter-tab {
  flex: 1;
  padding: var(--spacing-2) var(--spacing-4);
  background: var(--rich-black);
  border: 1px solid var(--gold-900);
  border-radius: var(--radius-lg);
  color: var(--white-70);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-1);
  min-width: 0;
}
.filter-tab.active {
  background: var(--primary-400);
  border-color: var(--primary-500);
  color: var(--primary-400);
  font-weight: var(--font-weight-semibold);
}
.filter-tab:focus {
  box-shadow: none;
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}
.filter-tab .count {
  background: var(--bg-overlay);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  min-width: 20px;
  text-align: center;
}
.filter-tab.active .filter-tab .count {
  background: var(--primary-alpha-20);
  color: var(--primary-300);
}
.filter-tab:hover {
  background: var(--primary-alpha-5);
  border-color: var(--primary-500);
  color: var(--primary-400);
}

.conversations-list {
  flex: 1;
  overflow-y: auto;
}

.conversation-item {
  display: flex;
  gap: var(--spacing-4);
  padding: var(--spacing-4) var(--spacing-6);
  text-decoration: none;
  transition: none !important;
  position: relative;
  /* Alternating row backgrounds (zebra striping) */
}
.conversations-list .conversation-item:nth-child(odd) {
  background: var(--rich-black);
}
.conversations-list .conversation-item:nth-child(even) {
  background: var(--bg-overlay);
}
.conversation-item:hover {
  background: transparent !important;
  transform: none !important;
}
.conversation-item.active {
  background: var(--gold);
  border-left: 3px solid var(--gold);
}
.conversation-item.unread {
  background: var(--primary-alpha-5);
}

.conversation-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  border: 2px solid var(--primary-alpha-15);
}
.conversation-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.online-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: var(--success-color);
  border-radius: var(--radius-md);
  box-shadow: 0 0 8px var(--success-color);
}

.conversation-content {
  flex: 1;
  min-width: 0;
}

.conversation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-1);
}

.conversation-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-time {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  flex-shrink: 0;
}

.conversation-preview {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.conversation-item.unread .conversation-preview {
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
}

.conversation-project {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--spacing-1);
  padding: 2px 8px;
  border: 1px solid rgba(59, 211, 211, 0.35);
  color: var(--primary-400);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  max-width: 100%;
  overflow: hidden;
}
.conversation-project svg {
  flex-shrink: 0;
  opacity: 0.75;
}
.conversation-project span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.conversation-item.active .conversation-project {
  border-color: rgba(0, 0, 0, 0.25);
  background: var(--bg-overlay);
  color: var(--rich-black);
}

.unread-badge {
  position: absolute;
  right: var(--spacing-6);
  top: 35%;
  transform: translateY(-50%);
  background: var(--primary-500);
  color: var(--rich-black);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  padding: 0.25rem 0.5rem;
  min-width: 20px;
  text-align: center;
  box-shadow: 0 0 12px var(--primary-alpha-40);
}

/* Chat Area */
.chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--rich-black);
  overflow: hidden;
  position: relative;
}

.chat-header {
  padding: var(--spacing-6) var(--spacing-8);
  border-bottom: 1px solid var(--primary-400);
  background: var(--rich-black);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}

.chat-user-info {
  display: flex;
  gap: var(--spacing-4);
}

.chat-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 2px solid var(--primary-alpha-15);
}
.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-user-details .chat-user-name {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-1);
}
.chat-user-details .chat-user-name .chat-user-name-link {
  color: var(--brand-white) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.chat-user-details .chat-user-name .chat-user-name-link:hover {
  color: var(--primary-500);
  text-decoration: underline;
}
.chat-user-details .chat-user-name .chat-user-name-link:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.chat-user-details .chat-user-status {
  font-size: var(--font-size-base);
  color: var(--success-light);
  margin: 0;
}

.chat-actions {
  display: flex;
  gap: var(--spacing-2);
}

.chat-action-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--primary-400);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: none !important;
}

/* Mobile Back Button */
.mobile-back-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--primary-400);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: none !important;
}
.mobile-back-btn i {
  font-size: var(--font-size-base);
}

/* Chat Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-8);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

/* Message Groups */
.message-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}
.message-group.sent {
  align-items: flex-end;
}
.message-group.received {
  align-items: flex-start;
}

.date-divider {
  text-align: center;
  margin: var(--spacing-6) 0;
}
.date-divider span {
  display: inline-block;
  padding: var(--spacing-2) var(--spacing-4);
  background: transparent !important;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.message {
  display: flex;
  gap: var(--spacing-3);
  max-width: 70%;
}
.message-group .message {
  align-self: initial;
  max-width: 100%;
}
.message-group .message.received {
  flex-direction: row;
  align-self: flex-start;
}
.message-group .message.sent {
  flex-direction: row-reverse;
  align-self: flex-end;
}
.message:not(.message-group *).received {
  align-self: flex-start;
}
.message:not(.message-group *).sent {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.message.grouped {
  margin-top: calc(var(--spacing-2) * -1);
  gap: var(--spacing-2);
}
.message.grouped .message-avatar,
.message.grouped .message-avatar-spacer {
  width: 36px;
  visibility: hidden;
}
.message.grouped .message-bubble {
  margin-top: 0;
}

.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}
.message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-avatar-spacer {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.message-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
}
.message-group .message.sent .message-content {
  align-items: flex-end;
}
.message-group .message.received .message-content {
  align-items: flex-start;
}
.message.sent .message-content:not(.message-group *) {
  align-items: flex-end;
}

.message-bubble {
  padding: var(--spacing-1) var(--spacing-2);
  border-radius: var(--radius-xl);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
}
.message.received .message-bubble {
  border-bottom-left-radius: var(--radius-sm);
}
.message.sent .message-bubble {
  border-bottom-right-radius: var(--radius-sm);
}
.message-bubble p {
  margin: 0;
}

.message-time {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  padding: 0 var(--spacing-2);
  display: flex;
  align-items: center;
  gap: var(--spacing-1);
}
.message-time i.read {
  color: var(--primary-400);
}

/* Message Images */
.message-image {
  margin-top: var(--spacing-2);
  max-width: 100%;
}
.message-image img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}
.message-image a {
  display: block;
  text-decoration: none;
}
.message-image a:hover img {
  opacity: 0.9;
}
.message-image.loading {
  position: relative;
}
.message-image.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}
.message-image.loading .loading-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: var(--radius-md);
  animation: spin 0.8s linear infinite;
}

/* Message Videos */
.message-video {
  margin-top: var(--spacing-2);
  max-width: 100%;
}
.message-video video {
  max-width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  background: var(--rich-black);
}
.message-video .video-info {
  margin-top: var(--spacing-2);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
}
.message-video .video-info .video-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
}
.message.sent .message-video .video-info .video-name {
  color: var(--rich-black);
}
.message-video .video-info .video-size {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
}

/* Message Audio */
.message-audio {
  margin-top: var(--spacing-2);
  max-width: 100%;
}
.message-audio audio {
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius-lg);
  background: var(--rich-black);
}
.message-audio .audio-info {
  margin-top: var(--spacing-2);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
}
.message-audio .audio-info .audio-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
}
.message.sent .message-audio .audio-info .audio-name {
  color: var(--rich-black);
}
.message-audio .audio-info .audio-size {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
}

/* Image thumbnails grid for messages */
.message-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--spacing-2);
  margin-top: var(--spacing-3);
  max-width: 500px;
}
.message-images-grid .image-thumbnail {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--gradient-midnight);
  position: relative;
}
.message-images-grid .image-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(59, 211, 211, 0.3);
  border-color: var(--gradient-midnight);
  z-index: 1;
}
.message-images-grid .image-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Message Attachments */
.message-attachment {
  margin-top: var(--spacing-3);
  padding: var(--spacing-4);
  background: transparent !important;
  border-radius: var(--radius-lg);
  display: flex;
  gap: var(--spacing-3);
  align-items: center;
}
.message.sent .message-attachment {
  background: rgba(0, 0, 0, 0.2);
}

.attachment-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-400);
  border-radius: var(--radius-md);
  color: var(--primary-400);
  font-size: 1.25rem;
}

.attachment-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.attachment-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
}
.message.sent .attachment-name {
  color: var(--rich-black);
}

.attachment-size {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
}

.attachment-download {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: var(--transition-base);
}
.attachment-download:hover {
  background: var(--primary-color);
  color: var(--rich-black);
}

/* Typing Indicator */
.typing-indicator .message-bubble {
  padding: var(--spacing-3) var(--spacing-5);
}

.typing-dots {
  display: flex;
  gap: 4px;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  background: var(--text-tertiary);
  border-radius: var(--radius-md);
  animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}
/* Chat Input */
.chat-input-area {
  padding: var(--spacing-6) var(--spacing-8);
  background: var(--rich-black);
}
.chat-input-area.uploading .chat-input-wrapper {
  opacity: 0.7;
  pointer-events: none;
}
.chat-input-area.uploading::after {
  content: "Uploading file...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  border: 1px solid var(--primary-400);
  background: var(--rich-black);
  z-index: 10;
}

.chat-input-wrapper {
  display: flex;
  gap: var(--spacing-3);
  align-items: flex-end;
  background: transparent !important;
  border: 1px solid var(--gold-900);
  border-radius: var(--radius-xl);
  padding: var(--spacing-1);
  transition: none !important;
  outline: none;
}
.chat-input-wrapper:focus-within {
  border-color: transparent;
  box-shadow: none !important;
  outline: none;
}

.input-action-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: none !important;
}

#message-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: var(--font-size-base);
  resize: none;
  max-height: 120px;
  font-family: inherit;
}
#message-input:focus {
  outline: none;
  box-shadow: none !important;
  border-color: transparent !important;
}

.send-btn {
  width: auto;
  min-width: 60px;
  height: 40px;
  padding: var(--spacing-2) var(--spacing-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-500);
  border: none;
  border-radius: var(--radius-md);
  color: var(--brand-white) !important;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  transition: none !important;
  box-shadow: none !important;
}
.send-btn:active {
  transform: none !important;
  box-shadow: none !important;
}
.send-btn.loading {
  pointer-events: none;
}
.send-btn .fa-spinner {
  animation: spin 1s linear infinite;
}

/* No Conversation Selected */
.no-conversation-selected {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12);
  text-align: center;
}
.no-conversation-selected .empty-state-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-6);
  border: 1px solid var(--gradient-midnight);
}
.no-conversation-selected .empty-state-icon i {
  font-size: 3rem;
  color: var(--text-muted);
  opacity: 0.3;
}
.no-conversation-selected h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-3);
}
.no-conversation-selected p {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  margin: 0;
  max-width: 400px;
}

/* Message Search Modal */
.message-search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.search-modal-content {
  position: relative;
  background: var(--rich-black);
  border: 2px solid var(--gradient-midnight);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.search-modal-header {
  padding: var(--spacing-6);
  border-bottom: 1px solid var(--gradient-midnight);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search-modal-header h3 {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}

.search-modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  cursor: pointer;
  padding: var(--spacing-2);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-md);
  transition: none !important;
}
.search-modal-close:hover {
  background: transparent !important;
  color: var(--text-secondary) !important;
  transform: none !important;
}

.search-modal-body {
  padding: var(--spacing-6);
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  background: var(--rich-black);
}

.search-input-wrapper {
  position: relative;
}
.search-input-wrapper i {
  position: absolute;
  left: var(--spacing-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  font-size: var(--font-size-base);
  z-index: 1;
  pointer-events: none;
}
.search-input-wrapper input {
  width: 100%;
  padding: var(--spacing-3) var(--spacing-4) var(--spacing-3) 3rem !important;
  background: transparent !important;
  border: 1px solid var(--primary-400);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  transition: none !important;
}
.search-input-wrapper input:focus {
  outline: none;
  border-color: var(--gradient-midnight);
  box-shadow: none !important;
}
.search-input-wrapper input:hover {
  border-color: var(--primary-400) !important;
}

.search-results-count {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  font-weight: var(--font-weight-medium);
}

.search-results {
  flex: 1;
  overflow-y: auto;
  max-height: 300px;
}

.search-result-item {
  padding: var(--spacing-3) var(--spacing-4);
  border-bottom: 1px solid var(--primary-400);
  cursor: pointer;
  transition: none !important;
}
.search-result-item:hover, .search-result-item.active {
  background: var(--primary-400);
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item .result-message {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-1);
  line-height: var(--line-height-relaxed);
}
.search-result-item .result-meta {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}
.search-result-item .result-meta .result-time {
  font-weight: var(--font-weight-medium);
}
.search-result-item .result-meta .result-sender {
  font-weight: var(--font-weight-semibold);
  color: var(--primary-400);
}
.search-result-item .search-highlight {
  background: var(--primary-alpha-20);
  color: var(--primary-300);
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-semibold);
}

.search-modal-footer {
  padding: var(--spacing-4) var(--spacing-6);
  border-top: 1px solid var(--primary-400);
  background: var(--rich-black);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-nav-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 1px solid var(--primary-400);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: none !important;
}
.search-nav-btn:hover:not(:disabled) {
  background: transparent !important;
  color: var(--text-secondary) !important;
  border-color: var(--primary-400) !important;
  transform: none !important;
}
.search-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.search-position {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  min-width: 60px;
  text-align: center;
}

/* Search result highlighting in chat */
.message.search-result-highlight {
  animation: search-highlight 2s ease-out;
}

@keyframes search-highlight {
  0% {
    background: var(--primary-alpha-20);
    transform: scale(1.02);
  }
  50% {
    background: var(--primary-alpha-30);
    transform: scale(1.02);
  }
  100% {
    background: transparent;
    transform: scale(1);
  }
}
/* Search empty state */
.search-empty {
  text-align: center;
  padding: var(--spacing-8);
  color: var(--text-tertiary);
  font-size: var(--font-size-base);
}

/* Inline Error States */
.input-error {
  border-color: var(--error-color) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
  font-size: var(--font-size-base);
  color: var(--error-color);
  margin-top: var(--spacing-1);
  display: block;
}

/* Screen Reader Only Content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Management */
.conversation-item:focus,
.chat-action-btn:focus,
.input-action-btn:focus,
.send-btn:focus,
.mobile-back-btn:focus,
.filter-tab:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .conversation-item:hover {
    border-color: var(--primary-color);
    border-width: 2px;
  }
}
/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .loading-spinner,
  .fa-spinner,
  .typing-dots span,
  .conversations-sidebar,
  .chat-area.active .mobile-back-btn {
    animation: none;
  }
  .conversations-sidebar {
    transition: none;
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .messages-container {
    position: relative;
  }
  .conversations-sidebar {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    transform: translateX(0);
    transition: transform 0.3s ease;
  }
  .conversations-sidebar.hidden {
    transform: translateX(-100%);
  }
  .chat-area {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
  }
  .chat-area.active .mobile-back-btn {
    display: flex;
  }
  .message {
    max-width: 85%;
  }
  .chat-header {
    padding: var(--spacing-4) var(--spacing-5);
  }
  .chat-messages {
    padding: var(--spacing-5);
  }
  .chat-input-area {
    padding: var(--spacing-4) var(--spacing-5);
  }
  .chat-area.active .chat-user-info {
    margin-left: var(--spacing-2);
  }
}
/* ========================================
FILE UPLOAD STYLES
======================================= */
.file-upload-trigger {
  width: 100%;
  padding: var(--spacing-4);
  background: var(--rich-black);
  border: 2px dashed var(--primary-400);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3);
  transition: none !important;
  position: relative;
  margin-bottom: var(--spacing-3);
}
.file-upload-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.file-upload-trigger span {
  flex: 1;
  text-align: center;
}
.file-upload-trigger:hover {
  background: var(--rich-black) !important;
  border-color: var(--primary-400) !important;
  color: var(--text-secondary) !important;
  box-shadow: none !important;
}
.file-upload-trigger:hover svg {
  color: var(--text-muted) !important;
  transform: none !important;
}
.file-upload-trigger:focus {
  outline: 2px solid var(--primary-alpha-40);
  outline-offset: 2px;
}
.file-upload-trigger.drag-over {
  border-color: var(--primary-500);
  background: var(--primary-alpha-5);
}

.file-preview-area {
  margin-bottom: var(--spacing-3);
}

.file-preview {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3);
  background: var(--rich-black);
  border: 1px solid var(--primary-400);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-2);
  position: relative;
  transition: border-color var(--transition-fast);
}
.file-preview:hover {
  border-color: var(--primary-500);
}
.file-preview .file-preview-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--primary-300);
}
.file-preview .file-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.file-preview .file-preview-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-500);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.file-preview .file-preview-icon i {
  font-size: 32px;
  color: var(--rich-black);
}
.file-preview .file-preview-content {
  flex: 1;
  min-width: 0;
}
.file-preview .file-preview-content .file-name {
  display: block;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin-bottom: var(--spacing-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
}
.file-preview .file-preview-content .file-meta {
  display: block;
  font-size: var(--font-size-base);
  color: var(--text-muted);
  line-height: 1.3;
}
.file-preview .file-preview-remove {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.file-preview .file-preview-remove:hover {
  background: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
}
.file-preview .file-preview-remove i {
  font-size: 12px;
}

/* Chat Info Panel */
.chat-info-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 350px;
  height: 100%;
  background: var(--rich-black);
  border-left: 2px solid var(--primary-400);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 10;
  display: flex;
  flex-direction: column;
}
.chat-info-panel.open {
  transform: translateX(0);
}
@media (max-width: 768px) {
  .chat-info-panel {
    width: 100%;
    border-left: none;
  }
}

.chat-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-4);
  border-bottom: 1px solid var(--primary-400);
  background: var(--rich-black);
}
.chat-info-header .chat-info-title {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--primary-400);
}
.chat-info-header .chat-info-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: var(--spacing-2);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.chat-info-header .chat-info-close:hover {
  background: var(--primary-400);
  color: var(--rich-black);
}
.chat-info-header .chat-info-close i {
  font-size: var(--font-size-lg);
}

.chat-info-tabs {
  display: flex;
  background: var(--rich-black);
}
.chat-info-tabs .chat-info-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding: var(--spacing-3);
  background: none;
  border: none;
  color: var(--white-70);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: var(--font-weight-medium);
}
.chat-info-tabs .chat-info-tab:hover {
  color: var(--primary-400);
  background: rgba(59, 211, 211, 0.05);
}
.chat-info-tabs .chat-info-tab.active {
  color: var(--white);
}
.chat-info-tabs .chat-info-tab i {
  font-size: var(--font-size-base);
}
.chat-info-tabs .chat-info-tab span {
  font-size: var(--font-size-base);
}

.chat-info-content {
  flex: 1;
  overflow-y: auto;
  background: var(--rich-black);
}

.chat-info-tab-content {
  display: none;
  flex-direction: column;
  height: 100%;
}
.chat-info-tab-content.active {
  display: flex;
}

/* Files Tab */
.files-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-4);
  border-bottom: 1px solid var(--primary-400);
}
.files-tab-header h4 {
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--primary-400);
}
.files-tab-header .files-refresh-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: var(--spacing-2);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.files-tab-header .files-refresh-btn:hover {
  background: var(--primary-400);
  color: var(--rich-black);
}
.files-tab-header .files-refresh-btn.loading i {
  animation: spin 1s linear infinite;
}
.files-tab-header .files-refresh-btn i {
  font-size: var(--font-size-base);
}

.files-container {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-4);
}

.files-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}

.file-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3);
  background: var(--rich-black);
  border: 1px solid gray;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.file-item:hover {
  background: rgba(59, 211, 211, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(59, 211, 211, 0.1);
}
.file-item .file-thumbnail {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}
.file-item .file-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.file-item .file-thumbnail img:hover {
  transform: scale(1.1);
}
.file-item .file-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 211, 211, 0.1);
  border-radius: var(--radius-sm);
  color: var(--primary-400);
}
.file-item .file-icon i {
  font-size: var(--font-size-xl);
}
.file-item .file-info {
  flex: 1;
  min-width: 0;
}
.file-item .file-info .file-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--white);
  margin-bottom: var(--spacing-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-item .file-info .file-meta {
  display: flex;
  gap: var(--spacing-2);
  font-size: var(--font-size-base);
  color: var(--white-50);
}
.file-item .file-info .file-meta span:not(:last-child)::after {
  content: "•";
  margin-left: var(--spacing-2);
}
.file-item .file-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
}
.file-item .file-download-btn:hover {
  background: var(--primary-400);
  color: var(--rich-black);
}
.file-item .file-download-btn i {
  font-size: var(--font-size-base);
}

.files-empty-state,
.files-loading-state,
.files-error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-8);
  text-align: center;
}
.files-empty-state .empty-icon,
.files-empty-state .error-icon,
.files-loading-state .empty-icon,
.files-loading-state .error-icon,
.files-error-state .empty-icon,
.files-error-state .error-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-4);
}
.files-empty-state p,
.files-loading-state p,
.files-error-state p {
  color: var(--white-70);
  margin: 0;
}
.files-empty-state p:first-of-type,
.files-loading-state p:first-of-type,
.files-error-state p:first-of-type {
  color: var(--white);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-2);
}
.files-empty-state p.empty-hint,
.files-loading-state p.empty-hint,
.files-error-state p.empty-hint {
  font-size: var(--font-size-base);
  color: var(--white-50);
}
.files-empty-state .btn-retry-files,
.files-loading-state .btn-retry-files,
.files-error-state .btn-retry-files {
  margin-top: var(--spacing-4);
  padding: var(--spacing-2) var(--spacing-4);
  background: var(--primary-400);
  color: var(--rich-black);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: var(--font-weight-medium);
  transition: all 0.2s ease;
}
.files-empty-state .btn-retry-files:hover,
.files-loading-state .btn-retry-files:hover,
.files-error-state .btn-retry-files:hover {
  background: var(--primary-500);
  transform: translateY(-1px);
}
.files-empty-state .loading-spinner,
.files-loading-state .loading-spinner,
.files-error-state .loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--primary-400);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: var(--spacing-4);
}

/* Info Tab */
.chat-info-section {
  padding: var(--spacing-4);
}
.chat-info-section h4 {
  margin: 0 0 var(--spacing-4);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--primary-400);
}
.chat-info-section .chat-info-detail {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-3);
  border-bottom: 1px solid var(--primary-400);
}
.chat-info-section .chat-info-detail:last-child {
  border-bottom: none;
}
.chat-info-section .chat-info-detail .detail-label {
  font-size: var(--font-size-base);
  color: var(--white-70);
}
.chat-info-section .chat-info-detail .detail-value {
  font-size: var(--font-size-base);
  color: var(--white);
  font-weight: var(--font-weight-medium);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* New Conversation UI */
.conversations-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-4);
  padding-bottom: var(--spacing-3);
  border-bottom: 1px solid var(--gold-900);
}
.conversations-header-top .conversations-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--white);
  margin: 0;
}
.conversations-header-top .btn-new-conversation {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-4);
  background: var(--primary-500);
  color: var(--rich-black);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.conversations-header-top .btn-new-conversation i {
  font-size: var(--font-size-base);
}
.conversations-header-top .btn-new-conversation:hover {
  background: var(--primary-400);
  transform: translateY(-1px);
}
.conversations-header-top .btn-new-conversation:active {
  transform: translateY(0);
}

/* New Conversation Modal */
.new-conversation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}
.new-conversation-modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.new-conversation-modal .modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  background: var(--dark-teal-800);
  border: 1px solid var(--gold-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.new-conversation-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-5);
  border-bottom: 1px solid var(--gold-900);
}
.new-conversation-modal .modal-header h3 {
  margin: 0;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--white);
}
.new-conversation-modal .modal-header .modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--white-70);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.new-conversation-modal .modal-header .modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.new-conversation-modal .modal-body {
  flex: 1;
  padding: var(--spacing-5);
  overflow-y: auto;
}
.new-conversation-modal .modal-body .form-group {
  margin-bottom: var(--spacing-5);
}
.new-conversation-modal .modal-body .form-group label {
  display: block;
  margin-bottom: var(--spacing-2);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--white-90);
}
.new-conversation-modal .modal-body .form-group input, .new-conversation-modal .modal-body .form-group textarea {
  width: 100%;
  padding: var(--spacing-3);
  background: var(--rich-black);
  border: 1px solid var(--gold-900);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
}
.new-conversation-modal .modal-body .form-group input:focus, .new-conversation-modal .modal-body .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 2px rgba(59, 211, 211, 0.1);
}
.new-conversation-modal .modal-body .form-group input::placeholder, .new-conversation-modal .modal-body .form-group textarea::placeholder {
  color: var(--white-50);
}
.new-conversation-modal .modal-body .form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.new-conversation-modal .modal-footer {
  display: flex;
  gap: var(--spacing-3);
  padding: var(--spacing-5);
  border-top: 1px solid var(--gold-900);
}
.new-conversation-modal .modal-footer .btn {
  flex: 1;
  padding: var(--spacing-3) var(--spacing-5);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.new-conversation-modal .modal-footer .btn.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gold-900);
}
.new-conversation-modal .modal-footer .btn.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}
.new-conversation-modal .modal-footer .btn.btn-primary {
  background: var(--primary-500);
  color: var(--rich-black);
}
.new-conversation-modal .modal-footer .btn.btn-primary:hover:not(:disabled) {
  background: var(--primary-400);
}
.new-conversation-modal .modal-footer .btn.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Recipient Search */
.recipient-search-wrapper {
  position: relative;
}
.recipient-search-wrapper .search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: var(--spacing-2);
  background: var(--rich-black);
  border: 1px solid var(--gold-900);
  border-radius: var(--radius-md);
  max-height: 300px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}
.recipient-search-wrapper .search-results .search-result-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3);
  cursor: pointer;
  transition: background var(--transition-fast);
}
.recipient-search-wrapper .search-results .search-result-item:hover {
  background: rgba(59, 211, 211, 0.1);
}
.recipient-search-wrapper .search-results .search-result-item:not(:last-child) {
  border-bottom: 1px solid var(--gold-900);
}
.recipient-search-wrapper .search-results .search-result-item .result-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.recipient-search-wrapper .search-results .search-result-item .result-info {
  flex: 1;
}
.recipient-search-wrapper .search-results .search-result-item .result-info .result-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--white);
  margin-bottom: 2px;
}
.recipient-search-wrapper .search-results .search-result-item .result-info .result-role {
  font-size: var(--font-size-base);
  color: var(--white-70);
}
.recipient-search-wrapper .search-results .no-results {
  padding: var(--spacing-4);
  text-align: center;
  color: var(--white-70);
  font-size: var(--font-size-base);
}

/* Selected Recipient */
.selected-recipient {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-3);
  background: rgba(59, 211, 211, 0.1);
  border: 1px solid var(--primary-500);
  border-radius: var(--radius-md);
}
.selected-recipient .recipient-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}
.selected-recipient .recipient-info .recipient-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.selected-recipient .recipient-info .recipient-details {
  display: flex;
  flex-direction: column;
}
.selected-recipient .recipient-info .recipient-details .recipient-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--white);
}
.selected-recipient .recipient-info .recipient-details .recipient-role {
  font-size: var(--font-size-base);
  color: var(--white-70);
}
.selected-recipient .remove-recipient {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--white-70);
  cursor: pointer;
  border-radius: 50%;
  transition: all var(--transition-fast);
}
.selected-recipient .remove-recipient:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Body modal open state */
body.modal-open {
  overflow: hidden;
}

/* Compose First Message State */
.compose-first-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--white-70);
  font-size: var(--font-size-base);
  padding: var(--spacing-8);
}

/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme {
  --white: var(--text-primary);
  --white-50: var(--text-muted);
  --white-70: var(--text-secondary);
  --white-90: var(--text-primary);
}
body.light-theme .messages-page .dashboard-main-content,
body.light-theme .messages-page .dashboard-page-header {
  background: var(--bg-page);
}
body.light-theme .messages-container {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
body.light-theme .conversations-sidebar,
body.light-theme .conversations-header {
  background: var(--bg-card);
}
body.light-theme .filter-tab {
  background: var(--bg-elevated);
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}
body.light-theme .conversation-item:nth-child(odd) {
  background: var(--bg-card);
}
body.light-theme .chat-area,
body.light-theme .chat-header {
  background: var(--bg-page);
}
body.light-theme .chat-input-area {
  background: var(--bg-page);
}
body.light-theme .search-modal-content,
body.light-theme .search-modal-body,
body.light-theme .search-modal-footer {
  background: var(--bg-card);
}
body.light-theme .file-upload-trigger {
  background: var(--bg-elevated);
}

/**
 * Messages Modal Component
 *
 * Modal overlay that displays the full messages dashboard interface
 * when users click "Chat" button on creator profile pages.
 *
 * Reuses existing .messages-container styles with modal-specific variants.
 */
/* Modal Overlay */
.messages-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-4);
}
.messages-modal.active {
  display: flex;
}
@media (max-width: 768px) {
  .messages-modal {
    padding: 0;
  }
}

.messages-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1;
}

/* Modal Container */
.messages-modal-container {
  position: relative;
  z-index: 2;
  width: 95vw;
  height: 90vh;
  max-width: 1400px;
  background: var(--rich-black);
  border: 2px solid var(--primary-400);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
  .messages-modal-container {
    width: 100vw;
    height: 100vh;
    max-width: none;
    border-radius: 0;
    border: none;
  }
}

/* Modal Header */
.messages-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-6);
  border-bottom: 1px solid var(--gold-900);
  background: var(--rich-black);
}
.messages-modal-header h2 {
  margin: 0;
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--text-primary);
}
.messages-modal-header .btn-view-all {
  font-size: var(--font-size-base);
  padding: var(--spacing-2) var(--spacing-4);
  background: transparent;
  color: var(--primary-400);
  border: 1px solid var(--primary-400);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
}
.messages-modal-header .btn-view-all:hover {
  background: var(--primary-400);
  color: var(--rich-black);
}
@media (max-width: 768px) {
  .messages-modal-header {
    padding: var(--spacing-4);
  }
  .messages-modal-header h2 {
    font-size: var(--font-size-xl);
  }
  .messages-modal-header .btn-view-all {
    font-size: var(--font-size-base);
    padding: var(--spacing-1) var(--spacing-3);
  }
}

/* Close Button */
.messages-modal-close {
  position: absolute;
  top: var(--spacing-4);
  right: var(--spacing-4);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-primary);
}
.messages-modal-close svg {
  width: 20px;
  height: 20px;
}
.messages-modal-close:hover {
  background: var(--primary-400);
  border-color: var(--primary-400);
  color: var(--rich-black);
  transform: rotate(90deg);
}
.messages-modal-close:focus {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}

/* Messages Container (Modal Variant) */
.messages-container--modal {
  flex: 1;
  border: none;
  border-radius: 0;
  overflow: hidden;
}
.messages-container--modal .conversations-sidebar {
  border-right: 1px solid var(--gold-900);
}
.messages-container--modal .chat-area {
  background: var(--rich-black);
}
.messages-container--modal .chat-messages {
  max-height: calc(90vh - 250px);
}
@media (max-width: 768px) {
  .messages-container--modal .chat-messages {
    max-height: calc(100vh - 220px);
  }
}

/* No Conversation Selected State */
.no-conversation-selected {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12);
  text-align: center;
  background: var(--rich-black);
}
.no-conversation-selected h3 {
  margin: 0 0 var(--spacing-2) 0;
  font-size: var(--font-size-xl);
  color: var(--text-primary);
}
.no-conversation-selected p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--font-size-base);
}
.no-conversation-selected .loading-spinner {
  margin-bottom: var(--spacing-4);
}

/* Body Scroll Lock (when modal is open) */
body.messages-modal-open {
  overflow: hidden;
}
@media (max-width: 768px) {
  body.messages-modal-open {
    position: fixed;
    width: 100%;
  }
}

/* Modal-Specific Conversation List Styles */
@media (min-width: 769px) {
  .messages-modal .conversations-sidebar {
    width: 380px;
    flex-shrink: 0;
  }
}
@media (max-width: 768px) {
  .messages-modal .conversations-sidebar {
    width: 100%;
  }
}
.messages-modal .conversations-header {
  padding: var(--spacing-4) var(--spacing-6);
  border-bottom: 1px solid var(--gold-900);
  background: var(--rich-black);
}
.messages-modal .conversations-header .search-box {
  margin-bottom: var(--spacing-3);
}
.messages-modal .conversations-header .search-box input {
  width: 100%;
  padding: var(--spacing-3) var(--spacing-4);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
}
.messages-modal .conversations-header .search-box input:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.1);
}
.messages-modal .conversations-header .search-box input::placeholder {
  color: var(--text-tertiary);
}
.messages-modal .conversations-header .filter-tabs {
  display: flex;
  gap: var(--spacing-2);
}
.messages-modal .conversations-header .filter-tabs .filter-tab {
  flex: 1;
  padding: var(--spacing-2) var(--spacing-3);
  background: transparent;
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  cursor: pointer;
  transition: all 0.2s ease;
}
.messages-modal .conversations-header .filter-tabs .filter-tab:hover {
  border-color: var(--primary-400);
  color: var(--text-primary);
}
.messages-modal .conversations-header .filter-tabs .filter-tab.active {
  background: var(--primary-400);
  border-color: var(--primary-400);
  color: var(--rich-black);
  font-weight: 600;
}
.messages-modal .conversations-list {
  overflow-y: auto;
  max-height: calc(90vh - 240px);
}
@media (max-width: 768px) {
  .messages-modal .conversations-list {
    max-height: calc(100vh - 200px);
  }
}
.messages-modal .conversations-list::-webkit-scrollbar {
  width: 6px;
}
.messages-modal .conversations-list::-webkit-scrollbar-track {
  background: var(--rich-black);
}
.messages-modal .conversations-list::-webkit-scrollbar-thumb {
  background: var(--gradient-midnight);
  border-radius: var(--radius-md);
}
.messages-modal .conversations-list::-webkit-scrollbar-thumb:hover {
  background: var(--primary-400);
}
.messages-modal .conversation-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-4) var(--spacing-6);
  border-bottom: 1px solid var(--gradient-midnight);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.messages-modal .conversation-item:hover {
  background: rgba(59, 211, 211, 0.05);
}
.messages-modal .conversation-item.active {
  background: rgba(59, 211, 211, 0.1);
  border-left: 3px solid var(--primary-400);
}
.messages-modal .conversation-item.unread {
  background: rgba(59, 211, 211, 0.03);
}
.messages-modal .conversation-item .conversation-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  position: relative;
}
.messages-modal .conversation-item .conversation-avatar img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}
.messages-modal .conversation-item .conversation-avatar .conversation-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  background: var(--primary-400);
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 600;
}
.messages-modal .conversation-item .conversation-avatar .online-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: var(--success-500);
  border: 2px solid var(--rich-black);
  border-radius: var(--radius-md);
}
.messages-modal .conversation-item .conversation-content {
  flex: 1;
  min-width: 0;
}
.messages-modal .conversation-item .conversation-content .conversation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-1);
}
.messages-modal .conversation-item .conversation-content .conversation-header .conversation-name {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.messages-modal .conversation-item .conversation-content .conversation-header .conversation-time {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  flex-shrink: 0;
  margin-left: var(--spacing-2);
}
.messages-modal .conversation-item .conversation-content .conversation-preview {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.messages-modal .conversation-item .unread-badge {
  position: absolute;
  top: 50%;
  right: var(--spacing-4);
  transform: translateY(-50%);
  background: var(--primary-400);
  color: var(--rich-black);
  font-size: var(--font-size-base);
  font-weight: 600;
  padding: var(--spacing-1) var(--spacing-2);
  border-radius: var(--radius-md);
  min-width: 20px;
  text-align: center;
}

/* Chat Area Styles (Modal Variant) */
.messages-modal .chat-area {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--rich-black);
}
.messages-modal .chat-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-4) var(--spacing-6);
  border-bottom: 1px solid var(--gold-900);
  background: var(--rich-black);
}
.messages-modal .chat-header .chat-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.messages-modal .chat-header .chat-avatar img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}
.messages-modal .chat-header .chat-avatar .chat-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  background: var(--primary-400);
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}
.messages-modal .chat-header .chat-user-details {
  flex: 1;
}
.messages-modal .chat-header .chat-user-details .chat-user-name {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}
.messages-modal .chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-6);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}
.messages-modal .chat-messages::-webkit-scrollbar {
  width: 6px;
}
.messages-modal .chat-messages::-webkit-scrollbar-track {
  background: var(--rich-black);
}
.messages-modal .chat-messages::-webkit-scrollbar-thumb {
  background: var(--gradient-midnight);
  border-radius: var(--radius-md);
}
.messages-modal .chat-messages::-webkit-scrollbar-thumb:hover {
  background: var(--primary-400);
}
.messages-modal .message {
  display: flex;
  flex-direction: column;
  max-width: 70%;
}
.messages-modal .message.message-self {
  align-self: flex-end;
}
.messages-modal .message.message-self .message-content {
  background: var(--primary-400);
  color: var(--rich-black);
  border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg);
}
.messages-modal .message.message-self .message-meta {
  text-align: right;
}
.messages-modal .message.message-other {
  align-self: flex-start;
}
.messages-modal .message.message-other .message-content {
  color: var(--text-primary);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0;
}
.messages-modal .message.message-other .message-meta {
  text-align: left;
}
.messages-modal .message .message-content {
  padding: var(--spacing-3) var(--spacing-4);
  word-wrap: break-word;
}
.messages-modal .message .message-content p {
  margin: 0;
  font-size: var(--font-size-base);
  line-height: 1.5;
}
.messages-modal .message .message-content .message-image {
  display: block;
  margin-bottom: var(--spacing-2);
}
.messages-modal .message .message-content .message-image img {
  max-width: 100%;
  border-radius: var(--radius-md);
}
.messages-modal .message .message-content .message-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-2);
}
.messages-modal .message .message-content .message-images .message-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.messages-modal .message .message-content .message-file a {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  color: inherit;
  text-decoration: none;
}
.messages-modal .message .message-content .message-file a i {
  font-size: var(--font-size-lg);
}
.messages-modal .message .message-content .message-file a:hover {
  text-decoration: underline;
}
.messages-modal .message .message-meta {
  margin-top: var(--spacing-1);
}
.messages-modal .message .message-meta .message-time {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
}
.messages-modal .chat-input-area {
  padding: var(--spacing-4) var(--spacing-6);
  border-top: 1px solid var(--gold-900);
  background: var(--rich-black);
}
.messages-modal .chat-input-area .chat-input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: var(--spacing-3);
}
.messages-modal .chat-input-area .chat-input-wrapper textarea {
  flex: 1;
  padding: var(--spacing-3) var(--spacing-4);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-family: inherit;
  resize: none;
  max-height: 120px;
  min-height: 44px;
  transition: all 0.2s ease;
}
.messages-modal .chat-input-area .chat-input-wrapper textarea:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.1);
}
.messages-modal .chat-input-area .chat-input-wrapper textarea::placeholder {
  color: var(--text-tertiary);
}
.messages-modal .chat-input-area .chat-input-wrapper .send-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--primary-400);
  border: none;
  border-radius: var(--radius-md);
  color: var(--rich-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.messages-modal .chat-input-area .chat-input-wrapper .send-btn i {
  font-size: var(--font-size-lg);
}
.messages-modal .chat-input-area .chat-input-wrapper .send-btn:hover {
  background: var(--primary-500);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 211, 211, 0.3);
}
.messages-modal .chat-input-area .chat-input-wrapper .send-btn:active {
  transform: translateY(0);
}
.messages-modal .chat-input-area .chat-input-wrapper .send-btn:disabled {
  background: var(--gradient-midnight);
  cursor: not-allowed;
  transform: none;
}

/* Typing Indicator */
.typing-indicator .typing-dots {
  display: flex;
  gap: 4px;
  padding: var(--spacing-2);
}
.typing-indicator .typing-dots span {
  width: 8px;
  height: 8px;
  background: var(--text-tertiary);
  border-radius: var(--radius-md);
  animation: typing-bounce 1.4s infinite ease-in-out;
}
.typing-indicator .typing-dots span:nth-child(1) {
  animation-delay: 0s;
}
.typing-indicator .typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-indicator .typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
}
/* No Messages State */
.no-messages {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12);
  text-align: center;
}
.no-messages p {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  margin: 0;
}

/* Error States */
.conversations-error,
.chat-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12);
  text-align: center;
  gap: var(--spacing-4);
}
.conversations-error p,
.chat-error p {
  color: var(--error-500);
  font-size: var(--font-size-base);
  margin: 0;
}
.conversations-error .btn,
.chat-error .btn {
  margin-top: var(--spacing-2);
}

/* Animations */
@keyframes modal-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modal-slide-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.messages-modal.active {
  animation: modal-fade-in 0.2s ease;
}
.messages-modal.active .messages-modal-container {
  animation: modal-slide-up 0.3s ease;
}

/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme {
  --white-70: var(--text-secondary);
}
body.light-theme .messages-modal-container {
  background: var(--bg-card);
}

/**
 * Project Room Chat Tab Overrides
 * Adapts the full messages page layout for single-conversation context in project room
 */
.project-room__tab--chat {
  height: calc(100vh - 300px);
  min-height: 600px;
  display: flex;
  flex-direction: column;
}
.project-room__tab--chat .messages-container {
  height: 100%;
  flex: 1;
  display: flex;
  position: relative;
}
.project-room__tab--chat .messages-container .conversations-sidebar {
  display: none !important;
}
.project-room__tab--chat .messages-container.messages-container--project-room .chat-area {
  width: 100%;
  max-width: none;
  flex: 1;
}
.project-room__tab--chat .messages-container.messages-container--project-room .chat-info-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 350px;
  z-index: 100;
  box-shadow: var(--shadow-xl);
}
.project-room__tab--chat .no-conversation-selected {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-secondary);
}
.project-room__tab--chat .no-conversation-selected .loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary-400);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: var(--spacing-4);
}
.project-room__tab--chat .no-conversation-selected h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-2);
}
.project-room__tab--chat .no-conversation-selected p {
  color: var(--text-secondary);
}
.project-room__tab--chat .error-message {
  text-align: center;
  color: var(--text-secondary);
}
.project-room__tab--chat .error-message i {
  font-size: 3rem;
  color: var(--error-500);
  margin-bottom: var(--spacing-4);
}
.project-room__tab--chat .error-message h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-2);
}
.project-room__tab--chat .error-message p {
  margin-bottom: var(--spacing-4);
}
.project-room__tab--chat .error-message .btn {
  margin-top: var(--spacing-4);
}
.project-room__tab--chat .empty-chat-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: var(--spacing-8);
  color: var(--text-secondary);
}
.project-room__tab--chat .empty-chat-state svg {
  margin-bottom: var(--spacing-4);
  opacity: 0.5;
}
.project-room__tab--chat .empty-chat-state p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}
@media (min-width: 640px) {
  .project-room__tab--chat {
    height: calc(100vh - 200px);
    min-height: 500px;
  }
  .project-room__tab--chat .messages-container.messages-container--project-room .chat-info-panel {
    width: 100%;
    left: 0;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.messages-container--project-room .file-preview-area {
  display: none;
  padding: var(--spacing-3);
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  gap: var(--spacing-3);
  flex-wrap: wrap;
}
.messages-container--project-room .file-preview-area:not(:empty) {
  display: flex;
}
.messages-container--project-room .file-preview {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.messages-container--project-room .file-preview img,
.messages-container--project-room .file-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.messages-container--project-room .file-preview i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2rem;
  color: var(--text-secondary);
}
.messages-container--project-room .file-preview .file-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  transition: background var(--transition-base);
}
.messages-container--project-room .file-preview .file-preview-remove:hover {
  background: rgba(0, 0, 0, 0.9);
}
.messages-container--project-room .file-preview .file-preview-remove i {
  font-size: var(--font-size-base);
}
.messages-container--project-room .file-preview .file-preview-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  padding: var(--spacing-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.messages-container--project-room .file-upload-trigger.drag-over {
  background: rgba(var(--primary-400-rgb), 0.1);
  border-color: var(--primary-400);
}

.project-room__tab--chat .chat-messages {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
.project-room__tab--chat .chat-messages::-webkit-scrollbar {
  width: 8px;
}
.project-room__tab--chat .chat-messages::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
.project-room__tab--chat .chat-messages::-webkit-scrollbar-thumb {
  border-radius: 4px;
}
.project-room__tab--chat .chat-messages::-webkit-scrollbar-thumb:hover {
  background: var(--border-color);
}

.messages-container--project-room .files-list {
  padding: var(--spacing-4);
}
.messages-container--project-room .files-list .file-item {
  display: flex;
  align-items: center;
  padding: var(--spacing-3);
  background: var(--bg-primary);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-2);
  transition: background var(--transition-base);
}
.messages-container--project-room .files-list .file-item:hover {
  background: var(--bg-hover);
}
.messages-container--project-room .files-list .file-item i {
  font-size: var(--font-size-2xl);
  color: var(--text-secondary);
  margin-right: var(--spacing-3);
}
.messages-container--project-room .files-list .file-item .file-details {
  flex: 1;
  min-width: 0;
}
.messages-container--project-room .files-list .file-item .file-details .file-name {
  display: block;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: var(--spacing-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}
.messages-container--project-room .files-list .file-item .file-details .file-name:hover {
  color: var(--primary-400);
  text-decoration: underline;
}
.messages-container--project-room .files-list .file-item .file-details .file-time {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}
.messages-container--project-room .files-empty-state {
  text-align: center;
  padding: var(--spacing-8) var(--spacing-4);
  color: var(--text-secondary);
}
.messages-container--project-room .files-empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-3);
}
.messages-container--project-room .files-empty-state p {
  margin-bottom: var(--spacing-2);
}
.messages-container--project-room .files-empty-state p.empty-hint {
  font-size: var(--font-size-base);
  opacity: 0.7;
}

.messages-container--project-room .message-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-2);
  margin-top: var(--spacing-2);
}
.messages-container--project-room .message-images .message-image {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  cursor: pointer;
}
.messages-container--project-room .message-images .message-image img {
  width: 100%;
  height: auto;
  display: block;
}
.messages-container--project-room .message-video,
.messages-container--project-room .message-audio {
  margin-top: var(--spacing-2);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}
.messages-container--project-room .message-video video,
.messages-container--project-room .message-video audio,
.messages-container--project-room .message-audio video,
.messages-container--project-room .message-audio audio {
  width: 100%;
  max-width: 400px;
  display: block;
}
.messages-container--project-room .message-attachment {
  margin-top: var(--spacing-2);
  padding: var(--spacing-3);
  background: var(--bg-primary);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
}
.messages-container--project-room .message-attachment a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  transition: color var(--transition-base);
}
.messages-container--project-room .message-attachment a:hover {
  color: var(--primary-400);
}
.messages-container--project-room .message-attachment a i {
  margin-right: var(--spacing-2);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}
.messages-container--project-room .message-attachment a span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.messages-container--project-room .chat-avatar a {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: opacity var(--transition-base);
}
.messages-container--project-room .chat-avatar a:hover {
  opacity: 0.85;
}
.messages-container--project-room .chat-avatar a img,
.messages-container--project-room .chat-avatar a .message-avatar-placeholder {
  display: block;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .file-preview,
  .chat-input-area {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
/**
 * Notifications Component Styles
 *
 * Comprehensive styling for the notifications page including:
 * - Notification filters and tabs
 * - Notification items with various types
 * - Action buttons and interactions
 * - Loading and empty states
 * - Responsive design
 * - Accessibility features
 */
/* Notifications Page Layout */
.notifications-page .dashboard-main-content {
  padding: var(--spacing-8);
}
.notifications-page .dashboard-page-header {
  margin-bottom: var(--spacing-8);
}

/* Notifications Container */
.notifications-container {
  max-width: 900px;
  margin: 0 auto;
}

/* ========================================
   FILTER TABS
   ======================================== */
.notifications-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
  justify-content: center;
  align-items: center;
  margin-bottom: var(--spacing-8);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid color-mix(in srgb, var(--midnight-end) 45%, transparent);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  padding: var(--spacing-2) var(--spacing-4);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.filter-btn i {
  font-size: var(--font-size-base);
  opacity: 0.8;
}
.filter-btn:hover:not(.active) {
  background: color-mix(in srgb, var(--midnight-start) 35%, transparent);
  border-color: var(--midnight-end);
  color: var(--text-primary);
  transform: translateY(-1px);
}
.filter-btn.active {
  background: var(--gradient-midnight);
  border-color: var(--midnight-end);
  color: var(--brand-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.filter-btn.active i {
  opacity: 1;
}
.filter-btn.active:hover {
  background: linear-gradient(180deg, var(--midnight-end) 0%, color-mix(in srgb, var(--midnight-end) 82%, var(--text-white)) 100%);
  border-color: color-mix(in srgb, var(--midnight-end) 75%, var(--text-white));
  transform: translateY(-1px);
}
.filter-btn.active .count {
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-white);
}
.filter-btn:focus {
  outline: none;
}
.filter-btn:focus-visible {
  outline: 2px solid var(--midnight-end);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--midnight-end) 45%, transparent);
}
.filter-btn .count {
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  min-width: 20px;
  text-align: center;
  transition: var(--transition-base);
}

/* ========================================
   NOTIFICATIONS LIST
   ======================================== */
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-8);
  min-height: 200px;
}

.notification-item,
.notification-dropdown-item {
  display: flex;
  gap: var(--spacing-5);
  padding: var(--spacing-6);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-xl);
  transition: var(--transition-base);
  position: relative;
  cursor: pointer;
}
.notification-item.unread,
.notification-dropdown-item.unread {
  background: var(--primary-alpha-5);
  border-color: var(--primary-alpha-20);
  box-shadow: var(--glow-subtle);
}
.notification-item.unread::before,
.notification-dropdown-item.unread::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-500);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  box-shadow: 0 0 12px var(--primary-alpha-40);
}
.notification-item:hover,
.notification-dropdown-item:hover {
  border-color: var(--gradient-midnight);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.notification-item.deleting,
.notification-dropdown-item.deleting {
  opacity: 0.5;
  pointer-events: none;
  animation: fadeOut 0.3s ease;
}
.notification-item.priority-critical,
.notification-dropdown-item.priority-critical {
  border-left: 3px solid #ef4444;
  background: rgba(239, 68, 68, 0.05);
}
.notification-item.priority-critical:hover,
.notification-dropdown-item.priority-critical:hover {
  border-left-color: #ef4444;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2);
}
.notification-item.priority-high,
.notification-dropdown-item.priority-high {
  border-left: 3px solid #f59e0b;
}
.notification-item.priority-high:hover,
.notification-dropdown-item.priority-high:hover {
  border-left-color: #f59e0b;
}
.notification-item.priority-low,
.notification-dropdown-item.priority-low {
  opacity: 0.7;
}

.notification-item.unread {
  background: var(--primary-alpha-5);
  border-color: var(--primary-alpha-20);
  box-shadow: var(--glow-subtle);
}
.notification-item.unread::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-500);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  box-shadow: 0 0 12px var(--primary-alpha-40);
}
.notification-item:hover {
  border-color: var(--gradient-midnight);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.notification-item.deleting {
  opacity: 0.5;
  pointer-events: none;
  animation: fadeOut 0.3s ease;
}

.priority-indicator {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: var(--font-size-base);
  z-index: 1;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}
.priority-indicator.critical {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-20px);
  }
}
/* ========================================
   NOTIFICATION GROUPS
   ======================================== */
.notification-group {
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-xl);
  margin-bottom: var(--spacing-3);
  transition: var(--transition-base);
}
.notification-group.unread {
  background: var(--primary-alpha-5);
  border-color: var(--primary-alpha-20);
}
.notification-group:hover {
  border-color: var(--gradient-midnight);
  box-shadow: var(--shadow-md);
}

.notification-group-header {
  display: flex;
  gap: var(--spacing-5);
  padding: var(--spacing-6);
  cursor: pointer;
  align-items: flex-start;
}
.notification-group-header:hover {
  background: var(--primary-alpha-5);
}

.notification-group-info {
  flex: 1;
  min-width: 0;
}
.notification-group-info h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-2);
  line-height: var(--line-height-tight);
}
.notification-group-info h4 .group-count {
  color: var(--text-muted);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
}
.notification-group-info p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0 0 var(--spacing-2);
  line-height: var(--line-height-relaxed);
}
.notification-group-info .notification-time {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1);
}

.expand-group-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-base);
  flex-shrink: 0;
}
.expand-group-btn:hover {
  background: var(--primary-500);
  border-color: var(--primary-500);
  color: var(--rich-black);
  transform: scale(1.1);
  box-shadow: var(--shadow-primary);
}
.expand-group-btn i {
  transition: var(--transition-base);
}

.notification-group-items {
  border-top: 1px solid var(--gradient-midnight);
  padding: var(--spacing-3);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}
.notification-group-items .notification-item {
  margin-bottom: 0;
}

/* ========================================
   NOTIFICATION ICON
   ======================================== */
.notification-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
  transition: var(--transition-base);
  overflow: hidden;
  border: 2px solid transparent;
}
.notification-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.notification-icon i {
  transition: var(--transition-base);
}
.notification-item:hover .notification-icon {
  transform: scale(1.05);
}
.notification-item:hover .notification-icon i {
  transform: scale(1.1);
}

/* Icon color variants */
.notification-icon-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-light);
  border-color: rgba(16, 185, 129, 0.2);
}

.notification-icon-warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-light);
  border-color: rgba(245, 158, 11, 0.2);
}

.notification-icon-info {
  background: var(--primary-400);
  color: var(--primary-300);
  border-color: var(--primary-alpha-20);
}

.notification-icon-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-light);
  border-color: rgba(239, 68, 68, 0.2);
}

.notification-icon-gold {
  background: var(--gold-alpha-10);
  color: var(--gold-light);
  border-color: var(--gold-alpha-20);
}

/* ========================================
   NOTIFICATION CONTENT
   ======================================== */
.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-2);
  line-height: var(--line-height-tight);
}

.notification-description {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0 0 var(--spacing-3);
  line-height: var(--line-height-relaxed);
}

.notification-time {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1);
}
.notification-time i {
  font-size: var(--font-size-base);
}

/* ========================================
   NOTIFICATION ACTIONS
   ======================================== */
.notification-actions {
  display: flex;
  gap: var(--spacing-2);
  align-items: flex-start;
  flex-shrink: 0;
}

.mark-read-btn,
.view-btn,
.delete-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
  color: var(--brand-white) !important;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  font-size: var(--font-size-base);
}
.mark-read-btn:focus,
.view-btn:focus,
.delete-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.mark-read-btn:hover {
  background: var(--success-color);
  border-color: var(--success-color);
  color: var(--rich-black);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.view-btn:hover {
  background: var(--primary-500) !important;
  color: var(--brand-white) !important;
}

.delete-btn:hover {
  background: var(--danger-color);
  border-color: var(--danger-color);
  color: var(--brand-white);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* ========================================
   LOADING STATES
   ======================================== */
.notifications-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12);
  text-align: center;
  gap: var(--spacing-4);
  min-height: 300px;
}
.notifications-loading p {
  color: var(--text-tertiary);
  font-size: var(--font-size-base);
  margin: 0;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--primary-alpha-20);
  border-top-color: var(--primary-500);
  border-radius: var(--radius-md);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Skeleton Loading */
.notification-skeleton {
  display: flex;
  gap: var(--spacing-5);
  padding: var(--spacing-6);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-xl);
  margin-bottom: var(--spacing-3);
}
.notification-skeleton .skeleton {
  background: linear-gradient(90deg, transparent 25%, var(--gradient-midnight) 50%, transparent 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
}
.notification-skeleton .skeleton-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}
.notification-skeleton .skeleton-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}
.notification-skeleton .skeleton-content .skeleton-title {
  height: 20px;
  width: 60%;
}
.notification-skeleton .skeleton-content .skeleton-description {
  height: 16px;
  width: 90%;
}
.notification-skeleton .skeleton-content .skeleton-time {
  height: 14px;
  width: 30%;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* ========================================
   EMPTY STATE
   ======================================== */
.notifications-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-16) var(--spacing-6);
  text-align: center;
  min-height: 400px;
}
.notifications-empty .empty-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-6);
  border: 1px solid var(--gradient-midnight);
}
.notifications-empty .empty-icon i {
  font-size: 3rem;
  color: var(--text-muted);
  opacity: 0.3;
}
.notifications-empty h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-3);
}
.notifications-empty p {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  margin: 0 0 var(--spacing-6);
  max-width: 400px;
  line-height: var(--line-height-relaxed);
}
.notifications-empty .empty-action {
  padding: var(--spacing-3) var(--spacing-6);
  background: var(--primary-500);
  border: none;
  border-radius: var(--radius-lg);
  color: var(--rich-black);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: var(--shadow-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
}
.notifications-empty .empty-action:hover {
  background: var(--primary-500);
  box-shadow: var(--shadow-primary-lg);
  transform: translateY(-2px);
}
.notifications-empty .empty-action:active {
  transform: translateY(0);
}

/* ========================================
   LOAD MORE
   ======================================== */
.load-more-container {
  text-align: center;
  padding: var(--spacing-4) 0;
}
.load-more-container .btn {
  min-width: 200px;
}
.load-more-container .btn.loading {
  pointer-events: none;
  opacity: 0.7;
}
.load-more-container .btn.loading .fa-spinner {
  animation: spin 1s linear infinite;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Management */
.filter-btn:focus,
.mark-read-btn:focus,
.view-btn:focus,
.delete-btn:focus,
.notification-item:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .filter-btn:hover,
  .mark-read-btn:hover,
  .view-btn:hover,
  .delete-btn:hover {
    border-width: 2px;
  }
}
/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .loading-spinner,
  .notification-item,
  .filter-btn,
  * {
    animation: none !important;
    transition: none !important;
  }
}
/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .notifications-page .dashboard-main-content {
    padding: var(--spacing-5);
  }
  .notifications-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2);
    justify-items: stretch;
    margin-bottom: var(--spacing-6);
  }
  .filter-btn {
    padding: var(--spacing-2) var(--spacing-3);
    font-size: var(--font-size-sm);
    width: 100%;
    justify-content: center;
  }
  .filter-btn i {
    display: none;
  }
  .notification-item {
    flex-direction: column;
    gap: var(--spacing-4);
    padding: var(--spacing-5);
  }
  .notification-item.unread::before {
    width: 3px;
  }
  .notification-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  .notification-title {
    font-size: var(--font-size-base);
  }
  .notification-description {
    font-size: var(--font-size-base);
  }
  .notification-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: var(--spacing-2);
  }
  .notifications-empty {
    padding: var(--spacing-12) var(--spacing-4);
  }
  .notifications-empty .empty-icon {
    width: 100px;
    height: 100px;
  }
  .notifications-empty .empty-icon i {
    font-size: 2.5rem;
  }
  .notifications-empty h3 {
    font-size: var(--font-size-xl);
  }
  .notifications-empty p {
    font-size: var(--font-size-base);
  }
}
@media (max-width: 480px) {
  .notification-actions .mark-read-btn,
  .notification-actions .view-btn,
  .notification-actions .delete-btn {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
  .dashboard-page-header .header-actions {
    flex-direction: column;
    width: 100%;
    gap: var(--spacing-2);
  }
  .dashboard-page-header .header-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
/* ========================================
   LIGHT THEME OVERRIDES
   ======================================== */
body.light-theme .filter-btn {
  color: var(--text-primary) !important;
}
body.light-theme .mark-read-btn,
body.light-theme .view-btn,
body.light-theme .delete-btn {
  color: var(--text-secondary) !important;
  border-color: var(--border-subtle);
}

/**
 * Header Notifications & Messages Dropdowns
 *
 * Modern, clean dropdown design for notifications bell and messages button.
 */
/* ========================================
   TRIGGER BUTTONS
   ======================================== */
.header-notifications,
.header-messages {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
}

.notification-bell-btn,
.messages-btn {
  position: relative !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  max-height: 38px !important;
  flex: 0 0 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border-radius: 50% !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
  overflow: visible !important;
  border: 1px solid var(--primary-400) !important;
  border-radius: 999px;
}
.notification-bell-btn:hover,
.messages-btn:hover {
  color: var(--text-primary) !important;
}
.notification-bell-btn:focus,
.messages-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}
.notification-bell-btn[aria-expanded=true],
.messages-btn[aria-expanded=true] {
  color: var(--primary-400) !important;
}
.notification-bell-btn .bell-icon,
.notification-bell-btn .messages-icon,
.messages-btn .bell-icon,
.messages-btn .messages-icon {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  pointer-events: none;
}
.notification-bell-btn .bell-icon.fa-solid,
.notification-bell-btn .messages-icon.fa-solid,
.messages-btn .bell-icon.fa-solid,
.messages-btn .messages-icon.fa-solid {
  font-size: var(--font-size-base) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ========================================
   NOTIFICATION BADGE
   ======================================== */
.notification-badge,
.messages-badge {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  width: auto !important;
  min-width: 17px !important;
  max-width: 28px !important;
  height: 17px !important;
  max-height: 17px !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 4px !important;
  margin: 0 !important;
  font-size: var(--font-size-base) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-radius: 10px !important;
  pointer-events: none !important;
  z-index: 10 !important;
  background: #ef4444 !important;
  color: #fff !important;
  border: 2px solid var(--bg-page) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
.notification-badge[data-has-notifications=true],
.messages-badge[data-has-notifications=true] {
  display: flex !important;
}
.notification-badge[data-count="0"], .notification-badge[data-has-notifications=false],
.messages-badge[data-count="0"],
.messages-badge[data-has-notifications=false] {
  display: none !important;
}

/* ========================================
   DROPDOWN CONTAINER — shared
   ======================================== */
.notifications-dropdown,
.messages-dropdown {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  max-height: 500px;
  z-index: 2000;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 20px 40px rgba(0, 0, 0, 0.7), 0 4px 12px rgba(0, 0, 0, 0.4);
}
.notifications-dropdown.is-open,
.messages-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ========================================
   DROPDOWN HEADER
   ======================================== */
.notifications-dropdown-header,
.messages-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.notifications-dropdown-header h3,
.messages-dropdown-header h3 {
  font-size: var(--font-size-base) !important;
  font-weight: var(--font-weight-semibold);
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
}

.mark-all-read-btn {
  padding: 4px 10px !important;
  height: auto !important;
  min-height: unset !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  color: var(--text-muted) !important;
  font-size: var(--font-size-base) !important;
  font-weight: var(--font-weight-medium) !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
  white-space: nowrap !important;
}
.mark-all-read-btn:hover {
  background: rgba(59, 211, 211, 0.08) !important;
  border-color: rgba(59, 211, 211, 0.25) !important;
  color: var(--primary-400) !important;
  box-shadow: none !important;
  transform: none !important;
}
.mark-all-read-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}
.mark-all-read-btn:disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
}

/* ========================================
   TAB CONTENT SCROLL AREA
   ======================================== */
.notifications-tab-content,
.messages-tab-content {
  display: none;
  max-height: 370px;
  overflow-y: auto;
}
.notifications-tab-content.active,
.messages-tab-content.active {
  display: block;
}
.notifications-tab-content::-webkit-scrollbar,
.messages-tab-content::-webkit-scrollbar {
  width: 4px;
}
.notifications-tab-content::-webkit-scrollbar-track,
.messages-tab-content::-webkit-scrollbar-track {
  background: transparent;
}
.notifications-tab-content::-webkit-scrollbar-thumb,
.messages-tab-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
.notifications-tab-content::-webkit-scrollbar-thumb:hover,
.messages-tab-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ========================================
   NOTIFICATION / MESSAGE ITEMS
   ======================================== */
.notification-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.notification-dropdown-item:last-child {
  border-bottom: none;
}
.notification-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.04);
}
.notification-dropdown-item:focus-visible {
  outline: none;
  background: rgba(59, 211, 211, 0.06);
}
.notification-dropdown-item.unread::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: var(--primary-400);
}

.notification-dropdown-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
}
.notification-dropdown-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.notification-dropdown-icon svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.5);
}
.notification-dropdown-icon.avatar {
  border-radius: 50%;
}
.notification-dropdown-icon.avatar img {
  border-radius: 50%;
}
.notification-dropdown-icon .notification-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-500, #3BD3D3);
  color: #fff;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: 50%;
}

.notification-dropdown-content {
  flex: 1;
  min-width: 0;
}

.notification-dropdown-title {
  font-size: var(--font-size-base) !important;
  font-weight: var(--font-weight-medium) !important;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 3px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.unread .notification-dropdown-title {
  color: #fff;
  font-weight: 600;
}

.notification-dropdown-preview {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-dropdown-time {
  font-size: var(--font-size-base) !important;
  color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   EMPTY STATE
   ======================================== */
.notifications-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}
.notifications-empty-state svg {
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 12px;
}
.notifications-empty-state p {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
}

/* ========================================
   LOADING STATE
   ======================================== */
.notifications-loading,
.messages-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.notifications-loading .loading-spinner,
.messages-loading .loading-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-400);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ========================================
   DROPDOWN FOOTER
   ======================================== */
.notifications-dropdown-footer,
.messages-dropdown-footer {
  padding: 10px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.notifications-dropdown-footer a,
.messages-dropdown-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: var(--font-size-base) !important;
  font-weight: var(--font-weight-medium) !important;
  text-decoration: none;
  transition: color 0.15s ease;
}
.notifications-dropdown-footer a:hover,
.messages-dropdown-footer a:hover {
  color: var(--primary-400) !important;
}
.notifications-dropdown-footer a:hover svg,
.messages-dropdown-footer a:hover svg {
  transform: translateX(2px);
}
.notifications-dropdown-footer a svg,
.messages-dropdown-footer a svg {
  width: 12px;
  height: 12px;
  transition: transform 0.15s ease;
}

/* ========================================
   MOBILE — bottom sheet
   ======================================== */
@media (max-width: 480px) {
  .notifications-dropdown,
  .messages-dropdown {
    position: fixed;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 72vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%) !important;
    transform-origin: bottom center;
  }
  .notifications-dropdown.is-open,
  .messages-dropdown.is-open {
    transform: translateY(0) !important;
  }
}
/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .notifications-dropdown,
  .messages-dropdown,
  .notification-dropdown-item {
    transition: none !important;
    animation: none !important;
  }
}
/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme .notifications-dropdown,
body.light-theme .messages-dropdown {
  background: var(--bg-dropdown);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-xl);
}
body.light-theme .notifications-dropdown-header,
body.light-theme .messages-dropdown-header {
  border-bottom-color: var(--border-subtle);
}
body.light-theme .notifications-dropdown-header h3,
body.light-theme .messages-dropdown-header h3 {
  color: var(--text-primary);
}
body.light-theme .mark-all-read-btn {
  border-color: var(--midnight-end) !important;
  color: var(--text-muted) !important;
}
body.light-theme .notification-dropdown-item {
  border-bottom-color: var(--border-subtle);
  color: var(--text-secondary);
}
body.light-theme .notification-dropdown-item:hover {
  background: var(--bg-active);
}
body.light-theme .notification-dropdown-icon {
  background: var(--bg-muted);
}
body.light-theme .notification-dropdown-icon svg {
  color: var(--text-tertiary);
}
body.light-theme .notification-dropdown-title {
  color: var(--text-primary);
}
.unread body.light-theme .notification-dropdown-title {
  color: var(--text-primary);
}
body.light-theme .notification-dropdown-preview {
  color: var(--text-muted);
}
body.light-theme .notification-dropdown-time {
  color: var(--text-tertiary);
}
body.light-theme .notifications-empty-state svg {
  color: var(--text-tertiary);
}
body.light-theme .notifications-empty-state p {
  color: var(--text-muted);
}
body.light-theme .notifications-loading .loading-spinner,
body.light-theme .messages-loading .loading-spinner {
  border-color: var(--primary-alpha-20);
  border-top-color: var(--primary-400);
}
body.light-theme .notifications-dropdown-footer,
body.light-theme .messages-dropdown-footer {
  border-top-color: var(--border-subtle);
}
body.light-theme .notifications-dropdown-footer a,
body.light-theme .messages-dropdown-footer a {
  color: var(--text-muted) !important;
}
body.light-theme .notifications-tab-content::-webkit-scrollbar-thumb,
body.light-theme .messages-tab-content::-webkit-scrollbar-thumb {
  background: var(--primary-alpha-15);
}

/**
 * Saved Creators Header Dropdown
 *
 * Bookmark icon button in the header actions area with a dropdown
 * showing the user's saved/bookmarked creator profiles.
 */
/* ========================================
   TRIGGER BUTTON WRAPPER
   ======================================== */
.header-saved-creators {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
}
.header-saved-creators:hover {
  border: 1px solid var(--primary-400) !important;
  border-radius: 999px;
}

/* ========================================
   BOOKMARK BUTTON
   ======================================== */
.saved-creators-btn {
  position: relative !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  max-height: 38px !important;
  flex: 0 0 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border-radius: 50% !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: background 0.2s ease, color 0.2s ease !important;
  overflow: visible !important;
}
.saved-creators-btn:hover {
  color: var(--text-primary) !important;
}
.saved-creators-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}
.saved-creators-btn[aria-expanded=true] {
  color: var(--primary-400) !important;
}
.saved-creators-btn[aria-expanded=true] .bookmark-icon {
  fill: var(--primary-400) !important;
  stroke: var(--primary-400) !important;
}
.saved-creators-btn .bookmark-icon {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  pointer-events: none;
  transition: fill 0.2s ease, stroke 0.2s ease !important;
}

/* ========================================
   COUNT BADGE
   ======================================== */
.saved-creators-badge {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  width: auto !important;
  min-width: 17px !important;
  max-width: 28px !important;
  height: 17px !important;
  max-height: 17px !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 4px !important;
  margin: 0 !important;
  font-size: var(--font-size-base) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-radius: 10px !important;
  pointer-events: none !important;
  z-index: 10 !important;
  background: #ef4444 !important;
  color: #fff !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
.saved-creators-badge[data-has-saved=true] {
  display: flex !important;
}

/* ========================================
   DROPDOWN CONTAINER
   ======================================== */
.saved-creators-dropdown {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-height: 480px;
  z-index: 2000;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 20px 40px rgba(0, 0, 0, 0.7), 0 4px 12px rgba(0, 0, 0, 0.4);
}
.saved-creators-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ========================================
   DROPDOWN HEADER
   ======================================== */
.saved-creators-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.saved-creators-dropdown-header h3 {
  font-size: var(--font-size-base) !important;
  font-weight: var(--font-weight-semibold);
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
}

.clear-saved-btn {
  padding: 4px 10px !important;
  height: auto !important;
  min-height: unset !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  color: var(--text-muted) !important;
  font-size: var(--font-size-base) !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
  white-space: nowrap !important;
}
.clear-saved-btn:hover {
  background: rgba(239, 68, 68, 0.08) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  color: #ef4444 !important;
  box-shadow: none !important;
  transform: none !important;
}
.clear-saved-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ========================================
   SCROLL AREA
   ======================================== */
.saved-creators-list {
  max-height: 360px;
  overflow-y: auto;
}
.saved-creators-list::-webkit-scrollbar {
  width: 4px;
}
.saved-creators-list::-webkit-scrollbar-track {
  background: transparent;
}
.saved-creators-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
.saved-creators-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ========================================
   CREATOR ITEM ROW
   ======================================== */
.saved-creator-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px 10px 18px;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.saved-creator-item:last-of-type {
  border-bottom: none;
}
.saved-creator-item:hover {
  background: rgba(255, 255, 255, 0.04);
}
.saved-creator-item:hover .unsave-btn {
  opacity: 1;
}
.saved-creator-item:focus-visible {
  outline: none;
  background: rgba(59, 211, 211, 0.06);
}

.saved-creator-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.saved-creator-name {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.saved-creator-skill {
  font-size: var(--font-size-base);
  color: var(--primary-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* ========================================
   UNSAVE BUTTON
   ======================================== */
.unsave-btn {
  width: 28px !important;
  height: 28px !important;
  min-width: unset !important;
  flex: 0 0 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border-radius: 6px !important;
  color: var(--primary-400) !important;
  cursor: pointer !important;
  opacity: 0;
  box-shadow: none !important;
  transform: none !important;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease !important;
}
.unsave-btn:hover {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #ef4444 !important;
  box-shadow: none !important;
  transform: none !important;
}
.unsave-btn:focus {
  opacity: 1;
  outline: none !important;
  box-shadow: none !important;
}
.unsave-btn svg {
  width: 14px !important;
  height: 14px !important;
  pointer-events: none;
}

/* ========================================
   EXTRA COUNT NOTE
   ======================================== */
.saved-creators-more {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  padding: 8px 18px;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ========================================
   EMPTY STATE
   ======================================== */
.saved-creators-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  text-align: center;
  gap: 8px;
}
.saved-creators-empty svg {
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.12);
  margin-bottom: 4px;
}
.saved-creators-empty p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}
.saved-creators-empty span {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.2);
}

/* ========================================
   LOADING STATE
   ======================================== */
.saved-creators-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.saved-creators-loading .loading-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-400);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ========================================
   DROPDOWN FOOTER
   ======================================== */
.saved-creators-dropdown-footer {
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.saved-creators-dropdown-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: color 0.15s ease;
}
.saved-creators-dropdown-footer a:hover {
  color: var(--primary-400) !important;
}
.saved-creators-dropdown-footer a:hover svg {
  transform: translateX(2px);
}
.saved-creators-dropdown-footer a svg {
  width: 12px;
  height: 12px;
  transition: transform 0.15s ease;
}
.saved-creators-dropdown-footer a.view-all-link {
  color: var(--primary-400) !important;
}
.saved-creators-dropdown-footer a.view-all-link:hover {
  color: var(--primary-300) !important;
}

/* ========================================
   MOBILE — bottom sheet
   ======================================== */
@media (max-width: 480px) {
  .saved-creators-dropdown {
    position: fixed;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 72vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%) !important;
    transform-origin: bottom center;
  }
  .saved-creators-dropdown.is-open {
    transform: translateY(0) !important;
  }
}
/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .saved-creators-dropdown,
  .saved-creator-item {
    transition: none !important;
    animation: none !important;
  }
}
/* ========================================
   SAVED CREATORS PAGE
   Full page layout for viewing all saved creators
   ======================================== */
.dreamers-saved-creators-page {
  min-height: calc(100vh - 80px);
  padding-bottom: 80px;
}

/* Hero Section */
.dreamers-saved-creators-page .dreamers-hero {
  padding: 60px 0 40px;
  text-align: center;
}
.dreamers-saved-creators-page .dreamers-hero .dreamers-hero-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}
.dreamers-saved-creators-page .dreamers-hero .dreamers-hero-title .highlight {
  color: var(--primary-400);
}
.dreamers-saved-creators-page .dreamers-hero .dreamers-hero-tagline {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Content Container */
.saved-creators-content {
  padding: 0 0 60px;
}

/* Loading State */
.saved-creators-page-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  gap: 16px;
}
.saved-creators-page-loading .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-400);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.saved-creators-page-loading p {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Empty State */
.saved-creators-page-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}
.saved-creators-page-empty .empty-state-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(59, 211, 211, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.saved-creators-page-empty .empty-state-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary-400);
}
.saved-creators-page-empty h2 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
}
.saved-creators-page-empty p {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 24px;
  line-height: 1.5;
}

/* Error State */
.saved-creators-page-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}
.saved-creators-page-error .error-state-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.saved-creators-page-error .error-state-icon svg {
  width: 40px;
  height: 40px;
  color: #ef4444;
}
.saved-creators-page-error h2 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
}
.saved-creators-page-error p {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 24px;
  line-height: 1.5;
}

/* Grid Results */
.saved-creators-page-grid {
  display: block;
}

.saved-creators-count {
  margin-bottom: 24px;
}
.saved-creators-count p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-base);
  margin: 0;
}

.saved-creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Creator Card */
.saved-creator-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.saved-creator-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 211, 211, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.saved-creator-card:hover .creator-card-remove-btn {
  opacity: 1;
}

.creator-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.creator-card-header {
  position: relative;
  padding: 20px 20px 0;
  display: flex;
  justify-content: center;
}

.creator-card-avatar,
.creator-card-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.creator-card-avatar-placeholder {
  background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: #fff;
}

.creator-card-remove-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
  color: var(--primary-400);
}
.creator-card-remove-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.creator-card-remove-btn svg {
  width: 16px;
  height: 16px;
}

.creator-card-body {
  padding: 16px 20px 20px;
  text-align: center;
}

.creator-card-name {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.creator-card-skill {
  font-size: var(--font-size-base);
  color: var(--primary-400);
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.creator-card-location {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.creator-card-location svg {
  width: 14px;
  height: 14px;
}

.creator-card-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}
.creator-card-rating .rating-stars {
  color: #fbbf24;
  font-size: var(--font-size-base);
  letter-spacing: -1px;
}
.creator-card-rating .rating-value {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #fff;
}
.creator-card-rating .rating-count {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.4);
}

.creator-card-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.creator-card-rate {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .dreamers-saved-creators-page .dreamers-hero {
    padding: 40px 0 30px;
  }
  .dreamers-saved-creators-page .dreamers-hero .dreamers-hero-title {
    font-size: 2rem;
  }
  .saved-creators-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  .creator-card-remove-btn {
    opacity: 1;
  }
}
@media (max-width: 480px) {
  .saved-creators-grid {
    grid-template-columns: 1fr;
  }
}
/* ========================================
   LIGHT THEME OVERRIDES
   ======================================== */
body.light-theme .saved-creators-dropdown {
  background: var(--bg-dropdown);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-xl);
}
body.light-theme .saved-creators-dropdown-header {
  border-bottom-color: var(--border-subtle);
}
body.light-theme .saved-creators-dropdown-header h3 {
  color: var(--text-primary);
}
body.light-theme .clear-saved-btn {
  border-color: var(--midnight-end) !important;
  color: var(--text-muted) !important;
}
body.light-theme .saved-creators-list::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
}
body.light-theme .saved-creator-item {
  border-bottom-color: var(--border-subtle);
}
body.light-theme .saved-creator-item:hover {
  background: var(--bg-active);
}
body.light-theme .saved-creator-name {
  color: var(--text-primary);
}
body.light-theme .saved-creators-more {
  color: var(--text-muted);
  border-top-color: var(--border-subtle);
}
body.light-theme .saved-creators-empty svg {
  color: var(--border-default);
}
body.light-theme .saved-creators-empty p {
  color: var(--text-muted);
}
body.light-theme .saved-creators-empty span {
  color: var(--text-disabled);
}
body.light-theme .saved-creators-loading .loading-spinner {
  border-color: var(--primary-alpha-20);
}
body.light-theme .saved-creators-dropdown-footer {
  border-top-color: var(--border-subtle);
}
body.light-theme .saved-creators-dropdown-footer a {
  color: var(--text-muted) !important;
}
body.light-theme .dreamers-saved-creators-page .dreamers-hero .dreamers-hero-title {
  color: var(--text-primary);
}
body.light-theme .dreamers-saved-creators-page .dreamers-hero .dreamers-hero-tagline {
  color: var(--text-muted);
}
body.light-theme .saved-creators-count p {
  color: var(--text-muted);
}
body.light-theme .saved-creator-card {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
body.light-theme .saved-creator-card:hover {
  box-shadow: var(--shadow-lg);
}
body.light-theme .creator-card-remove-btn {
  background: var(--bg-active);
  color: var(--text-secondary);
}
body.light-theme .creator-card-name {
  color: var(--text-primary);
}
body.light-theme .creator-card-location {
  color: var(--text-muted);
}
body.light-theme .creator-card-rate {
  color: var(--text-primary);
}
body.light-theme .creator-card-footer {
  border-top-color: var(--border-subtle);
}
body.light-theme .saved-creators-page-loading .loading-spinner {
  border-color: var(--primary-alpha-20);
}
body.light-theme .saved-creators-page-loading p {
  color: var(--text-muted);
}
body.light-theme .saved-creators-page-empty h2,
body.light-theme .saved-creators-page-error h2 {
  color: var(--text-primary);
}
body.light-theme .saved-creators-page-empty p,
body.light-theme .saved-creators-page-error p {
  color: var(--text-muted);
}

/**
 * Toast Notification Component
 *
 * Universal toast notification system styles
 * Dark theme with glassmorphism and teal glow
 */
/* ========================================
   CONTAINER
   Fixed position, stacks toasts vertically
   ======================================== */
.dreamers-toast-container {
  position: fixed !important;
  top: var(--spacing-6) !important;
  right: var(--spacing-6) !important;
  z-index: 1060 !important;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  max-width: 450px;
}
@media (max-width: 767px) {
  .dreamers-toast-container {
    top: auto;
    bottom: var(--spacing-4);
    left: var(--spacing-4);
    right: var(--spacing-4);
    max-width: none;
  }
}

/* ========================================
   TOAST CARD
   Individual toast notification
   ======================================== */
.dreamers-toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 450px;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-3);
  padding: var(--spacing-4);
  background: var(--rich-black);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--toast-type-color, var(--primary-500));
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 4px 8px rgba(59, 211, 211, 0.12);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  opacity: 0;
  transform: translateX(calc(100% + 24px));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dreamers-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.dreamers-toast.is-dismissing {
  opacity: 0;
  transform: translateX(calc(100% + 24px)) scale(0.95);
  transition: transform 0.2s cubic-bezier(0.4, 0, 1, 1), opacity 0.2s cubic-bezier(0.4, 0, 1, 1);
}
@media (max-width: 767px) {
  .dreamers-toast {
    min-width: 100%;
    max-width: 100%;
  }
  .dreamers-toast:not(.is-visible) {
    transform: translateY(calc(100% + 24px));
  }
  .dreamers-toast.is-dismissing {
    transform: translateY(calc(100% + 24px)) scale(0.95);
  }
}

/* ========================================
   TYPE VARIANTS
   Color-coded by notification type
   ======================================== */
.dreamers-toast--success {
  --toast-type-color: var(--success-color);
  border-left-color: var(--success-color);
}
.dreamers-toast--success .dreamers-toast__progress {
  background: linear-gradient(to right, var(--success-color), var(--success-light));
}

.dreamers-toast--error {
  --toast-type-color: var(--danger-color);
  border-left-color: var(--danger-color);
}
.dreamers-toast--error .dreamers-toast__progress {
  background: linear-gradient(to right, var(--danger-color), var(--danger-light));
}

.dreamers-toast--warning {
  --toast-type-color: var(--warning-color);
  border-left-color: var(--warning-color);
}
.dreamers-toast--warning .dreamers-toast__progress {
  background: linear-gradient(to right, var(--warning-color), var(--warning-light));
}

.dreamers-toast--info {
  --toast-type-color: var(--info-color);
  border-left-color: var(--info-color);
}
.dreamers-toast--info .dreamers-toast__progress {
  background: linear-gradient(to right, var(--info-color), var(--info-light));
}

/* ========================================
   CONTENT
   Message text and action button
   ======================================== */
.dreamers-toast__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}

.dreamers-toast__message {
  color: var(--text-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ========================================
   ACTION BUTTON
   Optional action button in toast
   ======================================== */
.dreamers-toast__action {
  align-self: flex-start;
  padding: var(--spacing-1_5) var(--spacing-3);
  background: transparent;
  border: 1px solid var(--toast-type-color);
  border-radius: var(--radius-md);
  color: var(--toast-type-color);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.dreamers-toast__action:hover {
  background: var(--toast-type-color);
  color: var(--rich-black);
}
.dreamers-toast__action:focus {
  outline: 2px solid var(--toast-type-color);
  outline-offset: 2px;
}
.dreamers-toast__action:active {
  transform: scale(0.98);
}

/* ========================================
   DISMISS BUTTON
   X button to close toast
   ======================================== */
.dreamers-toast__dismiss {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0 !important;
  margin-top: -2px;
  margin-right: -6px;
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.dreamers-toast__dismiss svg {
  width: 16px;
  height: 16px;
  display: block;
}
.dreamers-toast__dismiss:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}
.dreamers-toast__dismiss:focus {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}
.dreamers-toast__dismiss:active {
  transform: scale(0.95);
}

/* ========================================
   PROGRESS BAR
   Visual countdown for auto-dismiss
   ======================================== */
.dreamers-toast__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: linear-gradient(to right, var(--primary-500), var(--primary-300));
  transform-origin: left;
  animation: toast-progress linear forwards;
}

@keyframes toast-progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .dreamers-toast {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .dreamers-toast__progress {
    animation-duration: 0.01ms !important;
  }
}
@media (prefers-contrast: high) {
  .dreamers-toast {
    border: 2px solid var(--toast-type-color);
    background: var(--rich-black);
  }
}
.dreamers-toast__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========================================
   FOCUS STATES
   Enhanced keyboard navigation
   ======================================== */
.keyboard-navigation .dreamers-toast__action:focus,
.keyboard-navigation .dreamers-toast__dismiss:focus {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  .dreamers-toast-container {
    max-width: 400px;
  }
  .dreamers-toast {
    max-width: 400px;
  }
}
@media (max-width: 374px) {
  .dreamers-toast {
    padding: var(--spacing-3);
    gap: var(--spacing-2);
    font-size: var(--font-size-base);
  }
  .dreamers-toast__action {
    padding: var(--spacing-1) var(--spacing-2);
    font-size: var(--font-size-base);
  }
}
/* ========================================
   PRINT STYLES
   Hide toasts in print
   ======================================== */
@media print {
  .dreamers-toast-container {
    display: none !important;
  }
}
/**
 * Dashboard Utilities SCSS
 * Reusable utility styles for all dashboard pages
 */
.form-group {
  margin-bottom: var(--spacing-5, 1.25rem);
}
.form-group.full-width {
  grid-column: 1/-1;
}

.form-label {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary, #fcffff);
  margin-bottom: var(--spacing-2, 0.5rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-label .required {
  color: var(--danger-color, #ef4444);
  margin-left: 0.25rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--spacing-3, 0.75rem) var(--spacing-4, 1rem);
  background: var(--bg-elevated, #3a4848);
  border: 1px solid var(--border-color, rgba(252, 255, 255, 0.1));
  border-radius: var(--radius-md, 0.5rem);
  color: var(--text-primary, #fcffff);
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: all var(--transition-base, 0.3s ease);
}
.form-input::placeholder,
.form-textarea::placeholder,
.form-select::placeholder {
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color, #3BD3D3);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.2);
}
.form-input:disabled,
.form-textarea:disabled,
.form-select:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.form-input.error,
.form-textarea.error,
.form-select.error {
  border-color: var(--danger-color, #ef4444);
}
.form-input,
.form-textarea,
.form-select {
  /* Override browser autofill styles to maintain dark theme */
}
.form-input:-webkit-autofill, .form-input:-webkit-autofill:hover, .form-input:-webkit-autofill:focus, .form-input:-webkit-autofill:active,
.form-textarea:-webkit-autofill,
.form-textarea:-webkit-autofill:hover,
.form-textarea:-webkit-autofill:focus,
.form-textarea:-webkit-autofill:active,
.form-select:-webkit-autofill,
.form-select:-webkit-autofill:hover,
.form-select:-webkit-autofill:focus,
.form-select:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--bg-elevated, #3a4848) inset !important;
  -webkit-text-fill-color: var(--text-primary, #fcffff) !important;
  border-color: var(--border-color, rgba(252, 255, 255, 0.1)) !important;
  background-color: var(--bg-elevated, #3a4848) !important;
}
.form-input:-webkit-autofill:focus,
.form-textarea:-webkit-autofill:focus,
.form-select:-webkit-autofill:focus {
  border-color: var(--primary-color, #3BD3D3) !important;
}

.form-input {
  height: 48px;
}
.form-input.with-icon {
  padding-left: 3rem !important;
  min-padding-left: 3rem;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fcffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

.input-icon {
  position: relative;
}
.input-icon input {
  padding-left: 3rem !important;
}
.input-icon i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  font-size: var(--font-size-base);
  pointer-events: none;
  z-index: 1;
}

.form-help {
  display: block;
  margin-top: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
}
.form-help.error {
  color: var(--danger-color, #ef4444);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-4, 1rem);
}

.form-checkbox,
.form-radio {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-3, 0.75rem);
  cursor: pointer;
  padding: var(--spacing-2, 0.5rem) 0;
}
.form-checkbox input[type=checkbox],
.form-checkbox input[type=radio],
.form-radio input[type=checkbox],
.form-radio input[type=radio] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary-color, #3BD3D3);
  flex-shrink: 0;
}
.form-checkbox label,
.form-radio label {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  cursor: pointer;
  line-height: 1.5;
}
.form-checkbox:hover label,
.form-radio:hover label {
  color: var(--text-primary, #fcffff);
}

.file-upload-wrapper {
  position: relative;
}
.file-upload-wrapper .file-upload-input {
  display: none;
}
.file-upload-wrapper .file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3, 0.75rem);
  padding: var(--spacing-6, 1.5rem);
  background: var(--bg-elevated, #3a4848);
  border: 2px dashed var(--border-color, rgba(252, 255, 255, 0.1));
  border-radius: var(--radius-lg, 0.75rem);
  cursor: pointer;
  transition: all var(--transition-base, 0.3s ease);
}
.file-upload-wrapper .file-upload-label i {
  font-size: 2rem;
  color: var(--primary-color, #3BD3D3);
}
.file-upload-wrapper .file-upload-label span {
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
}
.file-upload-wrapper .file-upload-label:hover {
  border-color: var(--primary-color, #3BD3D3);
}

.file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-3, 0.75rem);
  margin-top: var(--spacing-3, 0.75rem);
}
.file-preview .file-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  padding: var(--spacing-2, 0.5rem) var(--spacing-3, 0.75rem);
  border-radius: var(--radius-md, 0.5rem);
  font-size: var(--font-size-base);
}
.file-preview .file-item .remove-file {
  background: none;
  border: none;
  color: var(--danger-color, #ef4444);
  cursor: pointer;
  padding: 0;
  font-size: var(--font-size-base);
}
.file-preview .file-item .remove-file:hover {
  color: #dc2626;
}

.price-input-wrapper {
  display: flex;
  align-items: center;
}
.price-input-wrapper .currency-symbol,
.price-input-wrapper .price-currency {
  padding: var(--spacing-2, 0.5rem) var(--spacing-3, 0.75rem);
  border: 1px solid var(--border-color, rgba(252, 255, 255, 0.1));
  border-right: none;
  border-radius: var(--radius-md, 0.5rem) 0 0 var(--radius-md, 0.5rem);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.price-input-wrapper input,
.price-input-wrapper .form-input,
.price-input-wrapper .price-input {
  flex: 1;
  min-width: 0;
  border-radius: 0 var(--radius-md, 0.5rem) var(--radius-md, 0.5rem) 0;
}

.rich-editor-wrapper .wp-editor-container {
  border: 1px solid var(--border-color, rgba(252, 255, 255, 0.1));
  border-radius: var(--radius-md, 0.5rem);
  overflow: hidden;
}
.rich-editor-wrapper .wp-editor-container textarea {
  background: var(--bg-elevated, #3a4848);
  color: var(--text-primary, #fcffff);
  border: none;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2, 0.5rem);
  padding: var(--spacing-3, 0.75rem) var(--spacing-6, 1.5rem);
  background: var(--primary-color, #3BD3D3);
  color: var(--text-primary, #fcffff);
  border: none;
  border-radius: var(--radius-md, 0.5rem);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base, 0.3s ease);
}
.submit-button:hover:not(:disabled) {
  background: #248f8f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 211, 211, 0.4);
}
.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.submit-button.full-width {
  width: 100%;
}
.submit-button.loading {
  pointer-events: none;
  opacity: 0.8;
}
.submit-button.loading .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.dashboard-table-wrapper {
  border-radius: var(--radius-xl, 1rem);
  border: 1px solid var(--gradient-midnight);
  overflow: hidden;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}
.dashboard-table thead {
  background: var(--bg-elevated, #3a4848);
  border-bottom: 2px solid var(--primary-color, #3BD3D3);
}
.dashboard-table thead th {
  padding: var(--spacing-4, 1rem) var(--spacing-5, 1.25rem);
  text-align: left;
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary, #fcffff);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.dashboard-table thead th.sortable {
  cursor: pointer;
  user-select: none;
}
.dashboard-table thead th.sortable:hover {
  color: var(--primary-color, #3BD3D3);
}
.dashboard-table thead th.sortable i {
  margin-left: 0.5rem;
  font-size: var(--font-size-base);
  opacity: 0.5;
}
.dashboard-table tbody tr {
  border-bottom: 1px solid var(--border-color, rgba(252, 255, 255, 0.05));
  transition: background-color var(--transition-base, 0.3s ease);
}
.dashboard-table tbody tr:hover {
  background: var(--bg-elevated, #3a4848);
}
.dashboard-table tbody tr:last-child {
  border-bottom: none;
}
.dashboard-table tbody td {
  padding: var(--spacing-4, 1rem) var(--spacing-5, 1.25rem);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  font-size: var(--font-size-base);
}
.dashboard-table tbody td.text-center {
  text-align: center;
}
.dashboard-table tbody td.text-right {
  text-align: right;
}

.table-actions {
  display: flex;
  gap: var(--spacing-2, 0.5rem);
  align-items: center;
}
.table-actions .action-btn {
  padding: var(--spacing-2, 0.5rem);
  background: transparent;
  border: none;
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  cursor: pointer;
  border-radius: var(--radius-sm, 0.375rem);
  transition: all var(--transition-base, 0.3s ease);
}
.table-actions .action-btn:hover {
  color: var(--primary-color, #3BD3D3);
  background: var(--bg-elevated, #3a4848);
}
.table-actions .action-btn.delete:hover {
  color: var(--danger-color, #ef4444);
}

.dashboard-pagination {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-8, 2rem);
}

.pagination-list {
  display: flex;
  gap: var(--spacing-2, 0.5rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-item .pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2, 0.5rem);
  min-width: 40px;
  height: 40px;
  padding: 0 var(--spacing-3, 0.75rem);
  border: 1px solid var(--border-color, rgba(252, 255, 255, 0.1));
  border-radius: var(--radius-md, 0.5rem);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-base, 0.3s ease);
}
.pagination-item .pagination-link:hover:not(.active) {
  border-color: var(--primary-color, #3BD3D3);
  color: var(--primary-color, #3BD3D3);
  background: var(--bg-elevated, #3a4848);
}
.pagination-item .pagination-link.active {
  background: var(--primary-color, #3BD3D3);
  border-color: var(--primary-color, #3BD3D3);
  color: var(--text-primary, #fcffff);
  font-weight: 700;
}
.pagination-item .pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
}

.pagination-prev,
.pagination-next {
  font-size: var(--font-size-base);
}
.pagination-prev i,
.pagination-next i {
  font-size: var(--font-size-base);
}

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-4, 1rem);
  align-items: center;
  padding: var(--spacing-5, 1.25rem);
  border-radius: var(--radius-lg, 0.75rem);
  border: 1px solid var(--gradient-midnight);
  margin-bottom: var(--spacing-6, 1.5rem);
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
  margin-bottom: 0 !important;
}
.search-box input {
  width: 100%;
  padding: var(--spacing-3, 0.75rem) var(--spacing-4, 1rem);
  padding-left: 3rem !important;
  background: var(--bg-elevated, #3a4848);
  border: 1px solid var(--border-color, rgba(252, 255, 255, 0.1));
  border-radius: var(--radius-md, 0.5rem);
  color: var(--text-primary, #fcffff);
  font-size: var(--font-size-base);
  transition: all var(--transition-base, 0.3s ease);
}
.search-box input:focus {
  outline: none;
  border-color: var(--primary-color, #3BD3D3);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.2);
}
.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  pointer-events: none;
  z-index: 1;
}

.filter-group {
  display: flex;
  gap: var(--spacing-2, 0.5rem);
  align-items: center;
}
.filter-group label {
  font-size: var(--font-size-base);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  white-space: nowrap;
  margin-bottom: 0 !important;
}
.filter-group select {
  padding: var(--spacing-2, 0.5rem) var(--spacing-3, 0.75rem);
  border: 1px solid var(--border-color, rgba(252, 255, 255, 0.1));
  border-radius: var(--radius-md, 0.5rem);
  color: var(--text-primary, #fcffff);
  font-size: var(--font-size-base);
  cursor: pointer;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2, 0.5rem);
  margin-top: var(--spacing-3, 0.75rem);
}
.filter-tags .filter-tag {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  padding: var(--spacing-1, 0.25rem) var(--spacing-3, 0.75rem);
  background: var(--primary-color, #3BD3D3);
  color: var(--text-primary, #fcffff);
  border-radius: var(--radius-md, 9999px);
  font-size: var(--font-size-base);
  font-weight: 500;
}
.filter-tags .filter-tag button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-size: var(--font-size-base);
  opacity: 0.8;
}
.filter-tags .filter-tag button:hover {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2, 0.5rem);
  padding: var(--spacing-3, 0.75rem) var(--spacing-5, 1.25rem);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md, 0.5rem);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base, 0.3s ease);
  white-space: nowrap;
}
.btn i {
  font-size: var(--font-size-base);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--primary-color, #3BD3D3);
  color: var(--text-primary, #fcffff);
}
.btn-primary:hover {
  background: #248f8f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 211, 211, 0.4);
}

.btn-secondary {
  background: var(--bg-elevated, #3a4848);
  color: var(--text-primary, #fcffff);
  border: 1px solid var(--border-color, rgba(252, 255, 255, 0.1));
}
.btn-secondary:hover {
  border-color: var(--primary-color, #3BD3D3);
  color: var(--primary-color, #3BD3D3);
}

.btn-success {
  background: var(--success-color, #10b981);
  color: var(--text-primary, #fcffff);
}
.btn-success:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-danger {
  background: var(--danger-color, #ef4444);
  color: var(--text-primary, #fcffff);
}
.btn-danger:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color, #3BD3D3);
  border: 2px solid var(--primary-color, #3BD3D3);
}
.btn-outline:hover {
  background: var(--primary-color, #3BD3D3);
  color: var(--brand-white) !important;
}

.btn-sm {
  padding: var(--spacing-2, 0.5rem) var(--spacing-3, 0.75rem);
  font-size: var(--font-size-base);
}

.btn-lg {
  padding: var(--spacing-4, 1rem) var(--spacing-6, 1.5rem);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}

.btn-block {
  width: 100%;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1, 0.25rem);
  padding: var(--spacing-1, 0.25rem) var(--spacing-3, 0.75rem);
  border-radius: var(--radius-md, 9999px);
  font-size: var(--font-size-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.status-badge .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.status-badge.status-active, .status-badge.status-published {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
.status-badge.status-active .status-dot, .status-badge.status-published .status-dot {
  background: #10b981;
}
.status-badge.status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}
.status-badge.status-pending .status-dot {
  background: #f59e0b;
}
.status-badge.status-paused, .status-badge.status-draft {
  background: rgba(156, 163, 175, 0.15);
  color: #9ca3af;
}
.status-badge.status-paused .status-dot, .status-badge.status-draft .status-dot {
  background: #9ca3af;
}
.status-badge.status-closed, .status-badge.status-cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.status-badge.status-closed .status-dot, .status-badge.status-cancelled .status-dot {
  background: #ef4444;
}
.status-badge.status-completed {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}
.status-badge.status-completed .status-dot {
  background: #3b82f6;
}

.empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12, 3rem) var(--spacing-6, 1.5rem);
  text-align: center;
  border-radius: var(--radius-xl, 1rem);
  border: 1px solid var(--gradient-midnight);
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: var(--spacing-5, 1.25rem);
}
.empty-state-icon i {
  font-size: var(--font-size-6xl);
  color: var(--primary-color, #3BD3D3);
}

.empty-state-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary, #fcffff);
  margin-bottom: var(--spacing-3, 0.75rem);
}

.empty-state-message {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-6, 1.5rem);
  max-width: 400px;
  line-height: 1.6;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-4, 1rem);
  padding: var(--spacing-8, 2rem);
}
.loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--bg-elevated, #3a4848);
  border-top-color: var(--primary-color, #3BD3D3);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-spinner .loading-text {
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  font-size: var(--font-size-base);
}
.loading-spinner.loading-sm .spinner {
  width: 20px;
  height: 20px;
  border-width: 2px;
}
.loading-spinner.loading-lg .spinner {
  width: 60px;
  height: 60px;
  border-width: 5px;
}

.loading-inline {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
}
.loading-inline .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(59, 211, 211, 0.3);
  border-top-color: var(--primary-color, #3BD3D3);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.skeleton {
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-md, 0.5rem);
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.skeleton-text {
  height: 1rem;
  margin-bottom: var(--spacing-2, 0.5rem);
}
.skeleton-text:last-child {
  margin-bottom: 0;
  width: 60%;
}

.skeleton-title {
  height: 1.5rem;
  width: 40%;
  margin-bottom: var(--spacing-4, 1rem);
}

.skeleton-card {
  height: 200px;
  width: 100%;
}

@media (max-width: 768px) {
  .filters-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    min-width: 100%;
  }
  .dashboard-table-wrapper {
    overflow-x: auto;
  }
  .dashboard-table {
    min-width: 600px;
  }
  .pagination-list {
    flex-wrap: wrap;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
/**
 * Deliverable Card Component
 * Displays project milestones with status, due dates, and actions
 */
.deliverables-tab__header {
  margin-bottom: var(--spacing-8, 2rem);
}
.deliverables-tab__title {
  font-size: var(--font-size-2xl, 1.5rem);
  font-weight: 700;
  margin: 0 0 var(--spacing-6, 1.5rem);
  color: var(--text-primary, #FCFFFF);
}
.deliverables-tab__progress {
  background: var(--rich-black);
  padding: var(--spacing-4, 1rem);
  border-radius: var(--border-radius, 8px);
}

.progress-bar {
  height: 8px;
  background: rgba(196, 207, 207, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--spacing-3, 0.75rem);
}
.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-400, #0BF9EA), var(--primary-500, #3BD3D3));
  border-radius: 4px;
  transition: width 0.4s ease;
  width: 0;
}
.progress-bar__label {
  margin: 0;
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
}
.progress-bar__label .progress-approved {
  color: var(--primary-400, #0BF9EA);
  font-weight: 600;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
  gap: var(--spacing-6, 1.5rem);
}
@media (max-width: 768px) {
  .deliverables-grid {
    grid-template-columns: 1fr;
  }
}

.deliverable-card {
  background: var(--rich-black);
  border-radius: var(--border-radius, 8px);
  padding: var(--spacing-6, 1.5rem);
  border: 1px solid var(--primary-400);
  transition: all 0.3s ease;
}
.deliverable-card:hover {
  border-color: var(--gradient-midnight);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.deliverable-card:focus-visible {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}
.deliverable-card__header {
  margin-bottom: var(--spacing-4, 1rem);
}
.deliverable-card__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-3, 0.75rem);
  margin-bottom: var(--spacing-3, 0.75rem);
}
.deliverable-card__title {
  font-size: var(--font-size-lg, 1.125rem);
  font-weight: var(--font-weight-semibold);
  margin: 0;
  color: var(--text-primary, #FCFFFF);
  flex: 1;
}
.deliverable-card__description {
  margin: 0;
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
  line-height: 1.5;
}
.deliverable-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-4, 1rem);
  margin-bottom: var(--spacing-4, 1rem);
  padding-bottom: var(--spacing-4, 1rem);
  border-bottom: 1px solid rgba(196, 207, 207, 0.1);
}
.deliverable-card__feedback {
  padding: var(--spacing-3, 0.75rem);
  border-radius: var(--border-radius-sm, 6px);
  font-size: var(--font-size-base, 0.875rem);
  margin-bottom: var(--spacing-4, 1rem);
}
.deliverable-card__feedback--rejected {
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid #EF4444;
  color: var(--text-secondary, #C4CFCF);
}
.deliverable-card__feedback--rejected strong {
  color: #EF4444;
}
.deliverable-card__files {
  margin-bottom: var(--spacing-4, 1rem);
  padding: var(--spacing-3, 0.75rem);
  background: rgba(59, 211, 211, 0.05);
  border-radius: var(--border-radius-sm, 6px);
  font-size: var(--font-size-base, 0.875rem);
}
.deliverable-card__files strong {
  display: block;
  margin-bottom: var(--spacing-2, 0.5rem);
  color: var(--primary-400, #0BF9EA);
}
.deliverable-card__actions {
  display: flex;
  gap: var(--spacing-3, 0.75rem);
  flex-wrap: wrap;
  align-items: center;
}
.deliverable-card__actions .text-secondary,
.deliverable-card__actions .text-success {
  font-size: var(--font-size-base, 0.875rem);
}
.deliverable-card__actions .text-success {
  color: #10B981;
  font-weight: 600;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
}
.meta-item svg {
  flex-shrink: 0;
  color: var(--text-tertiary, #768585);
}
.meta-item--urgent {
  color: #EF4444;
}
.meta-item--urgent svg {
  color: #EF4444;
}
.meta-item--soon {
  color: var(--gold-500, #e6be69);
}
.meta-item--soon svg {
  color: var(--gold-500, #e6be69);
}
.meta-item--overdue {
  color: #EF4444;
  font-weight: 600;
}
.meta-item--overdue svg {
  color: #EF4444;
}

.file-list-inline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2, 0.5rem);
}
.file-list-inline li a {
  color: var(--primary-400, #0BF9EA);
  text-decoration: none;
  font-size: var(--font-size-base, 0.875rem);
}
.file-list-inline li a:hover {
  text-decoration: underline;
}

.file-upload-area {
  border: 2px dashed rgba(59, 211, 211, 0.3);
  border-radius: var(--border-radius, 8px);
  padding: var(--spacing-8, 2rem);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.file-upload-area:hover {
  border-color: var(--primary-400, #0BF9EA);
  background: rgba(59, 211, 211, 0.05);
}
.file-upload-area--dragover {
  border-color: var(--primary-400, #0BF9EA);
  background: rgba(59, 211, 211, 0.1);
}
.file-upload-area svg {
  color: var(--text-tertiary, #768585);
  margin-bottom: var(--spacing-3, 0.75rem);
}
.file-upload-area p {
  margin: 0;
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
}

.file-list {
  margin-top: var(--spacing-4, 1rem);
}

.file-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
  padding: var(--spacing-3, 0.75rem);
  border-radius: var(--border-radius-sm, 6px);
  margin-bottom: var(--spacing-2, 0.5rem);
}
.file-item svg {
  flex-shrink: 0;
  color: var(--primary-400, #0BF9EA);
}
.file-item__name {
  flex: 1;
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-primary, #FCFFFF);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-item__size {
  font-size: var(--font-size-base, 1rem);
  color: var(--text-tertiary, #768585);
}
.file-item__remove {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--spacing-1, 0.25rem);
  color: var(--text-tertiary);
  transition: color 0.2s ease;
}
.file-item__remove:hover {
  color: var(--danger-color);
}
.file-item__remove:focus-visible {
  outline: 2px solid var(--danger-color);
  outline-offset: 2px;
}
.file-item__remove svg {
  display: block;
}

.modal-content--medium {
  max-width: 600px;
}

.modal-content--small {
  max-width: 400px;
}

.btn--success {
  background: var(--success-color);
  color: white;
}
.btn--success:hover {
  background: var(--success-dark);
}
.btn--success:focus-visible {
  outline: 2px solid var(--success-color);
  outline-offset: 2px;
}

.btn--danger {
  background: var(--danger-color);
  color: white;
}
.btn--danger:hover {
  background: var(--danger-dark);
}
.btn--danger:focus-visible {
  outline: 2px solid var(--danger-color);
  outline-offset: 2px;
}

.btn--sm {
  padding: var(--spacing-2, 0.5rem) var(--spacing-3, 0.75rem);
  font-size: var(--font-size-base, 0.875rem);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
}
.btn--sm svg {
  flex-shrink: 0;
}

/**
 * Timeline Component
 * Vertical timeline for project events
 */
.timeline-container {
  max-width: 100%;
}

.timeline-header {
  margin-bottom: var(--spacing-6, 1.5rem);
}
.timeline-header__title {
  font-size: var(--font-size-2xl, 1.5rem);
  font-weight: 700;
  margin: 0 0 var(--spacing-2, 0.5rem);
  color: var(--text-primary, #FCFFFF);
}
.timeline-header__description {
  font-size: var(--font-size-base, 1rem);
  color: var(--text-secondary, #C4CFCF);
  margin: 0;
}

.timeline-content {
  margin-bottom: var(--spacing-6, 1.5rem);
}

.timeline {
  position: relative;
}

.timeline-group {
  margin-bottom: var(--spacing-8, 2rem);
}
.timeline-group__date {
  top: 140px;
  background: var(--bg-page);
  padding: var(--spacing-3, 0.75rem) var(--spacing-4, 1rem);
  font-size: var(--font-size-base, 0.875rem);
  font-weight: 600;
  color: var(--primary-400, #0BF9EA);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--border-radius, 8px);
  z-index: 5;
  margin-bottom: var(--spacing-4, 1rem);
}
@media (max-width: 768px) {
  .timeline-group__date {
    top: auto;
    position: relative;
  }
}

.timeline-events {
  position: relative;
  padding-left: var(--spacing-8, 2rem);
}
.timeline-events::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-alpha-20);
}
@media (max-width: 768px) {
  .timeline-events {
    padding-left: var(--spacing-6, 1.5rem);
  }
  .timeline-events::before {
    left: 7px;
  }
}

.timeline-event {
  position: relative;
  display: flex;
  gap: var(--spacing-4, 1rem);
  margin-bottom: var(--spacing-6, 1.5rem);
}
.timeline-event:last-child {
  margin-bottom: 0;
}
.timeline-event__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-400, #0BF9EA);
  color: var(--primary-400, #0BF9EA);
  position: relative;
  z-index: 1;
}
.timeline-event__icon svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 768px) {
  .timeline-event__icon {
    width: 32px;
    height: 32px;
  }
  .timeline-event__icon svg {
    width: 16px;
    height: 16px;
  }
}
.timeline-event__content {
  flex: 1;
  min-width: 0;
  padding: var(--spacing-4, 1rem) var(--spacing-5, 1.25rem);
  border-radius: var(--border-radius, 8px);
  border: 1px solid var(--primary-400);
  transition: all 0.3s ease;
}
.timeline-event__content:hover {
  border-color: var(--gradient-midnight);
}
.timeline-event__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-4, 1rem);
  margin-bottom: var(--spacing-2, 0.5rem);
}
@media (max-width: 768px) {
  .timeline-event__header {
    flex-direction: column;
    gap: var(--spacing-1, 0.25rem);
  }
}
.timeline-event__title {
  font-size: var(--font-size-base, 1rem);
  font-weight: 600;
  margin: 0;
  color: var(--text-primary, #FCFFFF);
}
.timeline-event__time {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-tertiary, #768585);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .timeline-event__time {
    white-space: normal;
  }
}
.timeline-event__description {
  font-size: var(--font-size-base, 1rem);
  color: var(--text-secondary, #C4CFCF);
  margin: 0 0 var(--spacing-3, 0.75rem);
  line-height: 1.6;
}
.timeline-event__description:last-child {
  margin-bottom: 0;
}
.timeline-event__actor {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  margin-top: var(--spacing-3, 0.75rem);
  padding-top: var(--spacing-3, 0.75rem);
  border-top: 1px solid var(--primary-alpha-10);
}
.timeline-event__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.timeline-event__actor-name {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
}
.timeline-event--booking_status .timeline-event__icon {
  border-color: #3B82F6;
  color: #3B82F6;
}
.timeline-event--deliverable .timeline-event__icon {
  border-color: var(--success-color);
  color: var(--success-color);
}
.timeline-event--message .timeline-event__icon {
  border-color: var(--primary-400, #0BF9EA);
  color: var(--primary-400, #0BF9EA);
}
.timeline-event--file .timeline-event__icon {
  border-color: var(--gold-500, #e6be69);
  color: var(--gold-500, #e6be69);
}
.timeline-event--contract .timeline-event__icon {
  border-color: #8B5CF6;
  color: #8B5CF6;
}

.timeline-footer {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-6, 1.5rem);
}
.timeline-footer .timeline-load-more {
  min-width: 200px;
}

/**
 * Contract Component
 * Contract viewer and signing interface
 */
.contract-container {
  max-width: 900px;
  margin: 0 auto;
}

.contract-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-4, 1rem);
  margin-bottom: var(--spacing-6, 1.5rem);
  padding-bottom: var(--spacing-4, 1rem);
  border-bottom: 1px solid rgba(196, 207, 207, 0.1);
}
@media (max-width: 768px) {
  .contract-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.contract-header__title {
  font-size: var(--font-size-2xl, 1.5rem);
  font-weight: 700;
  margin: 0;
  color: var(--text-primary, #FCFFFF);
}
.contract-header__status {
  display: flex;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
}

.contract-version {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
}
.contract-version .version-number {
  font-weight: 600;
  color: var(--primary-400, #0BF9EA);
}

.contract-status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: var(--font-size-base, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contract-document-wrapper {
  border-radius: var(--border-radius, 8px);
  padding: var(--spacing-8, 2rem);
  margin-bottom: var(--spacing-8, 2rem);
  border: 1px solid rgba(59, 211, 211, 0.1);
}
@media (max-width: 768px) {
  .contract-document-wrapper {
    padding: var(--spacing-6, 1.5rem);
  }
}

.contract-document {
  color: var(--text-primary, #FCFFFF);
  line-height: 1.8;
}
.contract-document h1, .contract-document h2, .contract-document h3, .contract-document h4 {
  color: var(--text-primary, #FCFFFF);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.contract-document h1 {
  font-size: var(--font-size-3xl, 2rem);
  margin-top: 0;
}
@media (max-width: 768px) {
  .contract-document h1 {
    font-size: var(--font-size-2xl, 1.5rem);
  }
}
.contract-document h2 {
  font-size: var(--font-size-xl, 1.25rem);
  color: var(--primary-400, #0BF9EA);
  border-bottom: 2px solid rgba(59, 211, 211, 0.2);
  padding-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .contract-document h2 {
    font-size: var(--font-size-lg, 1.125rem);
  }
}
.contract-document p {
  margin-bottom: 1rem;
  color: var(--text-secondary, #C4CFCF);
}
.contract-document strong {
  color: var(--text-primary, #FCFFFF);
  font-weight: 600;
}
.contract-document ol, .contract-document ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.contract-document ol li, .contract-document ul li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary, #C4CFCF);
}
@media print {
  .contract-document {
    background: white;
    color: black;
  }
  .contract-document h1, .contract-document h2, .contract-document h3, .contract-document h4, .contract-document p, .contract-document strong {
    color: black;
  }
  .contract-document h2 {
    border-bottom-color: #666;
  }
}

.amendment-notice {
  background: rgba(230, 190, 105, 0.1);
  border: 1px solid var(--gold-500, #e6be69);
  border-radius: var(--border-radius, 8px);
  padding: var(--spacing-5, 1.25rem);
  margin-bottom: var(--spacing-6, 1.5rem);
  display: flex;
  gap: var(--spacing-4, 1rem);
}
.amendment-notice__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-500, #e6be69);
  color: var(--rich-black, #000000);
  display: flex;
  align-items: center;
  justify-content: center;
}
.amendment-notice__content {
  flex: 1;
  min-width: 0;
}
.amendment-notice__title {
  font-size: var(--font-size-lg, 1.125rem);
  font-weight: var(--font-weight-semibold);
  margin: 0 0 var(--spacing-2, 0.5rem);
  color: var(--text-primary, #FCFFFF);
}
.amendment-notice__description {
  font-size: var(--font-size-base, 1rem);
  color: var(--text-secondary, #C4CFCF);
  margin: 0 0 var(--spacing-4, 1rem);
}
.amendment-notice__actions {
  display: flex;
  gap: var(--spacing-3, 0.75rem);
}
@media (max-width: 768px) {
  .amendment-notice__actions {
    flex-direction: column;
  }
}
.amendment-notice__waiting {
  font-size: var(--font-size-base, 0.875rem);
  font-style: italic;
  color: var(--text-tertiary, #768585);
  margin: 0;
}

.contract-signatures {
  border-radius: var(--border-radius, 8px);
  padding: var(--spacing-6, 1.5rem);
  margin-bottom: var(--spacing-6, 1.5rem);
  border: 1px solid rgba(59, 211, 211, 0.1);
}
.contract-signatures__title {
  font-size: var(--font-size-xl, 1.25rem);
  font-weight: 700;
  margin: 0 0 var(--spacing-5, 1.25rem);
  color: var(--text-primary, #FCFFFF);
}

.signatures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-6, 1.5rem);
}
@media (max-width: 768px) {
  .signatures-grid {
    grid-template-columns: 1fr;
  }
}

.signature-box {
  border: 1px solid rgba(196, 207, 207, 0.1);
  border-radius: var(--border-radius, 8px);
  padding: var(--spacing-5, 1.25rem);
}
.signature-box__header {
  font-size: var(--font-size-base, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary, #C4CFCF);
  margin-bottom: var(--spacing-4, 1rem);
}
.signature-box__content {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signature-signed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  text-align: center;
}
.signature-signed svg {
  color: #10B981;
  width: 32px;
  height: 32px;
}
.signature-signed .signature-status {
  font-size: var(--font-size-base, 1rem);
  font-weight: 600;
  color: #10B981;
}
.signature-signed .signature-date {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
}

.signature-pending {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.signature-pending .signature-status {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-tertiary, #768585);
  font-style: italic;
}

.btn-sign-contract {
  width: 100%;
}

.amendment-history {
  border-radius: var(--border-radius, 8px);
  padding: var(--spacing-6, 1.5rem);
  margin-bottom: var(--spacing-6, 1.5rem);
  border: 1px solid rgba(59, 211, 211, 0.1);
}
.amendment-history__title {
  font-size: var(--font-size-xl, 1.25rem);
  font-weight: 700;
  margin: 0 0 var(--spacing-4, 1rem);
  color: var(--text-primary, #FCFFFF);
}

.amendment-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4, 1rem);
}

.amendment-item {
  padding: var(--spacing-4, 1rem);
  border-left: 3px solid;
  border-radius: var(--border-radius-sm, 6px);
  background: rgba(255, 255, 255, 0.02);
}
.amendment-item--accepted {
  border-color: #10B981;
}
.amendment-item--rejected {
  border-color: #EF4444;
}
.amendment-item--pending {
  border-color: var(--gold-500, #e6be69);
}
.amendment-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
  margin-bottom: var(--spacing-2, 0.5rem);
}
@media (max-width: 768px) {
  .amendment-item__header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.amendment-item__title {
  font-size: var(--font-size-base, 1rem);
  font-weight: 600;
  margin: 0;
  color: var(--text-primary, #FCFFFF);
}
.amendment-item__date {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-tertiary, #768585);
}
.amendment-item__changes {
  font-size: var(--font-size-base, 1rem);
  color: var(--text-secondary, #C4CFCF);
  margin: 0;
}

.contract-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-3, 0.75rem);
}
@media (max-width: 768px) {
  .contract-actions {
    flex-direction: column;
  }
}

.modal-content--large {
  max-width: 900px;
}

#proposeAmendmentModal .modal-content,
#amendmentResponseModal .modal-content {
  background: var(--rich-black);
}

#signContractModal .alert-warning,
#proposeAmendmentModal .alert-warning,
#amendmentResponseModal .alert-warning {
  background: none;
  gap: 1em;
}
#signContractModal .alert-warning p,
#proposeAmendmentModal .alert-warning p,
#amendmentResponseModal .alert-warning p {
  margin-bottom: 0 !important;
}

.amendment-details {
  background: rgba(59, 211, 211, 0.05);
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--border-radius, 8px);
  padding: var(--spacing-4, 1rem);
  margin-bottom: var(--spacing-4, 1rem);
}

.detail-row {
  display: flex;
  gap: var(--spacing-3, 0.75rem);
  margin-bottom: var(--spacing-2, 0.5rem);
}
.detail-row:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .detail-row {
    flex-direction: column;
    gap: var(--spacing-1, 0.25rem);
  }
}

.detail-label {
  font-size: var(--font-size-base, 0.875rem);
  font-weight: 600;
  color: var(--text-secondary, #C4CFCF);
  min-width: 120px;
}

.detail-value {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-primary, #FCFFFF);
}

@media print {
  .contract-header__status,
  .amendment-notice,
  .contract-signatures,
  .amendment-history,
  .contract-actions {
    display: none;
  }
  .contract-document-wrapper {
    background: white;
    border: none;
    padding: 0;
  }
}
/**
 * Overview Dashboard Component
 * Dashboard cards for project room overview tab
 */
.overview-dashboard {
  max-width: 100%;
  padding: var(--spacing-4, 1rem);
}
@media (min-width: 768px) {
  .overview-dashboard {
    padding: var(--spacing-6, 1.5rem);
  }
}
.overview-dashboard__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .overview-dashboard__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .overview-dashboard__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.overview-card {
  border: 1px solid var(--midnight-end);
  border-radius: var(--border-radius, 8px);
  padding: var(--spacing-5, 1.25rem);
  transition: all 0.3s ease;
}
.overview-card:hover {
  border-color: var(--primary-400);
}
.overview-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(59, 211, 211, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-4, 1rem);
}
.overview-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-400, #0BF9EA);
}
.overview-card__content {
  flex: 1;
}
.overview-card__title {
  font-size: var(--font-size-lg, 1.125rem);
  font-weight: var(--font-weight-semibold);
  margin: 0 0 var(--spacing-4, 1rem);
  color: var(--text-primary, #FCFFFF);
}
.overview-card__body {
  margin-bottom: var(--spacing-4, 1rem);
}
.overview-card__body:last-child {
  margin-bottom: 0;
}
.overview-card__footer {
  margin-top: var(--spacing-4, 1rem);
  padding-top: var(--spacing-4, 1rem);
  border-top: 1px solid rgba(196, 207, 207, 0.1);
}
.overview-card__footer .btn {
  width: 100%;
}
@media (min-width: 1024px) {
  .overview-card--summary {
    grid-column: span 2;
  }
}
@media (min-width: 768px) {
  .overview-card--recent {
    grid-column: span 2;
  }
}

.project-summary__status {
  margin-bottom: var(--spacing-4, 1rem);
}
.project-summary__details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3, 0.75rem);
  margin-bottom: var(--spacing-5, 1.25rem);
}
.project-summary__progress {
  margin-top: var(--spacing-5, 1.25rem);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
}

.detail-label {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
  font-weight: 500;
}

.detail-value {
  font-size: var(--font-size-base, 1rem);
  color: var(--text-primary, #FCFFFF);
  font-weight: 600;
}
.detail-value.text-green {
  color: #10B981;
}
.detail-value.text-yellow {
  color: var(--gold-500, #e6be69);
}
.detail-value.text-red {
  color: #EF4444;
}
.detail-value.text-gray {
  color: var(--text-tertiary, #768585);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(196, 207, 207, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--spacing-2, 0.5rem);
}
.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500, #3BD3D3), var(--primary-400, #0BF9EA));
  border-radius: 4px;
  transition: width 0.5s ease;
}

.progress-label {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
  font-weight: 600;
}

.deliverable-summary {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4, 1rem);
}

.stat-counter {
  text-align: center;
  padding: var(--spacing-3, 0.75rem);
  background: rgba(59, 211, 211, 0.05);
  border-radius: var(--border-radius-sm, 6px);
}
.stat-counter__value {
  display: block;
  font-size: var(--font-size-3xl, 2rem);
  font-weight: 700;
  color: var(--primary-400, #0BF9EA);
  line-height: 1;
  margin-bottom: var(--spacing-2, 0.5rem);
}
.stat-counter__label {
  display: block;
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
}

.deliverable-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2, 0.5rem);
}

.stat-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: var(--font-size-base, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}
.stat-badge.status-badge--gray {
  background: rgba(120, 133, 133, 0.2);
  color: var(--text-secondary, #C4CFCF);
}
.stat-badge.status-badge--blue {
  background: rgba(59, 130, 246, 0.2);
  color: #60A5FA;
}
.stat-badge.status-badge--gold {
  background: rgba(230, 190, 105, 0.2);
  color: var(--gold-500, #e6be69);
}
.stat-badge.status-badge--green {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}
.stat-badge.status-badge--red {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}
.stat-badge.status-badge--teal {
  background: var(--primary-400, #0BF9EA);
  color: var(--brand-white);
}

.next-milestone {
  padding: var(--spacing-3, 0.75rem);
  background: rgba(59, 211, 211, 0.05);
  border-left: 3px solid var(--primary-400, #0BF9EA);
  border-radius: var(--border-radius-sm, 6px);
  font-size: var(--font-size-base, 0.875rem);
}
.next-milestone strong {
  display: block;
  margin-bottom: var(--spacing-1, 0.25rem);
  color: var(--text-primary, #FCFFFF);
}
.next-milestone .milestone-title {
  display: block;
  color: var(--text-primary, #FCFFFF);
  font-weight: 600;
  margin-bottom: var(--spacing-1, 0.25rem);
}
.next-milestone .milestone-due {
  display: block;
  font-size: var(--font-size-base, 0.875rem);
}
.next-milestone .milestone-due.text-green {
  color: #10B981;
}
.next-milestone .milestone-due.text-yellow {
  color: var(--gold-500, #e6be69);
}
.next-milestone .milestone-due.text-red {
  color: #EF4444;
}

.contract-summary__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
  margin-bottom: var(--spacing-4, 1rem);
  flex-wrap: wrap;
}
.contract-summary__signatures {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3, 0.75rem);
}

.contract-version {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
  font-weight: 600;
}

.signature-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
}
.signature-item__label {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
  font-weight: 500;
}
.signature-item__status {
  font-size: var(--font-size-base, 0.875rem);
  font-weight: 600;
}
.signature-item__status.text-green {
  color: #10B981;
}
.signature-item__status.text-gray {
  color: var(--text-tertiary, #768585);
}

.activity-summary {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4, 1rem);
}

.activity-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-3, 0.75rem);
}

.activity-stat {
  text-align: center;
  padding: var(--spacing-3, 0.75rem);
  border-radius: var(--border-radius-sm, 6px);
}
.activity-stat__value {
  display: block;
  font-size: var(--font-size-2xl, 1.5rem);
  font-weight: 700;
  color: var(--primary-400, #0BF9EA);
  line-height: 1;
  margin-bottom: var(--spacing-1, 0.25rem);
}
.activity-stat__label {
  display: block;
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
}

.last-message {
  padding: var(--spacing-3, 0.75rem);
  background: rgba(196, 207, 207, 0.05);
  border-radius: var(--border-radius-sm, 6px);
}
.last-message__text {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
  margin: 0;
  font-style: italic;
}

.unread-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  padding: var(--spacing-2, 0.5rem) var(--spacing-3, 0.75rem);
  background: rgba(239, 68, 68, 0.1);
  border-radius: var(--border-radius-sm, 6px);
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
}
.unread-badge .badge--red {
  background: #EF4444;
  color: white;
  padding: 0.125rem 0.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: var(--font-size-base, 1rem);
}

.recent-timeline-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3, 0.75rem);
}

.timeline-item {
  display: flex;
  gap: var(--spacing-3, 0.75rem);
  padding: var(--spacing-3, 0.75rem);
  border-radius: var(--border-radius-sm, 6px);
  transition: background 0.3s ease;
}
.timeline-item:hover {
  background: rgba(196, 207, 207, 0.05);
}
.timeline-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(59, 211, 211, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-item__icon svg {
  width: 16px;
  height: 16px;
  color: var(--primary-400, #0BF9EA);
}
.timeline-item__content {
  flex: 1;
  min-width: 0;
}
.timeline-item__title {
  display: block;
  font-size: var(--font-size-base, 0.875rem);
  font-weight: 600;
  color: var(--text-primary, #FCFFFF);
  margin-bottom: var(--spacing-1, 0.25rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.timeline-item__time {
  display: block;
  font-size: var(--font-size-base, 1rem);
  color: var(--text-tertiary, #768585);
}
.timeline-item--deliverable .timeline-item__icon {
  background: rgba(16, 185, 129, 0.1);
}
.timeline-item--deliverable .timeline-item__icon svg {
  color: #10B981;
}
.timeline-item--message .timeline-item__icon {
  background: rgba(59, 211, 211, 0.1);
}
.timeline-item--message .timeline-item__icon svg {
  color: var(--primary-400, #0BF9EA);
}
.timeline-item--file .timeline-item__icon {
  background: rgba(230, 190, 105, 0.1);
}
.timeline-item--file .timeline-item__icon svg {
  color: var(--gold-500, #e6be69);
}
.timeline-item--contract .timeline-item__icon {
  background: rgba(139, 92, 246, 0.1);
}
.timeline-item--contract .timeline-item__icon svg {
  color: #8B5CF6;
}

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3, 0.75rem);
}
.quick-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2, 0.5rem);
  width: 100%;
}
.quick-actions .btn svg {
  width: 16px;
  height: 16px;
}

.loading-message,
.empty-message {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-tertiary, #768585);
  font-style: italic;
  text-align: center;
  padding: var(--spacing-4, 1rem);
}

@media (max-width: 767px) {
  .overview-dashboard {
    padding: var(--spacing-3, 0.75rem);
  }
  .overview-dashboard__grid {
    gap: var(--spacing-4, 1rem);
  }
  .overview-card {
    padding: var(--spacing-4, 1rem);
  }
  .overview-card__icon {
    width: 40px;
    height: 40px;
  }
  .overview-card__icon svg {
    width: 20px;
    height: 20px;
  }
  .overview-card__title {
    font-size: var(--font-size-base, 1rem);
  }
  .stat-counter__value {
    font-size: var(--font-size-2xl, 1.5rem);
  }
  .activity-stat__value {
    font-size: var(--font-size-xl, 1.25rem);
  }
}
.review-prompt-container {
  margin-bottom: var(--spacing-6);
}

.review-prompt {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-5);
  background: rgba(59, 211, 211, 0.08);
  border: 2px solid var(--primary-400);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 20px rgba(59, 211, 211, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-prompt:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(59, 211, 211, 0.25);
}
.review-prompt--urgent {
  background: rgba(230, 190, 105, 0.08);
  border-color: var(--gold-500);
  box-shadow: 0 0 20px rgba(230, 190, 105, 0.15);
}
.review-prompt--urgent:hover {
  box-shadow: 0 0 30px rgba(230, 190, 105, 0.25);
}
.review-prompt--urgent .review-prompt__icon {
  background: rgba(230, 190, 105, 0.15);
  color: var(--gold-500);
}

.review-prompt__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 211, 211, 0.15);
  color: var(--primary-400);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
}

.review-prompt__content {
  flex: 1;
  min-width: 0;
}

.review-prompt__title {
  margin: 0 0 var(--spacing-2);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}

.review-prompt__description {
  margin: 0;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.5;
}
.review-prompt__description strong {
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
}

.review-prompt__action {
  flex-shrink: 0;
}

.review-prompt__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  white-space: nowrap;
}
.review-prompt__btn i {
  font-size: var(--font-size-base);
}

@media (max-width: 767px) {
  .review-prompt {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-3);
  }
  .review-prompt .review-prompt__action {
    width: 100%;
  }
  .review-prompt .review-prompt__btn {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .review-prompt {
    transition: none;
  }
  .review-prompt:hover {
    transform: none;
  }
}
/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme .overview-dashboard {
  background: var(--bg-page);
}
body.light-theme .overview-card,
body.light-theme .overview-section {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}

/**
 * File Browser Component (Phase 5)
 * Comprehensive file management interface with filters, grid/list views, and upload
 */
.file-browser {
  display: flex;
  gap: var(--spacing-6, 1.5rem);
  padding: var(--spacing-4, 1rem);
  min-height: 500px;
}
@media (min-width: 768px) {
  .file-browser {
    padding: var(--spacing-6, 1.5rem);
  }
}
@media (max-width: 767px) {
  .file-browser {
    flex-direction: column;
  }
}

.file-browser__sidebar {
  flex: 0 0 250px;
  background: rgba(45, 58, 58, 0.3);
  border: 1px solid rgba(59, 211, 211, 0.1);
  border-radius: var(--border-radius, 8px);
  padding: var(--spacing-4, 1rem);
  height: fit-content;
  position: sticky;
  top: var(--spacing-4, 1rem);
}
@media (max-width: 767px) {
  .file-browser__sidebar {
    flex: 1;
    position: relative;
    top: 0;
  }
  .file-browser__sidebar--collapsed .file-browser__filters {
    display: none;
  }
}

.file-browser__sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-4, 1rem);
}

.file-browser__sidebar-title {
  font-size: var(--font-size-lg, 1.125rem);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary, #FCFFFF);
  margin: 0;
}

.file-browser__sidebar-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-secondary, #C4CFCF);
  cursor: pointer;
  padding: 0.5rem;
}
@media (max-width: 767px) {
  .file-browser__sidebar-toggle {
    display: block;
  }
}
.file-browser__sidebar-toggle:hover {
  color: var(--primary-400, #0BF9EA);
}

.file-filter {
  margin-bottom: var(--spacing-5, 1.25rem);
}
.file-filter:last-child {
  margin-bottom: 0;
}

.file-filter__label {
  display: block;
  font-size: var(--font-size-base, 0.875rem);
  font-weight: 600;
  color: var(--text-secondary, #C4CFCF);
  margin-bottom: var(--spacing-2, 0.5rem);
}

.file-filter__options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2, 0.5rem);
}

.file-filter__option {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  cursor: pointer;
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-primary, #FCFFFF);
}
.file-filter__option input[type=radio] {
  cursor: pointer;
}
.file-filter__option:hover {
  color: var(--primary-400, #0BF9EA);
}

.file-filter__select,
.file-filter__input {
  width: 100%;
  padding: var(--spacing-2, 0.5rem) var(--spacing-3, 0.75rem);
  background: rgba(45, 58, 58, 0.5);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--border-radius-sm, 6px);
  color: var(--text-primary);
  font-size: var(--font-size-base, 0.875rem);
}
.file-filter__select:focus, .file-filter__select:focus-visible,
.file-filter__input:focus,
.file-filter__input:focus-visible {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
  border-color: var(--primary-400);
}

.file-filter__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2, 0.5rem);
}

.file-filter__empty {
  font-size: var(--font-size-base, 1rem);
  color: var(--text-tertiary, #768585);
  font-style: italic;
  margin: 0;
}

.tag-chip {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(59, 211, 211, 0.15);
  border: 1px solid rgba(59, 211, 211, 0.3);
  border-radius: 12px;
  font-size: var(--font-size-base, 1rem);
  font-weight: 600;
  color: var(--primary-400, #0BF9EA);
  cursor: pointer;
  transition: all 0.2s ease;
}
.tag-chip:hover {
  background: rgba(59, 211, 211, 0.25);
  border-color: var(--primary-400, #0BF9EA);
}
.tag-chip--active {
  background: var(--primary-400, #0BF9EA);
  color: var(--rich-black, #000000);
  border-color: var(--primary-400, #0BF9EA);
}
.tag-chip--small {
  padding: 0.125rem 0.5rem;
  font-size: var(--font-size-base, 1rem);
  cursor: default;
  pointer-events: none;
}

.file-browser__main {
  flex: 1;
  min-width: 0;
}

.file-browser__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-4, 1rem);
  flex-wrap: wrap;
  gap: var(--spacing-3, 0.75rem);
}

.file-browser__toolbar-left {
  display: flex;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
}

.file-browser__toolbar-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
}

.file-browser__count {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
  font-weight: 600;
}

.file-browser__view-toggle {
  display: flex;
  gap: 0.25rem;
  background: rgba(45, 58, 58, 0.3);
  padding: 0.25rem;
  border-radius: var(--border-radius-sm, 6px);
}

.file-browser__view-btn {
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: var(--border-radius-sm, 6px);
  transition: all 0.2s ease;
}
.file-browser__view-btn:hover {
  color: var(--primary-400);
  background: var(--primary-400);
}
.file-browser__view-btn:focus-visible {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}
.file-browser__view-btn--active {
  background: var(--primary-400);
  color: var(--rich-black);
}
.file-browser__view-btn--active:hover {
  background: var(--primary-400);
  color: var(--rich-black);
}

.file-browser__files--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16em, auto));
  grid-auto-rows: minmax(150px, auto);
  gap: 1.5rem;
  grid-auto-flow: dense;
}
@media (max-width: 768px) {
  .file-browser__files--grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .file-browser__files--grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
  }
}

.file-browser__files--list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2, 0.5rem);
}

.file-browser__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-8, 2rem);
  color: var(--text-secondary, #C4CFCF);
}
.file-browser__loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(59, 211, 211, 0.2);
  border-top-color: var(--primary-400, #0BF9EA);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: var(--spacing-3, 0.75rem);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.file-browser__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-8, 2rem);
  text-align: center;
}
.file-browser__empty svg {
  color: var(--text-tertiary, #768585);
  margin-bottom: var(--spacing-4, 1rem);
}
.file-browser__empty h3 {
  font-size: var(--font-size-xl, 1.25rem);
  color: var(--text-primary, #FCFFFF);
  margin-bottom: var(--spacing-2, 0.5rem);
}
.file-browser__empty p {
  color: var(--text-secondary, #C4CFCF);
  margin-bottom: var(--spacing-4, 1rem);
}

.file-card {
  border: 1px solid var(--primary-400);
  border-radius: var(--border-radius, 8px);
  padding: var(--spacing-4, 1rem);
  transition: all 0.3s ease;
  position: relative;
}
.file-card:hover {
  border-color: var(--gradient-midnight);
  box-shadow: var(--shadow-md);
}
.file-card:focus-visible {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}
.file-card.portfolio-item {
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.file-card.portfolio-item:hover {
  border: 2px solid var(--primary-alpha-50, rgba(59, 211, 211, 0.5));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.file-card.portfolio-item .portfolio-media-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.file-card.portfolio-item .portfolio-media-wrapper img,
.file-card.portfolio-item .portfolio-media-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.file-card.portfolio-item .portfolio-media-wrapper video {
  min-height: 0;
}
.file-card.portfolio-item .file-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-3, 0.75rem);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  opacity: 1;
  transition: opacity 0.3s ease;
}
.file-card.portfolio-item:hover .file-card__overlay {
  opacity: 1;
}
.file-card.portfolio-item .file-card__content {
  text-align: left;
}
.file-card.portfolio-item .file-card__name {
  color: #ffffff;
  font-size: var(--font-size-base, 0.875rem);
  font-weight: 600;
  margin: 0 0 var(--spacing-1, 0.25rem);
}
.file-card.portfolio-item .file-card__meta {
  display: flex;
  gap: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base, 1rem);
  color: rgba(255, 255, 255, 0.8);
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.file-card.portfolio-item .file-card__actions {
  position: absolute;
  top: var(--spacing-2, 0.5rem);
  right: var(--spacing-2, 0.5rem);
  z-index: 10;
}
.file-card.portfolio-item .file-download-btn {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}
.file-card.portfolio-item .file-download-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}
.file-card.portfolio-item.portfolio-video {
  grid-column: span 2;
  aspect-ratio: 16/9;
  min-height: 200px;
}
.file-card.portfolio-item.portfolio-image {
  min-height: 150px;
}
@media (max-width: 768px) {
  .file-card.portfolio-item.portfolio-video {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
  .file-card.portfolio-item.portfolio-image {
    min-height: 120px;
  }
}
@media (max-width: 480px) {
  .file-card.portfolio-item.portfolio-video {
    grid-column: span 2;
    aspect-ratio: 16/9;
    min-height: 150px;
  }
  .file-card.portfolio-item.portfolio-image {
    min-height: 100px;
  }
}

.file-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-3, 0.75rem);
  color: var(--primary-400, #0BF9EA);
}

.file-card__content {
  text-align: center;
}

.file-card__name {
  font-size: var(--font-size-base, 0.875rem);
  font-weight: 600;
  color: var(--text-primary, #FCFFFF);
  margin: 0 0 var(--spacing-2, 0.5rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-card__deliverable,
.file-card__version {
  font-size: var(--font-size-base, 1rem);
  color: var(--text-secondary, #C4CFCF);
  margin: var(--spacing-1, 0.25rem) 0;
}

.file-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-1, 0.25rem);
  margin: var(--spacing-2, 0.5rem) 0;
}

.file-card__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base, 1rem);
  color: var(--text-tertiary, #768585);
  margin-top: var(--spacing-2, 0.5rem);
  padding-top: var(--spacing-2, 0.5rem);
  border-top: 1px solid rgba(196, 207, 207, 0.1);
}

.file-card__actions {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-3, 0.75rem);
}

.file-row {
  display: grid;
  grid-template-columns: 40px 2fr 120px 150px 120px 100px 120px 40px;
  gap: var(--spacing-3, 0.75rem);
  align-items: center;
  padding: var(--spacing-3, 0.75rem);
  background: rgba(45, 58, 58, 0.3);
  border: 1px solid rgba(59, 211, 211, 0.1);
  border-radius: var(--border-radius-sm, 6px);
  transition: all 0.2s ease;
}
@media (max-width: 1024px) {
  .file-row {
    grid-template-columns: 40px 2fr 100px 80px 40px;
  }
  .file-row .file-row__deliverable,
  .file-row .file-row__tags,
  .file-row .file-row__uploader {
    display: none;
  }
}
@media (max-width: 640px) {
  .file-row {
    grid-template-columns: 40px 1fr 40px;
  }
  .file-row .file-row__category,
  .file-row .file-row__size {
    display: none;
  }
}
.file-row:hover {
  background: rgba(45, 58, 58, 0.5);
  border-color: rgba(59, 211, 211, 0.2);
}

.file-row__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-400, #0BF9EA);
}

.file-row__name {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  min-width: 0;
}

.file-row__title {
  font-size: var(--font-size-base, 0.875rem);
  font-weight: 600;
  color: var(--text-primary, #FCFFFF);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-row__version {
  font-size: var(--font-size-base, 1rem);
  color: var(--text-tertiary, #768585);
}

.file-row__category,
.file-row__deliverable,
.file-row__size,
.file-row__uploader {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary, #C4CFCF);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-row__tags {
  display: flex;
  gap: var(--spacing-1, 0.25rem);
  overflow: hidden;
}

.file-download-btn {
  background: transparent;
  border: 1px solid rgba(59, 211, 211, 0.3);
  color: var(--primary-400, #0BF9EA);
  padding: 0.5rem;
  border-radius: var(--border-radius-sm, 6px);
  cursor: pointer;
  transition: all 0.2s ease;
}
.file-download-btn:hover {
  background: rgba(59, 211, 211, 0.1);
  border-color: var(--primary-400, #0BF9EA);
}

.file-preview-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2, 0.5rem);
  margin-top: var(--spacing-3, 0.75rem);
}

.file-preview-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
  padding: var(--spacing-2, 0.5rem);
  background: rgba(45, 58, 58, 0.3);
  border-radius: var(--border-radius-sm, 6px);
}

.file-preview-item__icon {
  color: var(--primary-400, #0BF9EA);
  display: flex;
  align-items: center;
}

.file-preview-item__info {
  flex: 1;
  min-width: 0;
}

.file-preview-item__name {
  display: block;
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-primary, #FCFFFF);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-preview-item__size {
  display: block;
  font-size: var(--font-size-base, 1rem);
  color: var(--text-tertiary, #768585);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(196, 207, 207, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--spacing-2, 0.5rem);
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500, #3BD3D3), var(--primary-400, #0BF9EA));
  border-radius: 4px;
  transition: width 0.3s ease;
}

@media (max-width: 767px) {
  .file-browser {
    padding: var(--spacing-3, 0.75rem);
    gap: var(--spacing-4, 1rem);
  }
  .file-browser__sidebar {
    flex: none;
    position: relative;
  }
  .file-browser__files--grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme .file-browser__sidebar {
  background: var(--bg-elevated);
  border-color: var(--border-subtle);
}
body.light-theme .file-row {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
body.light-theme .file-row:hover {
  background: var(--bg-active);
}

/*!
 * Dreamers X Theme - Main SCSS Entry Point
 * Compiled version of the CSS with organized structure
 */
/* Normalize.css excerpt - essential resets only */
.stripe-checkout {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
  max-width: 560px;
  margin: 0 auto;
}
.stripe-checkout__header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}
.stripe-checkout__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.stripe-checkout__subtitle {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0;
}
.stripe-checkout__fee-card {
  background: rgba(45, 58, 58, 0.6);
  border: 1px solid rgba(59, 211, 211, 0.12);
  border-radius: 12px;
  padding: var(--spacing-4) var(--spacing-5);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}
.stripe-checkout__fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}
.stripe-checkout__fee-row--total {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary);
  padding-top: var(--spacing-2);
  margin-top: var(--spacing-2);
  border-top: 1px solid rgba(59, 211, 211, 0.15);
}
.stripe-checkout__fee-row--highlight {
  color: var(--primary-400);
}
.stripe-checkout__fee-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}
.stripe-checkout__fee-value {
  font-weight: 600;
  color: var(--text-primary);
}
.stripe-checkout__element-wrapper {
  background: rgba(13, 25, 25, 0.8);
  border: 1px solid rgba(59, 211, 211, 0.15);
  border-radius: 12px;
  padding: var(--spacing-5);
  min-height: 280px;
  transition: border-color 0.2s ease;
}
.stripe-checkout__element-wrapper:focus-within {
  border-color: rgba(59, 211, 211, 0.4);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.08);
}
.stripe-checkout__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3);
  min-height: 200px;
  color: var(--text-secondary);
  font-size: var(--font-size-base);
}
.stripe-checkout__loading::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid rgba(59, 211, 211, 0.3);
  border-top-color: var(--primary-400);
  border-radius: 50%;
  animation: stripe-spin 0.8s linear infinite;
}
.stripe-checkout__message {
  display: none;
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: 8px;
  font-size: var(--font-size-base);
  font-weight: 500;
}
.stripe-checkout__message--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
}
.stripe-checkout__message--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86EFAC;
}
.stripe-checkout__message--warning {
  background: rgba(230, 190, 105, 0.1);
  border: 1px solid rgba(230, 190, 105, 0.3);
  color: var(--gold-500);
}
.stripe-checkout__pay-btn {
  width: 100%;
  padding: var(--spacing-4);
  background: var(--primary-400);
  color: var(--rich-black);
  border: none;
  border-radius: 10px;
  font-size: var(--font-size-base);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
  letter-spacing: 0.01em;
}
.stripe-checkout__pay-btn:hover:not(:disabled) {
  background: var(--primary-500);
}
.stripe-checkout__pay-btn:active:not(:disabled) {
  transform: scale(0.99);
}
.stripe-checkout__pay-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.stripe-checkout__pay-btn--processing {
  position: relative;
  color: transparent;
}
.stripe-checkout__pay-btn--processing::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: var(--rich-black);
  border-radius: 50%;
  animation: stripe-spin 0.8s linear infinite;
}
.stripe-checkout__security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-base);
  color: var(--text-muted);
}
.stripe-checkout__security svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.6;
}

.stripe-connect-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-4);
  background: var(--gold-400, #f9d654);
  border: 1px solid var(--gold-500, #e6be69);
  border-radius: 12px;
  padding: var(--spacing-4) var(--spacing-5);
  color: #0a0a0a;
}
@media (min-width: 768px) {
  .stripe-connect-banner {
    align-items: center;
  }
}
.stripe-connect-banner__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
}
.stripe-connect-banner__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  color: #0a0a0a;
}
.stripe-connect-banner__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
  color: #0a0a0a;
}
.stripe-connect-banner__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #0a0a0a !important;
  margin: 0;
}
.stripe-connect-banner__description {
  font-size: var(--font-size-base, 1rem);
  color: #0a0a0a !important;
  opacity: 0.85;
  margin: 0;
}
.stripe-connect-banner__cta {
  flex-shrink: 0;
  margin-top: var(--spacing-3);
}
@media (min-width: 768px) {
  .stripe-connect-banner__cta {
    margin-top: 0;
  }
}
.stripe-connect-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-4);
  background: #0a0a0a;
  color: #f9d654 !important;
  border: none;
  border-radius: 8px;
  font-size: var(--font-size-base);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, opacity 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.stripe-connect-banner__btn:hover:not(:disabled) {
  background: #1a1a1a;
  color: #f9d654 !important;
}
.stripe-connect-banner__btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.stripe-connect-enabled {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3) var(--spacing-4);
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 10px;
}
.stripe-connect-enabled__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ADE80;
  flex-shrink: 0;
}
.stripe-connect-enabled__text {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #4ADE80;
}
.stripe-connect-enabled__subtext {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  margin-top: 2px;
}

.stripe-admin-controls {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  padding: var(--spacing-4) var(--spacing-5);
  background: rgba(45, 58, 58, 0.4);
  border: 1px solid rgba(59, 211, 211, 0.1);
  border-radius: 12px;
  margin-top: var(--spacing-4);
}
.stripe-admin-controls__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stripe-admin-controls__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-3);
}
.stripe-admin-controls__release-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-4);
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.stripe-admin-controls__release-btn:hover:not(:disabled) {
  background: rgba(34, 197, 94, 0.25);
}
.stripe-admin-controls__release-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.stripe-admin-controls__refund-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-4);
  background: rgba(239, 68, 68, 0.1);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.stripe-admin-controls__refund-btn:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.2);
}
.stripe-admin-controls__refund-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.stripe-admin-controls__status {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-base, 1rem);
  font-weight: 600;
  padding: 3px var(--spacing-2);
  border-radius: 20px;
}
.stripe-admin-controls__status--pending {
  background: rgba(230, 190, 105, 0.15);
  color: var(--gold-500);
}
.stripe-admin-controls__status--paid {
  background: rgba(59, 211, 211, 0.12);
  color: var(--primary-400);
}
.stripe-admin-controls__status--released {
  background: rgba(34, 197, 94, 0.12);
  color: #4ADE80;
}
.stripe-admin-controls__status--refunded {
  background: rgba(107, 114, 128, 0.15);
  color: #9CA3AF;
}
.stripe-admin-controls__status--failed {
  background: rgba(239, 68, 68, 0.12);
  color: #FCA5A5;
}

body.light-theme .stripe-checkout__fee-card {
  background: var(--bg-elevated);
  border-color: var(--border-subtle);
}
body.light-theme .stripe-checkout__element-wrapper {
  background: var(--bg-input);
  border-color: var(--border-subtle);
}
body.light-theme .stripe-checkout__element-wrapper:focus-within {
  border-color: var(--primary-500);
}
body.light-theme .stripe-checkout__message--error {
  color: #dc2626;
}
body.light-theme .stripe-checkout__message--success {
  color: #16a34a;
}
body.light-theme .stripe-admin-controls {
  background: var(--bg-elevated);
  border-color: var(--border-subtle);
}
body.light-theme .stripe-admin-controls__refund-btn {
  color: #dc2626;
}

@keyframes stripe-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 640px) {
  .stripe-checkout__element-wrapper {
    padding: var(--spacing-4);
  }
}
/**
 * Employer Wallet Component Styles
 * Filter tabs, invoice button, billing address form, expiry badges.
 */
.employer-wallet__filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2, 0.5rem);
  align-items: center;
}
.employer-wallet__filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--gradient-midnight);
  background: transparent;
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.employer-wallet__filter-btn:hover {
  border-color: var(--primary-400);
  color: var(--primary-400);
}
.employer-wallet__filter-btn.is-active {
  border-color: var(--primary-400);
  background: rgba(59, 211, 211, 0.12);
  color: var(--primary-400);
  font-weight: 600;
}
.employer-wallet__filter-btn:focus-visible {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}
.employer-wallet__row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.employer-wallet__invoice-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border: 1px solid var(--primary-400);
  border-radius: 4px;
  color: var(--primary-400);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.employer-wallet__invoice-btn:hover {
  background: var(--primary-400);
  color: var(--rich-black, #000);
}
.employer-wallet__loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: var(--font-size-base);
  padding: 24px 0;
}
.employer-wallet__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--primary-400);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
.employer-wallet__error {
  padding: 12px 16px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--error-color, #ef4444);
  font-size: var(--font-size-base);
}
.employer-wallet__billing-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4, 1rem);
}
.employer-wallet__field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.employer-wallet__label {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--text-secondary);
}
.employer-wallet__input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gradient-midnight);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary, #fcffff);
  font-size: var(--font-size-base);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.employer-wallet__input:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.15);
}
.employer-wallet__input::placeholder {
  color: var(--text-muted);
}
.employer-wallet__save-btn {
  align-self: flex-start;
  margin-top: var(--spacing-2, 0.5rem);
}

.billing-method-card__expiry-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1.4;
}
.billing-method-card__expiry-badge--expired {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.billing-method-card__expiry-badge--soon {
  background: rgba(230, 190, 105, 0.15);
  color: var(--gold-500, #e6be69);
  border: 1px solid rgba(230, 190, 105, 0.3);
}

.transaction-status.status-cancelled {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.25);
}

.billing-method-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-3);
  padding: var(--spacing-3) var(--spacing-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gradient-midnight);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}
.billing-method-card--default {
  border-color: rgba(59, 211, 211, 0.35);
  background: rgba(59, 211, 211, 0.04);
}
.billing-method-card__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  flex: 1;
  min-width: 0;
}
.billing-method-card__brand {
  font-weight: 700;
  color: var(--text-primary);
  font-size: var(--font-size-base);
  text-transform: capitalize;
}
.billing-method-card__number {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  font-family: monospace;
  letter-spacing: 0.05em;
}
.billing-method-card__expiry {
  color: var(--text-muted);
  font-size: var(--font-size-base);
}
.billing-method-card__badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(59, 211, 211, 0.12);
  color: var(--primary-400);
  border: 1px solid rgba(59, 211, 211, 0.3);
  font-size: var(--font-size-base);
  font-weight: 600;
}
.billing-method-card__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  flex-shrink: 0;
}

.billing-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.billing-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.billing-btn--primary {
  background: var(--primary-400);
  color: var(--rich-black, #000);
  border-color: var(--primary-400);
  width: 100%;
  justify-content: center;
  padding: 10px;
  margin-top: var(--spacing-3);
  border-radius: 8px;
}
.billing-btn--primary:hover:not(:disabled) {
  background: var(--primary-500);
  border-color: var(--primary-500);
}
.billing-btn--secondary {
  background: transparent;
  color: var(--primary-400);
  border-color: rgba(59, 211, 211, 0.35);
}
.billing-btn--secondary:hover:not(:disabled) {
  background: rgba(59, 211, 211, 0.1);
}
.billing-btn--danger {
  background: transparent;
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}
.billing-btn--danger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.1);
}

#stripe-add-card-area.is-open {
  margin-top: var(--spacing-4);
  padding-top: var(--spacing-4);
  border-top: 1px solid var(--gradient-midnight);
}

#stripe-setup-element-mount {
  min-height: 200px;
}

.billing-setup-message {
  margin-top: var(--spacing-3);
  padding: var(--spacing-2) var(--spacing-3);
  border-radius: 6px;
  font-size: var(--font-size-base);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

#employer-load-more-wrap {
  display: flex;
  justify-content: center;
  padding: var(--spacing-4, 1rem) 0;
}

#creator-load-more-wrap {
  display: flex;
  justify-content: center;
  padding: var(--spacing-4, 1rem) 0;
}

.creator-payout-pending {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3) var(--spacing-4);
  background: rgba(230, 190, 105, 0.08);
  border: 1px solid rgba(230, 190, 105, 0.25);
  border-radius: 10px;
}
.creator-payout-pending__icon {
  color: var(--gold-500, #e6be69);
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}
.creator-payout-pending__info {
  flex: 1;
  min-width: 0;
}
.creator-payout-pending__label {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  margin: 0 0 2px;
}
.creator-payout-pending__amount {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.creator-payout-pending__date {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  margin: 2px 0 0;
}
.creator-payout-pending__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(230, 190, 105, 0.15);
  color: var(--gold-500, #e6be69);
  border: 1px solid rgba(230, 190, 105, 0.3);
  font-size: var(--font-size-base);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

#employer-wallet-card .card-header,
#creator-wallet-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-3, 0.75rem);
}

/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme .employer-wallet__input {
  background: var(--bg-input);
  border-color: var(--border-default);
  color: var(--text-input);
}
body.light-theme .employer-wallet__input::placeholder {
  color: var(--text-muted);
}

/**
 * Avatar cropper modal — pan/zoom to fit circular profile frame
 */
.avatar-cropper-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.avatar-cropper-modal.is-open {
  opacity: 1;
  visibility: visible;
}

body.avatar-cropper-open {
  overflow: hidden;
}

.avatar-cropper-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.avatar-cropper-dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--bg-elevated, #1a2a2a);
  border: 1px solid var(--gradient-midnight, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-2xl, 16px);
  padding: var(--spacing-6);
  box-shadow: var(--shadow-lg, 0 20px 40px rgba(0, 0, 0, 0.5));
  color: var(--text-primary, #fcffff);
}

.avatar-cropper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-2);
}

.avatar-cropper-title {
  margin: 0;
  font-size: var(--font-size-xl, 1.25rem);
  font-weight: var(--font-weight-bold, 700);
}

.avatar-cropper-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary, #fcffff);
  cursor: pointer;
  transition: background 0.2s ease;
}
.avatar-cropper-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.avatar-cropper-hint {
  margin: 0 0 var(--spacing-4);
  font-size: var(--font-size-sm, 0.875rem);
  color: var(--text-secondary, rgba(252, 255, 255, 0.65));
  text-align: center;
}

.avatar-cropper-viewport {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto var(--spacing-4);
  overflow: hidden;
  border-radius: 50%;
  background: var(--rich-black, #000);
  cursor: grab;
  touch-action: none;
  border: 4px solid var(--rich-black, #000);
  box-shadow: 0 0 0 2px var(--primary-500, #3bd3d3);
}
.avatar-cropper-viewport:active {
  cursor: grabbing;
}

.avatar-cropper-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  user-select: none;
  pointer-events: none;
  max-width: none;
}

.avatar-cropper-controls {
  margin-bottom: var(--spacing-5);
}

.avatar-cropper-zoom-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  color: var(--text-secondary, rgba(252, 255, 255, 0.65));
}
.avatar-cropper-zoom-label i {
  font-size: var(--font-size-sm, 0.875rem);
  flex-shrink: 0;
}

.avatar-cropper-zoom {
  flex: 1;
  height: 4px;
  appearance: none;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  outline: none;
}
.avatar-cropper-zoom::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-500, #3bd3d3);
  cursor: pointer;
  border: 2px solid var(--rich-black, #000);
}
.avatar-cropper-zoom::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-500, #3bd3d3);
  cursor: pointer;
  border: 2px solid var(--rich-black, #000);
}

.avatar-cropper-actions {
  display: flex;
  gap: var(--spacing-3);
  justify-content: space-between;
  align-items: center;
}
.avatar-cropper-actions__end {
  display: flex;
  gap: var(--spacing-3);
}
.avatar-cropper-actions .btn {
  min-width: 100px;
}
.avatar-cropper-delete {
  color: #f97066 !important;
  border-color: rgba(249, 112, 102, 0.45) !important;
}

/**
 * Home Page Styles - Complete Layout
 * Enhanced UX/UI with clear visual hierarchy
 * Design Philosophy: Spotlight shines, provider cards stay minimal
 */
/* ========================================
   HOMEPAGE CONTAINER & LAYOUT
   ======================================== */
.dreamers-homepage {
  animation: fadeIn 0.6s ease;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
}
.dreamers-homepage * {
  box-sizing: border-box;
}

/* Comprehensive overflow prevention */
.dreamers-homepage,
.dreamers-main-content {
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

.dreamers-hero {
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
}

/* Ensure images never break layout */
.spotlight-card-media img,
.spotlight-card-media video,
.dreamers-provider-preview {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fix potential text overflow */
.spotlight-card-name,
.spotlight-card-bio,
.dreamers-provider-info h3 {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ========================================
   HERO SECTION
   ======================================== */
.dreamers-hero {
  padding: 1.5rem 0 0;
  margin-top: 1.5em;
  text-align: center;
  position: relative;
}
.dreamers-hero .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(2rem, 4vw, 4rem);
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: normal;
  word-wrap: normal;
}

/* Remove top padding from first sections on homepage */
.dreamers-hero:first-of-type,
.dreamers-how-it-works:first-of-type,
.dreamers-main-content:first-of-type {
  padding-top: 0;
  margin-top: 0;
}

.dreamers-hero-title {
  font-size: clamp(4.5rem, 6vw, 5.5rem) !important;
  font-weight: 700;
  color: var(--text-primary);
  margin: clamp(2rem, 5vw, 5rem) 0 clamp(1rem, 2vw, 1.5rem) 0 !important;
  letter-spacing: 0.05em;
  line-height: 1.2;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  word-break: normal !important;
  white-space: normal;
  max-width: 100%;
  padding: 0 clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}
.dreamers-hero-title .highlight {
  background: var(--primary-400);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  padding-right: 0.3em;
  margin-right: -0.1em;
  word-break: normal;
  white-space: nowrap;
}

.dreamers-hero-tagline {
  font-size: clamp(1.15rem, 3vw, 1.75rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin: clamp(-0.5rem, -1vw, -1rem) 0 0 0;
  letter-spacing: 0.03em;
  line-height: 1.4;
  opacity: 0.55;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
  max-width: 100%;
  padding: 0 clamp(0.5rem, 2vw, 0.5rem);
  box-sizing: border-box;
  hyphens: none;
}

/* ========================================
   HOW IT WORKS STEPS
   ======================================== */
.dreamers-steps .container {
  max-width: 100%;
  padding: 0 clamp(0.5rem, 1.5vw, 1.5rem);
}

.dreamers-steps__row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.dreamers-steps__seg {
  padding: 1.5px;
  cursor: default;
}
.dreamers-steps__seg--first {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
}
.dreamers-steps__seg--chevron {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
}

.dreamers-steps__seg-inner {
  background: color-mix(in srgb, var(--midnight-start) 35%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--midnight-end) 45%, transparent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 3rem 0.4rem 3rem;
  height: 100%;
  box-sizing: border-box;
}
.dreamers-steps__seg--chevron .dreamers-steps__seg-inner {
  padding-left: 2.25rem;
}

.dreamers-steps__num {
  font-size: var(--font-size-xl) !important;
  font-weight: 800;
  color: var(--primary-400);
  line-height: 1;
}

.dreamers-steps__label {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--primary-400);
  white-space: nowrap;
}

/* ========================================
   SIDEBAR NAVIGATION ROW LAYOUT
   ======================================== */
.dreamers-how-it-works {
  padding: 0;
}
.dreamers-how-it-works .container {
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0 clamp(0.5rem, 1.5vw, 1.5rem);
}
.dreamers-how-it-works .row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: auto;
  gap: 0;
}

/* ========================================
   MAIN CONTENT LAYOUT
   ======================================== */
.dreamers-main-content {
  padding: 1rem 0 4rem;
}
.dreamers-main-content .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 1.5vw, 1.5rem);
  width: 100%;
  box-sizing: border-box;
}

/* ========================================
   SIDEBAR NAVIGATION
   ======================================== */
.dreamers-sidebar {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.dreamers-sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 1em;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.dreamers-sidebar-nav::-webkit-scrollbar {
  display: none;
}
.dreamers-sidebar-nav li {
  margin: 0;
  flex: 0 0 auto;
  border: 2px solid color-mix(in srgb, var(--midnight-end) 45%, transparent);
  border-radius: var(--radius-lg);
  background: var(--gradient-midnight) !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.dreamers-sidebar-nav li:hover {
  border-color: var(--primary-400);
  background: rgba(59, 211, 211, 0.05);
}
.dreamers-sidebar-nav li.active {
  border-color: var(--primary-400);
  background: rgba(59, 211, 211, 0.08);
}
.dreamers-sidebar-nav a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: var(--spacing-1) var(--spacing-4);
  color: var(--brand-white) !important;
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  transition: color 0.2s ease;
  min-height: 36px;
  border-radius: inherit;
  border: 1px solid color-mix(in srgb, var(--midnight-end) 45%, transparent);
  background: color-mix(in srgb, var(--midnight-start) 35%, transparent) !important;
}
.dreamers-sidebar-nav a:hover {
  color: var(--primary-400) !important;
  background: transparent !important;
  box-shadow: none;
  transform: none;
}
.dreamers-sidebar-nav a:hover .icon {
  fill: var(--primary-400);
  filter: none;
}
.dreamers-sidebar-nav a .icon {
  width: 18px;
  height: 18px;
  fill: var(--brand-white);
  transition: fill 0.2s ease;
  flex-shrink: 0;
}
.dreamers-sidebar-nav li.active a {
  color: var(--primary-400) !important;
}
.dreamers-sidebar-nav li.active a .icon {
  fill: var(--primary-400);
}

.dreamers-become-btn {
  display: block;
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--primary);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 2px solid var(--primary);
}
.dreamers-become-btn:hover {
  background: var(--primary-500);
  border-color: var(--primary-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* ========================================
   SPOTLIGHT SECTION
   ======================================== */
.dreamers-spotlight-container {
  position: relative;
  margin: 2rem 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  z-index: 1;
}
@media (max-width: 768px) {
  .dreamers-spotlight-container {
    margin: clamp(1.5rem, 3vw, 2rem) 0;
    padding: 0;
  }
}

.dreamers-spotlight {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  z-index: 1;
}

.dreamers-spotlight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--gradient-midnight);
}

.dreamers-spotlight-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dreamers-spotlight-title-link {
  text-decoration: none;
}
.dreamers-spotlight-title-link:hover .dreamers-spotlight-title {
  color: var(--gold-400);
}

.dreamers-spotlight-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold-500);
  margin: 0;
  transition: color 0.2s ease;
}

.dreamers-spotlight-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}
.dreamers-spotlight-badge.dreamers-spotlight-badge-gold {
  background: var(--gold-400);
  color: var(--rich-black);
  font-weight: 600;
}

.dreamers-spotlight-icon {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.dreamers-spotlight-profiles {
  display: flex;
  overflow-x: auto;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: stretch;
  padding: 1rem 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-sizing: border-box;
  opacity: 1;
  visibility: visible;
}
@media (min-width: 769px) and (max-width: 1024px) {
  .dreamers-spotlight-profiles {
    gap: clamp(1rem, 2.5vw, 1.5rem);
    padding: 1.25rem 0;
    opacity: 1;
    visibility: visible;
  }
}
.dreamers-spotlight-profiles::-webkit-scrollbar {
  height: 6px;
}
.dreamers-spotlight-profiles::-webkit-scrollbar-track {
  background: var(--bg-subtle);
  border-radius: 3px;
}
.dreamers-spotlight-profiles::-webkit-scrollbar-thumb {
  background: var(--gradient-midnight);
  border-radius: 3px;
}
.dreamers-spotlight-profiles::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
@media (max-width: 768px) {
  .dreamers-spotlight-profiles {
    padding: 1rem 1rem 1rem 1rem;
    gap: clamp(0.5rem, 2vw, 1rem);
  }
  .dreamers-spotlight-profiles::-webkit-scrollbar {
    height: 4px;
  }
}
@media (max-width: 480px) {
  .dreamers-spotlight-profiles {
    gap: clamp(0.5rem, 3vw, 0.75rem);
  }
}

.spotlight-card {
  flex-shrink: 0;
  width: clamp(250px, 22vw, 300px) !important;
  height: clamp(141px, 12vw, 169px) !important;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: transparent !important;
  border: 2px solid var(--primary-400);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  box-sizing: border-box;
  opacity: 1;
  visibility: visible;
  display: block;
}
.spotlight-card:hover, .spotlight-card.is-hovered {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(59, 211, 211, 0.3);
}
.spotlight-card:hover .spotlight-card-media img,
.spotlight-card:hover .spotlight-card-media video, .spotlight-card.is-hovered .spotlight-card-media img,
.spotlight-card.is-hovered .spotlight-card-media video {
  transform: scale(1.05);
}
.spotlight-card.cover-story-card {
  width: clamp(250px, 22vw, 300px);
  height: clamp(444px, 39vw, 533px);
}
@media (max-width: 1024px) {
  .spotlight-card {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
    flex-shrink: 0;
  }
  .spotlight-card.cover-story-card {
    aspect-ratio: 9/16;
  }
}

#elite-creators-spotlight .spotlight-card {
  border: 2px solid var(--gold-400);
}
#elite-creators-spotlight .spotlight-card:hover, #elite-creators-spotlight .spotlight-card.is-hovered {
  border-color: var(--gold-500);
  transform: translateY(-6px);
}
#elite-creators-spotlight .spotlight-card:hover .spotlight-card-media img,
#elite-creators-spotlight .spotlight-card:hover .spotlight-card-media video, #elite-creators-spotlight .spotlight-card.is-hovered .spotlight-card-media img,
#elite-creators-spotlight .spotlight-card.is-hovered .spotlight-card-media video {
  transform: scale(1.05);
}

#elite-creators-spotlight .spotlight-card-info:hover {
  border-color: var(--gold-500);
}

.spotlight-card-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-subtle);
}
.spotlight-card-media video,
.spotlight-card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.spotlight-card-media video {
  z-index: 2;
}
.spotlight-card-media:empty, .spotlight-card-media:not(:has(video, img)) {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
}
.spotlight-card-media:empty::after, .spotlight-card-media:not(:has(video, img))::after {
  content: "🎬";
  font-size: 3rem;
  opacity: 0.15;
}
@media (max-width: 480px) {
  .spotlight-card-media {
    max-width: 100%;
    max-height: 100%;
  }
  .spotlight-card-media video,
  .spotlight-card-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .spotlight-card-media:empty::after, .spotlight-card-media:not(:has(video, img))::after {
    font-size: var(--font-size-lg);
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .spotlight-card-media {
    max-width: 100%;
    max-height: 100%;
  }
  .spotlight-card-media video,
  .spotlight-card-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.spotlight-card-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.spotlight-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.spotlight-card-image.active {
  opacity: 1;
}

.spotlight-card-video {
  opacity: 1;
  transition: opacity 0.3s ease-in-out, transform 0.4s ease;
  background: var(--bg-subtle);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  object-position: center;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 16/9;
}
@media (max-width: 480px) {
  .spotlight-card-video {
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
  }
}
@media (min-width: 481px) {
  .spotlight-card-video {
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .spotlight-card-video {
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16/9;
  }
}
@media (orientation: portrait) and (max-width: 768px) {
  .spotlight-card-video {
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16/9;
  }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
  .spotlight-card-video {
    image-rendering: -webkit-optimize-contrast;
  }
}
.spotlight-card-video[poster] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (hover: none) and (pointer: coarse) {
  .spotlight-card-video {
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16/9;
  }
}
.cover-story-card .spotlight-card-video {
  aspect-ratio: 9/16;
}
@media (max-width: 480px) {
  .cover-story-card .spotlight-card-video {
    aspect-ratio: 9/16;
  }
}
@media (min-width: 481px) {
  .cover-story-card .spotlight-card-video {
    aspect-ratio: 9/16;
  }
}

.spotlight-card.has-video .spotlight-card-media {
  background: var(--bg-subtle);
}
.spotlight-card.has-video .spotlight-card-media .spotlight-card-images {
  display: none !important;
}

.spotlight-card-gradient {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-subtle);
  z-index: 1;
}

.spotlight-card-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-400);
  color: var(--rich-black);
  font-size: var(--font-size-base);
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.7;
}

.spotlight-card-wrapper {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: clamp(250px, 22vw, 300px);
  min-width: 220px;
  max-width: 100%;
  box-sizing: border-box;
  border: 2px solid var(--primary-400);
  border-radius: 12px;
}
.spotlight-card-wrapper .spotlight-card-link {
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .spotlight-card-wrapper {
    width: 46vw;
    min-width: unset;
  }
  .spotlight-card-wrapper .spotlight-card-link {
    width: 100%;
    height: 100%;
    padding: 0 !important;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .spotlight-card-wrapper {
    width: 31vw;
    min-width: unset;
  }
  .spotlight-card-wrapper .spotlight-card-link {
    width: 100%;
    height: 100%;
  }
}

#elite-creators-spotlight .spotlight-card-wrapper {
  border: 2px solid var(--gold-400);
}

.spotlight-card-info {
  width: 100%;
  padding: 0.75rem 0.875rem;
  flex: 1;
  min-height: 120px;
  background: var(--bg);
  border-top: none;
  border-radius: 0 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
}

.spotlight-card-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.spotlight-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-alpha-15);
  flex-shrink: 0;
}

.spotlight-card-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 2px solid var(--primary-alpha-15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.spotlight-card-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  line-height: 1.3;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

h3.spotlight-card-name {
  font-size: var(--font-size-base) !important;
  line-height: 1.3;
  margin: 0;
}

.spotlight-card-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--font-size-base);
  color: var(--text-muted);
  flex-shrink: 0;
}
.spotlight-card-rating .star-icon {
  color: #FFB800;
  margin-right: 0.125rem;
}
.spotlight-card-rating .rating-value {
  font-weight: 600;
  color: var(--text);
}
.spotlight-card-rating .review-count {
  color: var(--text-muted);
}

.spotlight-card-bio {
  font-size: var(--font-size-base);
  line-height: 1.4;
  margin: 0;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.spotlight-card-price {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--primary-400);
  white-space: nowrap;
  flex-shrink: 0;
}

.spotlight-card-badges {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.spotlight-badge svg {
  fill: currentColor;
  flex-shrink: 0;
}
.spotlight-badge.verified {
  background: var(--primary);
  color: white;
}
.spotlight-badge.demo {
  background: var(--warning-color);
  color: white;
}

.spotlight-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
}
.spotlight-card-link .spotlight-card {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}
.spotlight-card-link .spotlight-card .spotlight-card-media {
  width: 100%;
  height: 100%;
}
.spotlight-card-link .spotlight-card .spotlight-card-media .spotlight-card-video {
  width: 100%;
  height: 100%;
}
@media (max-width: 480px) {
  .spotlight-card-link {
    width: 100%;
    height: auto;
    min-height: 0;
  }
  .spotlight-card-link .spotlight-card {
    width: 100%;
    height: auto;
  }
  .spotlight-card-link .spotlight-card .spotlight-card-media {
    width: 100%;
    height: 100%;
  }
  .spotlight-card-link .spotlight-card .spotlight-card-media .spotlight-card-video {
    width: 100%;
    height: 100%;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .spotlight-card-link {
    width: 100%;
    height: auto;
    min-height: 0;
  }
  .spotlight-card-link .spotlight-card {
    width: 100%;
    height: auto;
  }
  .spotlight-card-link .spotlight-card .spotlight-card-media {
    width: 100%;
    height: 100%;
  }
  .spotlight-card-link .spotlight-card .spotlight-card-media .spotlight-card-video {
    width: 100%;
    height: 100%;
  }
}

.spotlight-card-placeholder {
  border: 2px solid var(--primary-400);
  opacity: 0.8;
}
.spotlight-card-placeholder:hover {
  opacity: 1;
  border-color: var(--primary);
}

/* ========================================
   CATEGORY SECTIONS - NETFLIX STYLE
   Multiple horizontal scrolling rows
   ======================================== */
.dreamers-category-sections {
  margin: 3rem 0;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.dreamers-category-row {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 3rem;
  scroll-margin-top: 100px;
}
.dreamers-category-row:last-child {
  margin-bottom: 0;
}

.category-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gradient-midnight);
}

.category-row-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.category-row-title-link {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  cursor: pointer;
}
.category-row-title-link:hover {
  opacity: 0.7;
}
.category-row-title-link:hover .category-row-title {
  color: var(--primary-400);
}

.category-row-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.category-row-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--brand-white) !important;
  padding: 0.2rem 0.65rem;
  border-radius: 5px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.category-row-badge.category-row-badge-gold {
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.category-row-icon {
  width: 22px;
  height: 22px;
  fill: var(--primary-400);
  flex-shrink: 0;
  margin-right: 0.5rem;
  display: inline-block;
  vertical-align: middle;
}
.category-row-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.category-row-icon svg * {
  fill: var(--primary-400) !important;
}

.category-row-cards {
  display: flex;
  overflow-x: auto;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: stretch;
  padding: 1rem 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.category-row-cards::-webkit-scrollbar {
  height: 6px;
}
.category-row-cards::-webkit-scrollbar-track {
  background: var(--bg-subtle);
  border-radius: 3px;
}
.category-row-cards::-webkit-scrollbar-thumb {
  background: var(--gradient-midnight);
  border-radius: 3px;
}
.category-row-cards::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
@media (max-width: 768px) {
  .category-row-cards::-webkit-scrollbar {
    height: 4px;
  }
}

.category-empty-state {
  padding: 60px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-base);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  margin: 20px 0;
  width: 100%;
}
.category-empty-state p {
  margin: 0;
}
@media (max-width: 768px) {
  .category-empty-state {
    padding: 40px 15px;
    font-size: var(--font-size-base);
  }
}

/* ========================================
   PROVIDER CARDS GRID - MINIMAL DESIGN
   Design: Understated to let Spotlight shine
   ======================================== */
.dreamers-providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gradient-midnight);
  max-width: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .dreamers-providers-grid {
    grid-template-columns: 1fr;
  }
}

.dreamers-provider-card {
  border: 1px solid var(--gradient-midnight);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: clamp(260px, 28vw, 320px);
  min-height: 260px;
  box-shadow: var(--shadow-xs);
  position: relative;
  z-index: 2;
  max-width: 100%;
  box-sizing: border-box;
}
.dreamers-provider-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-alpha-15);
  box-shadow: var(--shadow-sm);
  z-index: 3;
}
.dreamers-provider-card:hover .dreamers-provider-preview {
  opacity: 1;
}
.dreamers-provider-card:hover .dreamers-view-profile-btn {
  background: var(--primary);
  color: white;
}

.dreamers-provider-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--gradient-midnight);
}

.dreamers-provider-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-alpha-15);
}

.dreamers-provider-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent !important;
  border: 2px solid var(--primary-alpha-15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-tertiary);
}

.dreamers-provider-info {
  flex: 1;
  min-width: 0;
}
.dreamers-provider-info h3 {
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dreamers-provider-preview {
  flex: 1;
  width: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.dreamers-provider-preview-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: var(--font-size-base);
}

.dreamers-view-profile-btn {
  display: block;
  width: 100%;
  padding: 0.875rem 1rem;
  background: transparent;
  color: var(--text-secondary);
  text-align: center;
  text-decoration: none;
  border-top: 1px solid var(--gradient-midnight);
  font-weight: 500;
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
}
.dreamers-view-profile-btn:hover {
  background: var(--primary);
  color: white;
}

.dreamers-no-providers {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (min-width: 1600px) {
  .dreamers-providers-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  .spotlight-card {
    width: clamp(320px, 28vw, 360px) !important;
    height: clamp(180px, 16vw, 203px) !important;
  }
  .spotlight-card.cover-story-card {
    width: clamp(320px, 28vw, 360px);
    height: clamp(569px, 50vw, 640px);
  }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  .dreamers-providers-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .spotlight-card {
    width: clamp(300px, 30vw, 340px);
    height: clamp(169px, 17vw, 191px);
  }
  .spotlight-card.cover-story-card {
    width: clamp(300px, 30vw, 340px);
    height: clamp(533px, 53vw, 604px);
  }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .dreamers-sidebar-nav {
    flex-wrap: wrap;
  }
  .dreamers-main-content .row {
    grid-template-columns: 1fr 2.5fr;
    gap: 1.75rem;
  }
  .dreamers-providers-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
  }
  .spotlight-card {
    width: clamp(280px, 35vw, 320px);
    height: clamp(158px, 20vw, 180px);
  }
  .spotlight-card.cover-story-card {
    width: clamp(280px, 35vw, 320px);
    height: clamp(498px, 62vw, 569px);
  }
}
@media (min-width: 1025px) and (max-width: 1440px) {
  .dreamers-sidebar {
    width: 100%;
    max-width: 100%;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .dreamers-sidebar {
    width: 100%;
    max-width: 100%;
  }
  .spotlight-card {
    width: clamp(280px, 35vw, 320px) !important;
    height: clamp(158px, 20vw, 180px) !important;
    min-width: 280px;
    min-height: 158px;
    flex-shrink: 0;
    opacity: 1;
    visibility: visible;
  }
  .spotlight-card.cover-story-card {
    width: clamp(280px, 35vw, 320px);
    height: clamp(498px, 62vw, 569px);
    min-height: 498px;
  }
  .spotlight-card-wrapper {
    width: clamp(280px, 35vw, 320px);
    min-width: 280px;
  }
  .spotlight-card-wrapper .spotlight-card-link {
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: visible;
  }
  .spotlight-card-media {
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: visible;
  }
  .spotlight-card-media .spotlight-card-video {
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 768px) {
  .dreamers-hero {
    padding: clamp(1rem, 3vw, 1.5rem) 0 clamp(0.75rem, 2vw, 1rem);
  }
  .dreamers-hero .container {
    padding: 0 clamp(0.75rem, 2vw, 1rem);
  }
  .dreamers-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
    letter-spacing: 0.05em;
    margin: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(0.75rem, 2vw, 1rem) 0 !important;
    padding: 0 clamp(0.75rem, 2vw, 1rem);
    line-height: 1.15;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
  .dreamers-hero-tagline {
    font-size: clamp(1.15rem, 4vw, 1.5rem);
    margin-top: clamp(-0.5rem, -1vw, -0.75rem);
  }
  .dreamers-how-it-works .container {
    padding: 0 clamp(0.75rem, 2vw, 1rem);
  }
  .dreamers-how-it-works .row {
    flex-wrap: wrap;
    gap: 0;
  }
  .dreamers-main-content {
    padding: 0;
  }
  .dreamers-main-content .container {
    padding: 1%;
  }
  .dreamers-sidebar {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .dreamers-sidebar-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: var(--spacing-1) var(--spacing-2) !important;
    overflow-x: visible;
    margin-top: 1em;
  }
  .dreamers-sidebar-nav li {
    flex: 0 0 calc(33.333% - 0.5rem);
    max-width: calc(33.333% - 0.5rem);
    background: rgba(255, 255, 255, 0.03);
  }
  .dreamers-sidebar-nav a {
    padding: 1.25rem 0.5rem;
    font-size: 0.7em;
    min-height: 40px !important;
  }
  .dreamers-sidebar-nav a .icon {
    width: 16px;
    height: 16px;
    margin-bottom: 0.25rem;
  }
  .dreamers-spotlight-container {
    margin: clamp(1.5rem, 3vw, 2rem) 0;
  }
  .dreamers-spotlight {
    padding: 0;
  }
  .dreamers-spotlight-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 clamp(0.75rem, 2vw, 1rem);
  }
  .dreamers-spotlight-title {
    font-size: clamp(1.35rem, 3vw, 1.5rem);
  }
  .dreamers-spotlight-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
  }
  .dreamers-spotlight-profiles {
    width: auto;
    gap: clamp(0.75rem, 2vw, 1rem);
    padding-left: clamp(0.75rem, 2vw, 1rem);
    padding-right: clamp(0.75rem, 2vw, 1rem);
    margin-left: clamp(-0.75rem, -2vw, -1rem);
    margin-right: clamp(-0.75rem, -2vw, -1rem);
    -webkit-overflow-scrolling: touch;
  }
  .dreamers-spotlight-profiles .spotlight-card-wrapper {
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  .spotlight-card {
    width: clamp(260px, 50vw, 300px);
    min-width: 260px;
    height: clamp(170px, 32vw, 190px);
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  .spotlight-card.cover-story-card {
    width: clamp(260px, 50vw, 300px);
    min-width: 260px;
    height: clamp(490px, 94vw, 560px);
  }
}
@media (max-width: 768px) and (max-width: 480px) {
  .spotlight-card {
    width: clamp(280px, 75vw, 320px);
    min-width: 280px;
    height: clamp(180px, 48vw, 200px);
  }
  .spotlight-card.cover-story-card {
    width: clamp(280px, 75vw, 320px);
    min-width: 280px;
    height: clamp(520px, 139vw, 600px);
  }
}
@media (max-width: 768px) {
  .spotlight-card-name {
    font-size: var(--font-size-base);
  }
  h3.spotlight-card-name {
    font-size: var(--font-size-base) !important;
    line-height: 1.3;
  }
  .spotlight-card-bio {
    font-size: var(--font-size-base);
  }
  .dreamers-category-sections {
    margin: 2rem 0;
  }
  .dreamers-category-row {
    margin-bottom: 2.5rem;
    scroll-margin-top: 80px;
  }
  .category-row-header {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }
  .category-row-title {
    font-size: var(--font-size-lg);
  }
  .category-row-badge {
    font-size: var(--font-size-base);
  }
  .category-row-icon {
    width: 20px;
    height: 20px;
  }
  .category-row-cards {
    display: flex;
    overflow-x: auto;
    gap: clamp(0.75rem, 2vw, 1rem);
    padding-left: clamp(0.75rem, 2vw, 1rem);
    padding-right: clamp(0.75rem, 2vw, 1rem);
    margin-left: clamp(-0.75rem, -2vw, -1rem);
    margin-right: clamp(-0.75rem, -2vw, -1rem);
    -webkit-overflow-scrolling: touch;
  }
  .category-row-cards .spotlight-card-wrapper {
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  .dreamers-providers-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(0.875rem, 2vw, 1rem);
    margin-top: 2rem;
    padding-top: 2rem;
  }
  .dreamers-provider-card {
    height: clamp(300px, 40vw, 340px);
    min-height: 280px;
  }
}
@media (min-width: 481px) and (max-width: 640px) {
  .dreamers-sidebar {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .dreamers-hero {
    padding: clamp(1rem, 3vw, 1.5rem) 0 clamp(0.75rem, 2vw, 1rem);
  }
  .dreamers-hero .container {
    padding: 0 clamp(0.875rem, 2.5vw, 1rem);
  }
  .dreamers-hero-title {
    font-size: clamp(2rem, 7vw, 3rem) !important;
    letter-spacing: 0.05em;
    margin: clamp(1.25rem, 4vw, 2rem) 0 clamp(0.75rem, 2vw, 1rem) 0 !important;
    padding: 0 clamp(0.5rem, 2vw, 0.875rem);
    line-height: 1.15;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
  .dreamers-hero-tagline {
    font-size: clamp(1.15rem, 4vw, 1.35rem);
    margin-top: clamp(-0.5rem, -1vw, -0.75rem);
    padding: 0 clamp(0.5rem, 2vw, 0.75rem);
  }
  .dreamers-how-it-works .container {
    padding: 0 clamp(0.875rem, 2.5vw, 1rem);
  }
  .dreamers-how-it-works .row {
    gap: clamp(1.25rem, 3vw, 1.5rem);
  }
  .dreamers-main-content .container {
    padding: 1%;
  }
  .dreamers-sidebar {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .dreamers-become-btn {
    padding: clamp(0.65rem, 1.8vw, 0.75rem) clamp(0.875rem, 2vw, 1rem);
    font-size: var(--font-size-base);
  }
  .dreamers-spotlight-container {
    margin: clamp(1.25rem, 3vw, 1.5rem) 0;
  }
  .dreamers-spotlight {
    padding: 0;
  }
  .dreamers-spotlight-title {
    font-size: var(--font-size-lg);
  }
  .dreamers-spotlight-badge {
    font-size: var(--font-size-base);
    padding: clamp(0.15rem, 0.5vw, 0.2rem) clamp(0.4rem, 1vw, 0.5rem);
  }
  .dreamers-spotlight-profiles {
    padding-top: clamp(0.875rem, 2vw, 1rem);
    padding-bottom: clamp(0.875rem, 2vw, 1rem);
  }
  .spotlight-card {
    min-width: unset;
    max-width: unset;
    min-height: unset;
  }
  .spotlight-card.cover-story-card {
    min-width: unset;
    max-width: unset;
    min-height: unset;
  }
  .spotlight-card-info {
    padding: clamp(0.875rem, 2.5vw, 1rem);
    min-height: 120px;
  }
  .dreamers-category-sections {
    margin: clamp(1.25rem, 3vw, 1.5rem) 0;
  }
  .dreamers-category-row {
    margin-bottom: clamp(1.75rem, 4vw, 2rem);
    scroll-margin-top: 70px;
  }
  .category-row-title {
    font-size: var(--font-size-lg);
  }
  .category-row-badge {
    font-size: var(--font-size-base);
    padding: clamp(0.15rem, 0.5vw, 0.18rem) clamp(0.4rem, 1vw, 0.5rem);
  }
  .category-row-icon {
    width: 18px;
    height: 18px;
  }
  .category-row-cards .spotlight-card-wrapper {
    min-width: unset;
  }
  .dreamers-providers-grid {
    grid-template-columns: 1fr;
    gap: clamp(0.875rem, 2vw, 1rem);
    margin-top: clamp(1.25rem, 3vw, 1.5rem);
    padding-top: clamp(1.25rem, 3vw, 1.5rem);
    width: 100%;
  }
  .dreamers-provider-card {
    height: clamp(240px, 60vw, 300px);
    max-width: 100%;
    width: 100%;
    min-height: 240px;
  }
  .dreamers-provider-header {
    padding: clamp(0.875rem, 2vw, 1rem);
  }
  .dreamers-provider-avatar,
  .dreamers-provider-avatar-placeholder {
    width: clamp(38px, 10vw, 42px);
    height: clamp(38px, 10vw, 42px);
  }
  .dreamers-provider-info h3 {
    font-size: var(--font-size-base);
  }
  .dreamers-view-profile-btn {
    padding: clamp(0.65rem, 1.8vw, 0.75rem) clamp(0.75rem, 2vw, 0.875rem);
    font-size: var(--font-size-base);
  }
}
@media (min-width: 320px) and (max-width: 360px) {
  .dreamers-sidebar {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
}
@media (max-width: 319px) {
  .dreamers-hero {
    padding: clamp(0.75rem, 3vw, 1.5rem) 0 clamp(0.5rem, 2vw, 1rem);
  }
  .dreamers-hero-title {
    font-size: var(--font-size-lg) !important;
    letter-spacing: 0.05em;
    margin: clamp(1rem, 4vw, 1.5rem) 0 clamp(0.5rem, 2vw, 0.75rem) 0 !important;
    padding: 0 0.5rem;
    line-height: 1.15;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
  .dreamers-hero-tagline {
    font-size: var(--font-size-base);
    margin-top: -0.5rem;
    padding: 0 0.5rem;
  }
  .dreamers-main-content {
    padding: 1rem 0 2rem;
  }
  .dreamers-main-content .container {
    padding: 0 0.75rem;
  }
  .dreamers-sidebar {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .dreamers-become-btn {
    padding: 0.65rem 0.75rem;
    font-size: var(--font-size-base);
  }
  .dreamers-spotlight {
    padding: 0;
  }
  .dreamers-spotlight-title {
    font-size: var(--font-size-base);
  }
  .spotlight-card {
    min-height: unset;
    max-width: unset;
    margin: 0;
  }
  .spotlight-card.cover-story-card {
    min-height: unset;
  }
  .dreamers-spotlight-profiles,
  .category-row-cards {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .spotlight-card-info {
    padding: 0.75rem;
    min-height: 120px;
  }
  .spotlight-card-name {
    font-size: var(--font-size-base);
  }
  h3.spotlight-card-name {
    font-size: var(--font-size-base) !important;
    line-height: 1.3;
  }
  .spotlight-card-bio {
    font-size: var(--font-size-base);
  }
  .spotlight-card-price {
    font-size: var(--font-size-base);
  }
  .dreamers-providers-grid {
    gap: 0.75rem;
  }
  .dreamers-provider-card {
    height: clamp(220px, 65vw, 260px);
    min-height: 220px;
  }
  .dreamers-provider-header {
    padding: 0.75rem;
  }
  .dreamers-provider-avatar,
  .dreamers-provider-avatar-placeholder {
    width: 36px;
    height: 36px;
  }
}
@media (min-width: 2560px) {
  .dreamers-hero {
    padding: 2rem 0 1.5rem;
  }
  .dreamers-hero-title {
    font-size: var(--font-size-xl) !important;
    letter-spacing: 0.05em;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .dreamers-main-content .container {
    max-width: 2400px;
  }
  .dreamers-spotlight {
    max-width: 2400px;
    margin: 0 auto;
  }
  .spotlight-card {
    width: 400px;
    height: 225px;
    max-width: 400px;
  }
  .spotlight-card.cover-story-card {
    width: 400px;
    height: 711px;
    max-width: 400px;
  }
  .spotlight-card-name {
    font-size: var(--font-size-base);
  }
  h3.spotlight-card-name {
    font-size: var(--font-size-base) !important;
    line-height: 1.3;
  }
  .spotlight-card-bio {
    font-size: var(--font-size-base);
  }
  .dreamers-providers-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    max-width: 2400px;
    margin-left: auto;
    margin-right: auto;
    gap: 2rem;
  }
  .dreamers-provider-card {
    height: 400px;
    max-height: 400px;
  }
  .dreamers-sidebar {
    width: 100%;
    max-width: 100%;
  }
}
@media (min-width: 1921px) and (max-width: 2560px) {
  .dreamers-sidebar {
    width: 100%;
    max-width: 100%;
  }
}
@media (min-width: 1441px) and (max-width: 1920px) {
  .dreamers-sidebar {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 899px) {
  .dreamers-become-btn {
    min-height: 44px;
  }
}
/* ========================================
   CATEGORY PAGE STYLES
   ======================================== */
.dreamers-category-page {
  animation: fadeIn 0.6s ease;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
}
.dreamers-category-page * {
  box-sizing: border-box;
}
.dreamers-category-page .dreamers-hero .dreamers-hero-title .highlight {
  background: var(--primary-400);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  padding-right: 0.3em;
  margin-right: -0.1em;
  word-break: normal;
  white-space: nowrap;
}
.dreamers-category-page #elite-creators-spotlight {
  margin: 3rem 0 4rem;
  padding: 2.5rem 0;
}
.dreamers-category-page #elite-creators-spotlight .dreamers-spotlight {
  background: transparent;
  box-shadow: none;
}
.dreamers-category-page #elite-creators-spotlight .dreamers-spotlight-header .dreamers-spotlight-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 768px) {
  .dreamers-category-page #elite-creators-spotlight {
    margin: 0;
    padding: 0;
  }
}
.dreamers-category-page .elite-creators-empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-secondary);
}
.dreamers-category-page .elite-creators-empty-state p {
  font-size: var(--font-size-base);
  margin: 0;
  opacity: 0.7;
}
@media (max-width: 768px) {
  .dreamers-category-page #elite-creators-spotlight .dreamers-spotlight-profiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: unset;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    gap: 0.75rem;
  }
  .dreamers-category-page #elite-creators-spotlight .dreamers-spotlight-profiles .spotlight-card-wrapper {
    width: 100%;
    min-width: unset;
    flex-shrink: unset;
    scroll-snap-align: unset;
  }
}

/* All Creators Section */
.dreamers-category-all-creators {
  margin-top: 4rem;
  padding: 2rem 0;
}
@media (max-width: 768px) {
  .dreamers-category-all-creators {
    margin-top: 0;
    padding: 0;
  }
}

.category-all-header {
  margin-bottom: 2rem;
}
.category-all-header .category-all-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.category-all-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}
@media (max-width: 768px) {
  .category-all-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }
}
@media (max-width: 480px) {
  .category-all-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}
.category-all-grid .spotlight-card-wrapper {
  width: 100%;
}

.category-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}
.category-empty-state p {
  font-size: var(--font-size-base);
  margin: 0;
}

/* Elite Creators Page */
.dreamers-elite-page .spotlight-card-wrapper,
.dreamers-elite-page .spotlight-card {
  border-color: var(--gold-400);
}

.dreamers-elite-page .elite-star-icon {
  color: var(--gold-500);
  vertical-align: middle;
  margin-right: 0.4rem;
  margin-bottom: 0.15em;
}
.dreamers-elite-page .elite-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-alpha-20);
  color: var(--gold-500);
  border: 1px solid var(--gold-alpha-30);
  border-radius: 999px;
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: 600;
  padding: 0.1em 0.6em;
  margin-left: 0.6rem;
  vertical-align: middle;
}
.dreamers-elite-page .elite-creators-empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-secondary);
}
.dreamers-elite-page .elite-creators-empty-state svg {
  color: var(--gold-alpha-30);
  margin-bottom: 1rem;
}
.dreamers-elite-page .elite-creators-empty-state p {
  font-size: var(--font-size-base);
  margin: 0;
  opacity: 0.7;
}

/* ========================================
   LIGHT THEME OVERRIDES
   ======================================== */
body.light-theme .dreamers-homepage,
body.light-theme .dreamers-hero,
body.light-theme .dreamers-main-content {
  background-color: var(--bg-page);
}
body.light-theme .dreamers-steps__seg-inner {
  background: var(--bg-elevated) !important;
  border-color: var(--border-subtle);
}
body.light-theme .dreamers-steps__label {
  color: var(--text-secondary);
}
body.light-theme .dreamers-steps__num {
  color: var(--primary-400);
}
body.light-theme .dreamers-sidebar-nav a {
  background: var(--bg-elevated) !important;
  border-color: var(--border-subtle);
  color: var(--text-primary) !important;
}
body.light-theme .dreamers-sidebar-nav a .icon {
  fill: var(--text-secondary);
}
body.light-theme .dreamers-sidebar-nav a:hover {
  background: transparent !important;
  color: var(--primary-500) !important;
}
body.light-theme .dreamers-sidebar-nav a:hover .icon {
  fill: var(--primary-500);
}
body.light-theme .dreamers-sidebar-nav li.active a {
  color: var(--primary-500) !important;
  background: var(--bg-active) !important;
}
body.light-theme .dreamers-sidebar-nav li.active a .icon {
  fill: var(--primary-500);
}
@media (max-width: 768px) {
  body.light-theme .dreamers-sidebar-nav li {
    background: var(--bg-elevated);
  }
}
body.light-theme .dreamers-spotlight-header {
  border-bottom-color: var(--border-subtle);
}
body.light-theme .spotlight-card-info {
  background: var(--bg-card);
}
body.light-theme .spotlight-card-wrapper {
  background: var(--bg-card);
}
body.light-theme .category-row-header {
  border-bottom-color: var(--border-subtle);
}
body.light-theme .dreamers-providers-grid {
  border-top-color: var(--border-subtle);
}
body.light-theme .dreamers-provider-card {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
body.light-theme .dreamers-provider-header {
  border-bottom-color: var(--border-subtle);
}
body.light-theme .dreamers-view-profile-btn {
  border-top-color: var(--border-subtle);
  color: var(--text-secondary);
}
body.light-theme .category-empty-state {
  color: var(--text-secondary);
  background: var(--bg-elevated);
}
body.light-theme .dreamers-spotlight-header {
  border-bottom-color: var(--border-subtle);
}

/**
 * Provider Profile Page Styles
 * New design with hero video, modern layout, and portfolio grid
 */
/* Global skill tag styles - applies to all skill tags across the site */
.provider-skills .skill-tag,
.creator-skills .skill-tag,
.skills .skill-tag,
.profile-skills .skill-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-midnight);
  border: 2px solid var(--midnight-end);
  color: var(--brand-white) !important;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  text-transform: capitalize;
  white-space: nowrap;
}
.provider-skills .skill-tag:hover,
.creator-skills .skill-tag:hover,
.skills .skill-tag:hover,
.profile-skills .skill-tag:hover {
  background: linear-gradient(180deg, var(--midnight-end) 0%, color-mix(in srgb, var(--midnight-end) 82%, var(--text-white)) 100%);
  border-color: color-mix(in srgb, var(--midnight-end) 75%, var(--text-white));
  transform: translateY(-1px);
}

.dreamers-provider-profile-new {
  --provider-profile-gutter: 2rem;
  padding: 0;
  background: var(--rich-black, #000);
  color: var(--brand-white, #fcffff);
  min-height: 100vh;
  position: relative;
  z-index: 1;
  overflow-x: clip;
}
.dreamers-provider-profile-new .container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--provider-profile-gutter);
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

/* Banner/Hero Section */
.provider-hero-banner {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 800px;
  overflow: visible;
  /* Allow avatar to overlap */
  background: var(--rich-black, #000);
  margin-bottom: 5em;
  /* Increased to accommodate overlapping avatar */
}
@media (max-width: 1440px) {
  .provider-hero-banner {
    height: 55vh;
    margin-bottom: 4em;
  }
}
@media (max-width: 1280px) {
  .provider-hero-banner {
    height: 48vh;
    min-height: 320px;
    margin-bottom: 3.5em;
  }
}
@media (max-width: 768px) {
  .provider-hero-banner {
    margin-bottom: 110px;
  }
}
.provider-hero-banner.provider-hero-placeholder {
  min-height: 350px;
  height: 50vh;
  max-height: 600px;
}
@media (max-width: 1440px) {
  .provider-hero-banner.provider-hero-placeholder {
    height: 44vh;
    min-height: 300px;
  }
}
@media (max-width: 1280px) {
  .provider-hero-banner.provider-hero-placeholder {
    height: 38vh;
    min-height: 260px;
  }
}
@media (max-width: 768px) {
  .provider-hero-banner.provider-hero-placeholder {
    min-height: 280px;
    height: 40vh;
  }
}

.provider-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* Ensure image container clips content */
}
.provider-banner-image .banner-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

.provider-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* Ensure video container clips content */
}
.provider-hero-video .hero-video-player {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  background: rgba(0, 0, 0, 0.2);
}
.provider-hero-video .hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

/* Remove top padding from first sections on provider pages */
.provider-hero-banner:first-of-type,
.provider-info:first-of-type {
  padding-top: 0;
  margin-top: 0;
}

.provider-banner-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.provider-banner-placeholder .placeholder-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 211, 211, 0.15) 0%, rgba(45, 58, 58, 0.8) 50%, rgba(0, 0, 0, 0.95) 100%);
  position: relative;
}
.provider-banner-placeholder .placeholder-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(59, 211, 211, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(59, 211, 211, 0.08) 0%, transparent 50%), radial-gradient(circle at 40% 20%, rgba(59, 211, 211, 0.05) 0%, transparent 50%);
  opacity: 0.6;
}
.provider-banner-placeholder .placeholder-gradient::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(59, 211, 211, 0.03) 60px, rgba(59, 211, 211, 0.03) 120px);
}

/* Layout Structure */
.dreamers-provider-profile-new .provider-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4.2fr) minmax(0, 2.8fr);
  gap: 2rem;
  position: relative;
  padding-top: 2.5em;
  margin-top: 0;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1440px) {
  .dreamers-provider-profile-new .provider-profile-layout {
    gap: 1.5rem;
  }
}
@media (max-width: 1280px) {
  .dreamers-provider-profile-new .provider-profile-layout {
    gap: 1.25rem;
  }
}
@media (max-width: 1100px) {
  .dreamers-provider-profile-new .provider-profile-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(240px, 0.95fr);
    gap: 1rem;
  }
}
@media (max-width: 900px) {
  .dreamers-provider-profile-new .provider-profile-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 0;
  }
}
@media (max-width: 768px) {
  .dreamers-provider-profile-new .provider-profile-layout {
    padding-top: 0;
  }
}
.dreamers-provider-profile-new .provider-profile-layout > .provider-avatar-column,
.dreamers-provider-profile-new .provider-profile-layout > .provider-bio-column,
.dreamers-provider-profile-new .provider-profile-layout > .provider-sidebar-column {
  align-self: start;
  padding-top: 0;
  min-width: 0;
}
.dreamers-provider-profile-new {
  /* Main column: spans first two grid columns, holds avatar + info side-by-side */
}
.dreamers-provider-profile-new .provider-main-column {
  grid-column: span 2;
  padding-top: 0.5rem;
}
@media (max-width: 900px) {
  .dreamers-provider-profile-new .provider-main-column {
    grid-column: span 1;
    order: 1;
  }
}
.dreamers-provider-profile-new .provider-header-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.dreamers-provider-profile-new .provider-real-name {
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--text-secondary);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.dreamers-provider-profile-new {
  /* First Column: Creator Name Display */
}
.dreamers-provider-profile-new .provider-avatar-column {
  position: relative;
  padding-top: 0;
}
@media (max-width: 900px) {
  .dreamers-provider-profile-new .provider-avatar-column {
    order: 1;
  }
}
.dreamers-provider-profile-new {
  /* Creator large name card */
}
.dreamers-provider-profile-new .provider-name-display {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dreamers-provider-profile-new .provider-name-large {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  font-family: var(--font-family-logo);
  margin: 0;
  color: var(--brand-white, #fcffff);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  word-break: break-word;
}
.dreamers-provider-profile-new .provider-name-display .provider-username {
  font-family: var(--font-family-logo);
  font-weight: 500;
  color: rgba(252, 255, 255, 0.6);
  margin: 0;
  letter-spacing: 0.01em;
}
.dreamers-provider-profile-new .provider-name-display .preview-username {
  font-size: var(--font-size-xl, 1.25rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--brand-white, #fcffff);
  opacity: 1;
}
.dreamers-provider-profile-new .provider-name-tagline {
  font-size: var(--font-size-base);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(252, 255, 255, 0.5);
  margin: 0;
  text-transform: uppercase;
  line-height: 1.5;
}
.dreamers-provider-profile-new {
  /* Second Column: Bio Content */
}
.dreamers-provider-profile-new .provider-bio-column {
  position: relative;
}
@media (max-width: 900px) {
  .dreamers-provider-profile-new .provider-bio-column {
    order: 2;
    margin-left: 0;
  }
}
.dreamers-provider-profile-new {
  /* Third Column: Sidebar */
}
.dreamers-provider-profile-new .provider-sidebar-column {
  position: relative;
  min-width: 0;
  border: 1px solid var(--gradient-midnight);
  padding: 0 1em 1em;
  border-radius: var(--radius-lg);
}
@media (max-width: 900px) {
  .dreamers-provider-profile-new .provider-sidebar-column {
    order: 3;
  }
}

/* Avatar positioned to overlap banner by half */
.provider-avatar-wrapper {
  position: absolute;
  bottom: 0;
  left: max(var(--provider-profile-gutter), (100vw - 1500px) / 2 + var(--provider-profile-gutter));
  transform: translateY(50%);
  /* Align with the profile grid gutter and move down by half its height */
  width: 180px;
  height: 180px;
  z-index: 10;
}
@media (max-width: 768px) {
  .provider-avatar-wrapper {
    width: 140px;
    height: 140px;
    left: 50%;
    transform: translate(-50%, 50%);
  }
}
.provider-avatar-wrapper .provider-avatar,
.provider-avatar-wrapper .provider-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--rich-black, #000);
  object-fit: cover;
  background: linear-gradient(135deg, rgba(59, 211, 211, 0.3) 0%, rgba(45, 58, 58, 0.8) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-3xl);
  font-weight: 300;
  color: var(--brand-white, #fcffff);
}
@media (max-width: 768px) {
  .provider-avatar-wrapper .provider-avatar,
  .provider-avatar-wrapper .provider-avatar-placeholder {
    font-size: var(--font-size-2xl);
  }
}
.provider-avatar-wrapper .verified-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 32px;
  height: 32px;
  background: var(--primary-400, #0BF9EA);
  color: var(--brand-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border: 3px solid var(--rich-black, #000);
  font-size: var(--font-size-base);
}

/* Provider Info Section */
.dreamers-provider-profile-new .provider-info-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dreamers-provider-profile-new .provider-info-section .provider-username {
  font-size: var(--font-size-lg);
  font-weight: 500;
  font-family: var(--font-family-sans);
  margin: 0;
  color: var(--brand-white, #fcffff);
  letter-spacing: 0.01em;
}
.dreamers-provider-profile-new .provider-info-section .provider-bio {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--brand-white) !important;
  margin: 0;
  position: relative;
}
.dreamers-provider-profile-new .provider-info-section .provider-bio p {
  margin: 0 0 0.75rem 0;
}
.dreamers-provider-profile-new .provider-info-section .provider-bio p:last-child {
  margin-bottom: 0;
}
.dreamers-provider-profile-new .provider-info-section .preview-bio-toggle {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.dreamers-provider-profile-new .provider-info-section {
  /* Skill tabs — category-filter style */
}
.dreamers-provider-profile-new .provider-info-section .provider-skill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid rgba(252, 255, 255, 0.12);
  padding-bottom: 0;
  margin-top: 0.5rem;
}
.dreamers-provider-profile-new .provider-info-section .provider-skill-tabs .skill-tab {
  padding: 0.65rem 1.25rem;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: rgba(252, 255, 255, 0.65);
  cursor: default;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.dreamers-provider-profile-new .provider-info-section .provider-skill-tabs .skill-tab:first-child {
  color: var(--brand-white, #fcffff);
}
.dreamers-provider-profile-new .provider-info-section .provider-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.dreamers-provider-profile-new .provider-info-section .provider-skills .skill-tag {
  background: var(--gradient-midnight);
  border: 2px solid var(--midnight-end);
  color: var(--brand-white) !important;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  text-transform: capitalize;
  white-space: nowrap;
}
.dreamers-provider-profile-new .provider-info-section .provider-skills .skill-tag:hover {
  background: linear-gradient(180deg, var(--midnight-end) 0%, color-mix(in srgb, var(--midnight-end) 82%, var(--text-white)) 100%);
  border-color: color-mix(in srgb, var(--midnight-end) 75%, var(--text-white));
  transform: translateY(-1px);
}
.dreamers-provider-profile-new {
  /* Right Column: Sidebar Content */
}
.dreamers-provider-profile-new .provider-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border: 1px solid var(--gradient-midnight);
  padding: 0 1em 1em;
  border-radius: var(--radius-lg);
}
@media (max-width: 900px) {
  .dreamers-provider-profile-new .provider-sidebar-column {
    padding-top: 0;
    margin-top: 0;
  }
}

/* Rating Section — compact inline row */
.sidebar-rating-section .sidebar-rating-note {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin: 0 0 6px;
}
.sidebar-rating-section .rating-compact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sidebar-rating-section .rating-compact .rating-stars {
  color: #FFB800;
  font-size: var(--font-size-base);
  letter-spacing: 0.05em;
}
.sidebar-rating-section .rating-compact p {
  margin: 0;
}
.sidebar-rating-section .rating-compact .rating-score {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--brand-white, #fcffff);
}
.sidebar-rating-section .rating-compact .rating-count {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}
.sidebar-rating-section .rating-compact .rating-new-profile {
  font-size: var(--font-size-base, 1em);
  color: var(--brand-white);
  font-style: italic;
}

/* Actions */
.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sidebar-actions .action-row {
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}
.sidebar-actions .action-row--full .action-btn {
  flex: 1;
  min-width: 0;
}
.sidebar-actions .action-row .action-btn {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}
.sidebar-actions .action-row .action-btn:disabled, .sidebar-actions .action-row .action-btn[aria-disabled=true] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.sidebar-actions .action-row .action-btn.btn-outline {
  background: transparent;
  border: 1px solid var(--midnight-end);
  color: var(--brand-white) !important;
}
.sidebar-actions .action-row .action-btn.btn-outline:hover:not(:disabled) {
  border-color: var(--midnight-end);
}
.sidebar-actions .action-row .action-btn.btn-solid {
  background: var(--primary-400, #0BF9EA);
  color: #000 !important;
  border: none;
}
.sidebar-actions .action-row .action-btn.btn-solid:hover:not(:disabled) {
  background: var(--primary-300, #54ecec);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 211, 211, 0.4);
}

/* Stats */
.sidebar-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.5rem;
}
.sidebar-stats .stat-row--projects {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(252, 255, 255, 0.1);
  margin-bottom: 0.75rem;
}
.sidebar-stats .stat-row--projects .stat-number {
  font-size: var(--font-size-2xl);
  font-weight: 300;
  color: var(--brand-white, #fcffff);
  line-height: 1;
}
.sidebar-stats .stat-row--projects .stat-label-projects {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--brand-white);
}
.sidebar-stats .stat-row--inline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  font-size: var(--font-size-base);
  border-bottom: 1px solid rgba(252, 255, 255, 0.06);
}
.sidebar-stats .stat-row--inline:last-child {
  border-bottom: none;
}
.sidebar-stats .stat-row--inline .stat-label {
  font-size: var(--font-size-base);
  color: var(--brand-white);
  text-transform: capitalize;
}
.sidebar-stats .stat-row--inline .stat-value {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--brand-white, #fcffff);
  text-align: right;
  overflow-wrap: anywhere;
  max-width: 60%;
}

/* Portfolio Section - Full Width */
.provider-portfolio-section {
  margin-top: 3rem;
  margin-bottom: 0;
  width: 100%;
  padding: 0 2rem;
}
@media (max-width: 1280px) {
  .provider-portfolio-section {
    margin-top: 2rem;
  }
}
@media (max-width: 768px) {
  .provider-portfolio-section {
    padding: 0 1rem;
  }
}
.provider-portfolio-section .section-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--brand-white, #fcffff);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .provider-portfolio-section .section-title {
    font-size: var(--font-size-2xl);
  }
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(45, 58, 58, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(59, 211, 211, 0.1);
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .portfolio-filters {
    flex-direction: column;
    align-items: stretch;
  }
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
@media (max-width: 768px) {
  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }
}

.filter-label,
.sort-label {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: rgba(252, 255, 255, 0.8);
  white-space: nowrap;
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: rgba(252, 255, 255, 0.05);
  border: 2px solid rgba(252, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(252, 255, 255, 0.8);
  font-size: var(--font-size-base);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.filter-btn .filter-count {
  font-size: var(--font-size-base);
  opacity: 0.7;
  margin-left: 0.25rem;
}
.filter-btn:hover {
  background: rgba(252, 255, 255, 0.1);
  border-color: rgba(59, 211, 211, 0.3);
  transform: translateY(-2px);
}
.filter-btn:focus {
  outline: 3px solid var(--primary-400, #0BF9EA);
  outline-offset: 2px;
}
.filter-btn.active {
  background: var(--primary-400, #0BF9EA);
  border-color: var(--primary-400, #0BF9EA);
  font-weight: 600;
}
.filter-btn.active:hover {
  background: var(--primary-300, #54ecec);
}
@media (max-width: 768px) {
  .filter-btn {
    flex: 1;
  }
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .sort-group {
    width: 100%;
  }
}

.sort-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  background: rgba(252, 255, 255, 0.05);
  border: 2px solid rgba(252, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--brand-white, #fcffff);
  font-size: var(--font-size-base);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url('data:svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 16px;
}
.sort-select:hover {
  background-color: rgba(252, 255, 255, 0.1);
  border-color: rgba(59, 211, 211, 0.3);
}
.sort-select:focus {
  outline: 3px solid var(--primary-400, #0BF9EA);
  outline-offset: 2px;
  border-color: var(--primary-400, #0BF9EA);
}
.sort-select option {
  color: var(--brand-white, #fcffff);
}
@media (max-width: 768px) {
  .sort-select {
    flex: 1;
  }
}

/* Empty State */
.portfolio-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 12px;
  max-width: 1400px;
  margin: 0 auto;
}
.portfolio-empty-state .empty-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: 1rem;
  opacity: 0.3;
}
.portfolio-empty-state .empty-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--brand-white, #fcffff);
  margin-bottom: 0.5rem;
}
.portfolio-empty-state .empty-message {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}
.portfolio-empty-state .empty-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-400, #0BF9EA);
  color: var(--rich-black, #000);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.portfolio-empty-state .empty-cta:hover {
  background: var(--primary-300, #54ecec);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 211, 211, 0.4);
}

.provider-portfolio-section .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: 1fr;
  gap: 1.5rem !important;
  width: 100%;
  margin: 0 auto;
  grid-auto-flow: row dense;
}
@media (max-width: 768px) {
  .provider-portfolio-section .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem !important;
  }
}
@media (max-width: 480px) {
  .provider-portfolio-section .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem !important;
  }
}
.provider-portfolio-section .portfolio-grid.js-masonry {
  display: block;
  grid-template-columns: unset;
  grid-auto-rows: unset;
  gap: unset;
  grid-auto-flow: unset;
}
.provider-portfolio-section .portfolio-grid.js-masonry .portfolio-item {
  aspect-ratio: unset;
}

.portfolio-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(45, 58, 58, 0.5);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  opacity: 1 !important;
}
.portfolio-item:hover {
  border: 2px solid rgba(59, 211, 211, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
.portfolio-item .portfolio-featured-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--primary-400, #0BF9EA);
  color: var(--rich-black, #000);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: var(--font-size-base);
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.portfolio-item .portfolio-media-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 1 !important;
}
.portfolio-item .portfolio-media-wrapper .portfolio-video-player,
.portfolio-item .portfolio-media-wrapper .portfolio-youtube-player,
.portfolio-item .portfolio-media-wrapper .portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1 !important;
}
.portfolio-item .portfolio-media-wrapper .portfolio-video-player {
  display: block;
  min-height: 0;
  background: var(--bg-elevated, rgba(30, 40, 40, 0.9));
}
.portfolio-item .portfolio-media-wrapper .portfolio-youtube-player {
  border: none;
  min-height: 0;
}
.portfolio-item .portfolio-info {
  padding: 0.75rem;
  background: rgba(45, 58, 58, 0.9);
}
.portfolio-item .portfolio-info .portfolio-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin: 0;
  color: var(--brand-white, #fcffff);
}
.portfolio-item {
  aspect-ratio: 1/1;
  grid-column: span 1;
  min-height: 0;
}
@media (max-width: 768px) {
  .portfolio-item {
    aspect-ratio: 1/1;
    grid-column: span 1;
  }
}
@media (max-width: 480px) {
  .portfolio-item {
    aspect-ratio: 1/1;
    grid-column: span 1;
  }
}
.js-masonry .portfolio-item {
  grid-column: unset;
  aspect-ratio: unset;
  min-height: 0;
  box-sizing: border-box;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 1024px) {
  .provider-sidebar .provider-rating-reviews {
    padding: 1.25rem;
  }
  .provider-sidebar .provider-actions-section .action-buttons-row.action-buttons-row-top, .provider-sidebar .provider-actions-section .action-buttons-row.action-buttons-row-bottom {
    flex-direction: row;
    gap: 0.75rem;
  }
  .provider-sidebar .provider-actions-section .action-buttons-row.action-buttons-row-top .action-btn, .provider-sidebar .provider-actions-section .action-buttons-row.action-buttons-row-bottom .action-btn {
    flex: 1;
  }
}
@media (max-width: 768px) {
  .provider-sidebar .provider-actions-section .action-buttons-row.action-buttons-row-top, .provider-sidebar .provider-actions-section .action-buttons-row.action-buttons-row-bottom {
    flex-direction: column;
  }
  .provider-sidebar .provider-actions-section .action-buttons-row.action-buttons-row-top .action-btn, .provider-sidebar .provider-actions-section .action-buttons-row.action-buttons-row-bottom .action-btn {
    width: 100%;
  }
  .provider-info-section .provider-name {
    font-size: var(--font-size-2xl);
    margin-bottom: 1rem;
  }
  .provider-info-section .provider-bio {
    font-size: var(--font-size-base);
    margin-bottom: 1.25rem;
  }
  .provider-portfolio-section {
    margin-top: 2rem;
  }
  .provider-portfolio-section .section-title {
    font-size: var(--font-size-lg);
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 480px) {
  .dreamers-provider-profile-new .container {
    padding: 0 1rem;
  }
  .provider-content-wrapper {
    gap: 2rem;
  }
  .provider-sidebar .provider-rating-reviews {
    padding: 1rem;
  }
  .provider-sidebar .provider-rating-reviews .provider-rating-header .rating-number {
    font-size: var(--font-size-2xl);
  }
  .provider-sidebar .provider-rating-reviews .provider-rating-header .review-count-header {
    font-size: var(--font-size-base);
  }
  .provider-sidebar .provider-rating-reviews .review-snippets {
    gap: 0.75rem;
  }
  .provider-sidebar .provider-rating-reviews .review-snippets .review-snippet {
    padding: 0.5rem;
    font-size: var(--font-size-base);
  }
  .provider-sidebar .provider-actions-section .action-btn {
    padding: 0.875rem 1.25rem;
    font-size: var(--font-size-base);
  }
  .provider-sidebar .provider-stats-section {
    gap: 1.25rem;
  }
  .provider-sidebar .provider-stats-section .stat-line .stat-value {
    font-size: var(--font-size-base);
  }
  .provider-sidebar .provider-stats-section .stat-line .stat-label {
    font-size: var(--font-size-base);
  }
}
/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(5px);
}
.modal.active {
  display: flex;
}

.modal-content {
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(252, 255, 255, 0.1);
}
.modal-header h3 {
  margin: 0;
  color: var(--brand-white, #fcffff);
  font-size: var(--font-size-lg);
}
.modal-header .modal-close {
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  color: rgba(252, 255, 255, 0.7);
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.modal-header .modal-close:hover {
  background: rgba(252, 255, 255, 0.1);
  color: var(--brand-white, #fcffff);
}

.contact-form {
  padding: 2rem;
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--brand-white, #fcffff);
}
.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(252, 255, 255, 0.2);
  border-radius: 6px;
  font-size: var(--font-size-base);
  background: rgba(0, 0, 0, 0.3);
  color: var(--brand-white, #fcffff);
  font-family: inherit;
  transition: border-color 0.3s ease;
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-400, #0BF9EA);
}
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: rgba(252, 255, 255, 0.5);
}
.contact-form .form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form .form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .contact-form .form-actions {
    flex-direction: column;
  }
}
.contact-form .form-actions .btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-form .form-actions .btn.btn-primary {
  background: var(--primary-400, #0BF9EA);
  color: var(--rich-black, #000);
}
.contact-form .form-actions .btn.btn-primary:hover {
  background: var(--primary-300, #54ecec);
}
.contact-form .form-actions .btn.btn-secondary {
  background: rgba(252, 255, 255, 0.1);
  color: var(--brand-white, #fcffff);
  border: 1px solid rgba(252, 255, 255, 0.2);
}
.contact-form .form-actions .btn.btn-secondary:hover {
  background: rgba(252, 255, 255, 0.2);
}

/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme .portfolio-filters {
  background: var(--bg-elevated);
  border-color: var(--border-subtle);
}
body.light-theme .filter-label,
body.light-theme .sort-label {
  color: var(--text-secondary);
}
body.light-theme .filter-btn {
  background: var(--bg-card);
  border-color: var(--border-default);
  color: var(--text-secondary);
}
body.light-theme .filter-btn:hover, body.light-theme .filter-btn.active {
  background: var(--bg-active);
  border-color: var(--primary-500);
  color: var(--primary-500);
}
body.light-theme .portfolio-empty-state .empty-message {
  color: var(--text-secondary);
}

/**
 * Portfolio Pages
 *
 * Covers: single-creator.php, single-freelancer.php,
 *         single-portfolio_item.php, archive-portfolio_item.php
 */
.image-error {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(45, 58, 58, 0.5);
  color: rgba(252, 255, 255, 0.6);
  font-size: 14px;
  border: 1px dashed rgba(59, 211, 211, 0.2);
}

.portfolio-item {
  min-height: 200px;
  position: relative;
}

.portfolio-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
}

.portfolio-item-title {
  margin: 0 0 4px 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #fff !important;
  line-height: 1.3 !important;
}

.portfolio-item-description {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dreamers-portfolio-single {
  padding: 2rem 0;
  background: var(--bg-color, #f8f9fa);
}
.dreamers-portfolio-single .header h1 {
  margin: 0 0 0.5rem 0;
  color: var(--text-color, #333);
}
.dreamers-portfolio-single .badge {
  background: var(--primary-color, #3BD3D3);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
}
.dreamers-portfolio-single .provider-link {
  color: var(--text-muted, #666);
  text-decoration: none;
}
.dreamers-portfolio-single .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}
.dreamers-portfolio-single .gallery-item {
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dreamers-portfolio-single .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dreamers-portfolio-single .file {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}
.dreamers-portfolio-single .content {
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 12px;
  padding: 1rem;
}
.dreamers-portfolio-single .client {
  color: var(--text-muted, #666);
  margin-bottom: 0.5rem;
}
.dreamers-portfolio-single .project-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--primary-color, #3BD3D3);
  text-decoration: none;
  font-weight: 600;
}
.dreamers-portfolio-single .back {
  text-align: center;
  margin-top: 1rem;
}
.dreamers-portfolio-single .btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 1px solid #e1e5e9;
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}

.dreamers-portfolio-archive {
  padding: 2rem 0;
  background: var(--bg-color, #f8f9fa);
}
.dreamers-portfolio-archive .header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.dreamers-portfolio-archive .header h1 {
  color: var(--primary-color, #3BD3D3);
  margin: 0 0 0.5rem 0;
}
.dreamers-portfolio-archive .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.dreamers-portfolio-archive .portfolio-card {
  display: block;
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}
.dreamers-portfolio-archive .portfolio-card .badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--primary-color, #3BD3D3);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
}
.dreamers-portfolio-archive .portfolio-card .media {
  height: 160px;
  background: #f0f3f6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dreamers-portfolio-archive .portfolio-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dreamers-portfolio-archive .portfolio-card .media .file-cover {
  font-size: 2rem;
}
.dreamers-portfolio-archive .portfolio-card .content {
  padding: 0.9rem;
}
.dreamers-portfolio-archive .portfolio-card .content h3 {
  margin: 0 0 0.4rem 0;
  font-size: 1rem;
}
.dreamers-portfolio-archive .portfolio-card .content .byline {
  color: var(--text-muted, #666);
  font-size: 0.9rem;
}
.dreamers-portfolio-archive .empty {
  text-align: center;
  color: var(--text-muted, #666);
  padding: 2rem 0;
}

/*!
 * Pinterest-Style Gallery Page
 * Masonry layout showing all portfolio media from all providers
 */
.dreamers-gallery-page {
  padding: 0;
  background: var(--bg-page);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}
.dreamers-gallery-page .container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.dreamers-gallery-page .dreamers-hero {
  padding: 1.5rem 0 1rem;
  text-align: center;
  position: relative;
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
  margin-bottom: var(--spacing-8);
  animation: fadeInUp 0.8s ease-out;
}
.dreamers-gallery-page .dreamers-hero .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(2rem, 4vw, 4rem);
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: normal;
  word-wrap: normal;
}
.dreamers-gallery-page .dreamers-hero-title {
  font-size: clamp(4.5rem, 6vw, 5.5rem) !important;
  font-weight: 700;
  color: var(--text-primary);
  margin: clamp(2rem, 5vw, 5rem) 0 clamp(1rem, 2vw, 1.5rem) 0 !important;
  letter-spacing: 0.05em;
  line-height: 1.2;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  word-break: normal !important;
  white-space: normal;
  max-width: 100%;
  padding: 0 clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.dreamers-gallery-page .dreamers-hero-title .highlight {
  background: var(--primary-400);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  padding-right: 0.3em;
  margin-right: -0.1em;
  word-break: normal;
  white-space: nowrap;
}
.dreamers-gallery-page .dreamers-hero-tagline {
  font-size: clamp(1.15rem, 3vw, 1.75rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin: clamp(-0.5rem, -1vw, -1rem) 0 0 0;
  letter-spacing: 0.03em;
  line-height: 1.4;
  opacity: 0.55;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
  max-width: 100%;
  padding: 0 clamp(0.5rem, 2vw, 0.5rem);
  box-sizing: border-box;
  hyphens: none;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.gallery-controls {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.gallery-search-container {
  margin-bottom: var(--spacing-6);
}

.gallery-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.gallery-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  z-index: 2;
}

.gallery-search-input {
  width: 100% !important;
  height: 48px !important;
  padding: 0 16px 0 44px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  font-size: var(--font-size-base) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  background: rgba(0, 0, 0, 0.4) !important;
  font-family: inherit !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  display: block !important;
  line-height: normal !important;
}
.gallery-search-input:focus {
  outline: none !important;
  border-color: #3BD3D3 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.15) !important;
}
.gallery-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.gallery-search-clear {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: var(--spacing-1);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.gallery-filters {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  align-items: center;
}

.gallery-filter-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-3);
  width: 100%;
}
@media (min-width: 768px) {
  .gallery-filter-group {
    flex-direction: row;
    justify-content: center;
  }
}

.gallery-filter-label {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  margin-right: var(--spacing-3);
}

.gallery-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
  justify-content: center;
  align-items: center;
}

.gallery-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid color-mix(in srgb, var(--midnight-end) 45%, transparent);
  color: var(--text-secondary);
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.gallery-filter-chip:hover {
  background: color-mix(in srgb, var(--midnight-start) 35%, transparent);
  border-color: var(--midnight-end);
  color: var(--text-primary);
  transform: translateY(-1px);
}
.gallery-filter-chip.active {
  background: var(--gradient-midnight);
  border-color: var(--midnight-end);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.gallery-filter-chip.active:hover {
  background: linear-gradient(180deg, var(--midnight-end) 0%, color-mix(in srgb, var(--midnight-end) 82%, var(--text-white)) 100%);
  border-color: color-mix(in srgb, var(--midnight-end) 75%, var(--text-white));
  transform: translateY(-1px);
}
.gallery-filter-chip {
  /* Beat utilities/_accessibility.scss button:focus-visible (!important primary ring) */
}
.gallery-filter-chip:focus {
  outline: none;
}
.gallery-filter-chip:focus-visible {
  outline: 2px solid var(--midnight-end) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--midnight-end) 45%, transparent) !important;
}

body.keyboard-navigation button.gallery-filter-chip:focus {
  outline: 2px solid var(--midnight-end) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  .gallery-controls {
    padding: 0;
  }
  .gallery-filter-group {
    flex-direction: column;
    gap: var(--spacing-2);
  }
  .gallery-filter-label {
    margin-right: 0;
    margin-bottom: var(--spacing-1);
  }
  .gallery-filter-chips {
    justify-content: center;
  }
  .gallery-filter-chip {
    font-size: var(--font-size-base);
    padding: var(--spacing-1-5) var(--spacing-3);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .gallery-masonry {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-1);
    padding: var(--spacing-2) var(--spacing-1);
  }
  .gallery-overlay {
    padding: var(--spacing-3);
  }
  .gallery-provider-avatar,
  .gallery-provider-avatar--initials {
    width: 36px;
    height: 36px;
  }
  .gallery-card:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: none;
  }
  .gallery-media:hover {
    transform: none;
    opacity: 1;
  }
  .gallery-search-container {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    margin: 0 -1rem;
    padding: var(--spacing-4) 1rem;
    border-radius: 0;
  }
  .gallery-filters {
    gap: var(--spacing-3);
  }
  .gallery-filter-chips {
    flex-wrap: wrap;
    gap: var(--spacing-1);
  }
}
@media (max-width: 768px) {
  .dreamers-gallery-page .dreamers-hero {
    padding: clamp(1rem, 3vw, 1.5rem) 0 clamp(0.75rem, 2vw, 1rem);
  }
  .dreamers-gallery-page .dreamers-hero .container {
    padding: 0 clamp(0.75rem, 2vw, 1rem);
  }
  .dreamers-gallery-page .dreamers-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
    letter-spacing: 0.05em;
    margin: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(0.75rem, 2vw, 1rem) 0 !important;
    padding: 0 clamp(0.75rem, 2vw, 1rem);
    line-height: 1.15;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
  .dreamers-gallery-page .dreamers-hero-tagline {
    font-size: clamp(1.15rem, 4vw, 1.5rem);
    margin-top: clamp(-0.5rem, -1vw, -0.75rem);
  }
}
@media (max-width: 480px) {
  .dreamers-gallery-page .dreamers-hero {
    padding: clamp(1rem, 3vw, 1.5rem) 0 clamp(0.75rem, 2vw, 1rem);
  }
  .dreamers-gallery-page .dreamers-hero .container {
    padding: 0 clamp(0.875rem, 2.5vw, 1rem);
  }
  .dreamers-gallery-page .dreamers-hero-title {
    font-size: clamp(2rem, 7vw, 3rem) !important;
    letter-spacing: 0.05em;
    margin: clamp(1.25rem, 4vw, 2rem) 0 clamp(0.75rem, 2vw, 1rem) 0 !important;
    padding: 0 clamp(0.5rem, 2vw, 0.875rem);
    line-height: 1.15;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
  .dreamers-gallery-page .dreamers-hero-tagline {
    font-size: var(--font-size-base);
    margin-top: clamp(-0.5rem, -1vw, -0.75rem);
    padding: 0 clamp(0.5rem, 2vw, 0.75rem);
  }
  .gallery-search-input {
    height: 48px !important;
    padding: 0 16px 0 44px !important;
    font-size: var(--font-size-base) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(0, 0, 0, 0.4) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-family: inherit !important;
    transition: all 0.2s ease !important;
  }
  .gallery-search-input:focus {
    outline: none;
    border-color: var(--primary-400);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.15);
  }
  .gallery-filter-chip {
    font-size: var(--font-size-base);
    padding: var(--spacing-1) var(--spacing-2) !important;
  }
}
.gallery-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-page);
  padding: var(--spacing-6) var(--spacing-8);
  text-align: center;
  border-bottom: 1px solid var(--gradient-midnight);
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.85);
}
.gallery-header h1 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-400);
  margin: 0 0 var(--spacing-2) 0;
  line-height: var(--line-height-tight);
}
.gallery-header p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0;
}

.gallery-masonry {
  position: relative;
  width: 100%;
  margin: 0;
  padding: var(--spacing-4) var(--spacing-2);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-3);
}
@media (max-width: 640px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-1);
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-3);
  }
}
@media (min-width: 1025px) and (max-width: 1440px) {
  .gallery-masonry {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-3);
  }
}
@media (min-width: 1441px) and (max-width: 1920px) {
  .gallery-masonry {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-4);
  }
}
@media (min-width: 1921px) {
  .gallery-masonry {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-4);
  }
}
.gallery-masonry.js-masonry {
  display: block;
  padding: var(--spacing-2) var(--spacing-1);
}

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 0.2em;
  opacity: 1 !important;
  transition: opacity var(--transition-base);
  padding: 4px;
  box-sizing: border-box;
}
.js-masonry .gallery-item {
  margin-bottom: 0;
  margin: 0;
  padding: 4px;
  box-sizing: border-box;
}
.gallery-item:nth-child(1) {
  animation-delay: 0.05s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.15s;
}
.gallery-item:nth-child(4) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(5) {
  animation-delay: 0.25s;
}
.gallery-item:nth-child(6) {
  animation-delay: 0.3s;
}
.gallery-item:nth-child(7) {
  animation-delay: 0.35s;
}
.gallery-item:nth-child(8) {
  animation-delay: 0.4s;
}
.gallery-item:nth-child(9) {
  animation-delay: 0.45s;
}
.gallery-item:nth-child(10) {
  animation-delay: 0.5s;
}
.gallery-item:nth-child(11) {
  animation-delay: 0.55s;
}
.gallery-item:nth-child(12) {
  animation-delay: 0.6s;
}
.gallery-item:nth-child(13) {
  animation-delay: 0.65s;
}
.gallery-item:nth-child(14) {
  animation-delay: 0.7s;
}
.gallery-item:nth-child(15) {
  animation-delay: 0.75s;
}
.gallery-item:nth-child(16) {
  animation-delay: 0.8s;
}
.gallery-item:nth-child(17) {
  animation-delay: 0.85s;
}
.gallery-item:nth-child(18) {
  animation-delay: 0.9s;
}
.gallery-item:nth-child(19) {
  animation-delay: 0.95s;
}
.gallery-item:nth-child(20) {
  animation-delay: 1s;
}
.gallery-item:nth-child(21) {
  animation-delay: 1.05s;
}
.gallery-item:nth-child(22) {
  animation-delay: 1.1s;
}
.gallery-item:nth-child(23) {
  animation-delay: 1.15s;
}
.gallery-item:nth-child(24) {
  animation-delay: 1.2s;
}
.gallery-item:nth-child(25) {
  animation-delay: 1.25s;
}
.gallery-item:nth-child(26) {
  animation-delay: 1.3s;
}
.gallery-item:nth-child(27) {
  animation-delay: 1.35s;
}
.gallery-item:nth-child(28) {
  animation-delay: 1.4s;
}
.gallery-item:nth-child(29) {
  animation-delay: 1.45s;
}
.gallery-item:nth-child(30) {
  animation-delay: 1.5s;
}
.gallery-item:nth-child(31) {
  animation-delay: 1.55s;
}
.gallery-item:nth-child(32) {
  animation-delay: 1.6s;
}
.gallery-item:nth-child(33) {
  animation-delay: 1.65s;
}
.gallery-item:nth-child(34) {
  animation-delay: 1.7s;
}
.gallery-item:nth-child(35) {
  animation-delay: 1.75s;
}
.gallery-item:nth-child(36) {
  animation-delay: 1.8s;
}
.gallery-item:nth-child(37) {
  animation-delay: 1.85s;
}
.gallery-item:nth-child(38) {
  animation-delay: 1.9s;
}
.gallery-item:nth-child(39) {
  animation-delay: 1.95s;
}
.gallery-item:nth-child(40) {
  animation-delay: 2s;
}
.gallery-item:nth-child(41) {
  animation-delay: 2.05s;
}
.gallery-item:nth-child(42) {
  animation-delay: 2.1s;
}
.gallery-item:nth-child(43) {
  animation-delay: 2.15s;
}
.gallery-item:nth-child(44) {
  animation-delay: 2.2s;
}
.gallery-item:nth-child(45) {
  animation-delay: 2.25s;
}
.gallery-item:nth-child(46) {
  animation-delay: 2.3s;
}
.gallery-item:nth-child(47) {
  animation-delay: 2.35s;
}
.gallery-item:nth-child(48) {
  animation-delay: 2.4s;
}
.gallery-item:nth-child(49) {
  animation-delay: 2.45s;
}
.gallery-item:nth-child(50) {
  animation-delay: 2.5s;
}
.gallery-item:nth-child(3n) {
  transform-origin: center;
}
.gallery-item:nth-child(5n) {
  transform-origin: top left;
}

.gallery-item[data-featured=true] .gallery-card {
  border: 1px solid var(--gold-500);
}

.gallery-card {
  display: block;
  position: relative;
  text-decoration: none;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.gallery-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: inset 0 0 0 1px var(--primary-400), 0 8px 25px rgba(0, 0, 0, 0.15);
}
.gallery-card:hover .gallery-media {
  opacity: 0.9;
  transform: scale(1.05);
}
.gallery-card:focus {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}
.gallery-card:focus-visible {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(59, 211, 211, 0.2);
}

.gallery-media {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: all 0.3s ease;
  background: var(--bg-subtle);
  height: auto;
  opacity: 1 !important;
}

.gallery-overlay {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--spacing-3);
  pointer-events: auto;
}
.gallery-overlay .gallery-provider-link {
  text-decoration: none;
  display: contents;
}
.gallery-overlay .gallery-provider-link:hover .gallery-provider-name {
  color: var(--primary-400);
}
.gallery-overlay .gallery-provider-link:hover .gallery-provider-avatar,
.gallery-overlay .gallery-provider-link:hover .gallery-provider-avatar--initials {
  border-color: var(--primary-400);
}

.gallery-provider-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}

.gallery-provider-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-alpha-15);
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.gallery-provider-avatar--initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary-alpha-15);
  flex-shrink: 0;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-transform: uppercase;
  transition: border-color 0.2s ease;
}

.gallery-provider-details {
  flex: 1;
  min-width: 0;
}

.gallery-provider-name {
  color: var(--text-primary, #fff);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  display: block;
  margin-bottom: var(--spacing-1);
}

.gallery-provider-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-1);
  align-items: center;
}

.gallery-skill-tag {
  background: rgba(59, 211, 211, 0.15);
  color: var(--primary-300);
  padding: 2px var(--spacing-1);
  border-radius: 10px;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  border: 1px solid rgba(59, 211, 211, 0.3);
  line-height: 1;
}

.gallery-skill-more {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
}

.gallery-upload-date {
  display: block;
  margin-top: var(--spacing-1);
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.45);
  font-weight: var(--font-weight-normal);
  letter-spacing: 0.02em;
}

.gallery-item[data-type=video] .gallery-media {
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--bg-elevated, rgba(30, 40, 40, 0.9));
  min-height: 120px;
}

.gallery-item[data-type=image] .gallery-media {
  min-height: 80px;
}

.gallery-empty {
  text-align: center;
  padding: var(--spacing-16) var(--spacing-4);
  color: var(--text-muted);
}
.gallery-empty p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  margin: 0;
}

.gallery-load-more-wrapper {
  text-align: center;
  margin-top: var(--spacing-16);
  margin-bottom: var(--spacing-8);
  padding: var(--spacing-6) 0;
  width: 100%;
}

.gallery-load-more-btn {
  background: var(--primary-400);
  color: var(--text-on-primary);
  border: none;
  padding: var(--spacing-3) var(--spacing-8);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
}
.gallery-load-more-btn:hover {
  background: var(--primary-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-lg);
}
.gallery-load-more-btn:active {
  transform: translateY(0);
}
.gallery-load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid var(--text-on-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.gallery-skeleton {
  position: relative;
  width: 100%;
  margin-bottom: 0.2em;
  opacity: 1;
  transition: opacity var(--transition-base);
}
.gallery-skeleton.js-masonry .gallery-skeleton {
  position: absolute;
}

.gallery-skeleton-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  animation: pulse 1.5s ease-in-out infinite;
}

.gallery-skeleton-media {
  width: 100%;
  background: var(--bg-muted);
  position: relative;
  overflow: hidden;
}
.gallery-skeleton-media.video {
  aspect-ratio: 4/3;
}
.gallery-skeleton-media.image {
  aspect-ratio: 4/5;
}
.gallery-skeleton-media::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
.gallery-empty {
  text-align: center;
  padding: var(--spacing-16) var(--spacing-4);
  color: var(--text-muted);
}
.gallery-empty .gallery-empty-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--spacing-6);
  opacity: 0.5;
  fill: currentColor;
}
.gallery-empty .gallery-empty-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin: 0 0 var(--spacing-2);
  color: var(--text-secondary);
}
.gallery-empty .gallery-empty-description {
  font-size: var(--font-size-base);
  margin: 0 0 var(--spacing-6);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.gallery-empty .gallery-empty-cta {
  display: inline-block;
  background: var(--primary-400);
  color: var(--brand-white);
  padding: var(--spacing-3) var(--spacing-6);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--font-size-base);
}
.gallery-empty .gallery-empty-cta:hover {
  background: var(--primary-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}
.gallery-empty .gallery-empty-cta:focus {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}
.gallery-empty .gallery-empty-cta:focus-visible {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(59, 211, 211, 0.2);
}

.gallery-masonry.js-masonry {
  grid-auto-rows: auto;
}
.gallery-masonry.js-masonry .gallery-item {
  position: absolute;
  width: calc(100% / var(--columns, 4));
  margin-bottom: 0;
}
@media (max-width: 640px) {
  .gallery-masonry.js-masonry .gallery-item {
    width: 100%;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .gallery-masonry.js-masonry .gallery-item {
    width: 50%;
  }
}
@media (min-width: 1025px) and (max-width: 1440px) {
  .gallery-masonry.js-masonry .gallery-item {
    width: 33.3333333333%;
  }
}
@media (min-width: 1441px) {
  .gallery-masonry.js-masonry .gallery-item {
    width: 25%;
  }
}
@media (min-width: 1920px) {
  .gallery-masonry.js-masonry .gallery-item {
    width: 20%;
  }
}

/*!
 * Explore Page - Behance-Style Portfolio Showcase
 * Grid layout with portfolio-first creator cards
 */
.dreamers-explore-page {
  padding: 0;
  background: var(--bg-page);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}
.dreamers-explore-page .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-6);
}
@media (max-width: 768px) {
  .dreamers-explore-page .container {
    padding: 0 var(--spacing-4);
  }
}
@media (max-width: 480px) {
  .dreamers-explore-page .container {
    padding: 0 var(--spacing-3);
  }
}
@media (max-width: 375px) {
  .dreamers-explore-page .container {
    padding: 0 var(--spacing-2);
  }
}

/* ========================================
   EXPLORE HEADER - Sticky with Blur
   ======================================== */
.explore-hero {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  padding: var(--spacing-6) 0 var(--spacing-4);
  border-bottom: 1px solid var(--gradient-midnight);
  margin-bottom: var(--spacing-6);
}
.explore-hero .hero-content {
  text-align: center;
}
.explore-hero .explore-title {
  font-size: clamp(4.5rem, 6vw, 5.5rem) !important;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-2) 0;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}
@media (max-width: 768px) {
  .explore-hero .explore-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem) !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }
}
.explore-hero .explore-subtitle {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-secondary);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .explore-hero .explore-subtitle {
    font-size: var(--font-size-base);
  }
}

/* ========================================
   FILTERS SECTION - Sticky Bar
   ======================================== */
.explore-filters {
  position: sticky;
  top: 110px;
  z-index: 99;
  backdrop-filter: blur(10px);
  padding: var(--spacing-4) 0;
  border-bottom: 1px solid var(--gradient-midnight);
  margin-bottom: var(--spacing-8);
}
@media (max-width: 768px) {
  .explore-filters {
    top: 90px;
    padding: var(--spacing-3) 0;
  }
}

.filters-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-4);
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .filters-container {
    gap: var(--spacing-3);
  }
}

/* Filter Dropdowns */
.filter-dropdowns {
  display: flex;
  gap: var(--spacing-3);
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .filter-dropdowns {
    flex-direction: row;
    gap: var(--spacing-2);
  }
}

.filter-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  border: 2px solid color-mix(in srgb, var(--midnight-end) 45%, transparent);
  border-radius: var(--radius-lg);
  background: var(--gradient-midnight);
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--transition-base);
  min-width: 120px;
  min-height: 44px;
  font-family: var(--font-family-base);
}
@media (max-width: 640px) {
  .dropdown-toggle {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: var(--spacing-1) var(--spacing-2) !important;
  }
}
.dropdown-toggle:hover {
  background: color-mix(in srgb, var(--midnight-start) 35%, transparent);
  border-color: var(--midnight-end);
  color: var(--text-primary);
}
.dropdown-toggle.active {
  background: var(--gradient-midnight);
  border-color: var(--midnight-end);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.dropdown-toggle.active .dropdown-icon {
  fill: var(--text-white);
}
.dropdown-toggle {
  /* Exclude from _buttons.scss focus ring; beat utilities/_accessibility.scss */
}
.dropdown-toggle:focus {
  outline: none;
}
.dropdown-toggle:focus-visible {
  outline: 2px solid var(--midnight-end) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--midnight-end) 45%, transparent) !important;
}

body.keyboard-navigation .filter-dropdown .dropdown-toggle:focus {
  outline: 2px solid var(--midnight-end) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

.dropdown-icon {
  width: 16px;
  height: 16px;
  fill: var(--text-muted);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.dropdown-toggle.active .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + var(--spacing-2));
  left: 0;
  right: 0;
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  max-height: 200px;
  overflow-y: auto;
  min-width: 150px;
}
.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  background: var(--gradient-midnight);
  border-color: var(--midnight-end);
}
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}
.dropdown-menu::-webkit-scrollbar-track {
  background: var(--bg-subtle);
  border-radius: 3px;
}
.dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--gradient-midnight);
  border-radius: 3px;
}
.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: var(--primary-500);
}

.dropdown-item {
  padding: var(--spacing-3) var(--spacing-4);
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color var(--transition-base);
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  min-height: 44px;
  display: flex;
  align-items: center;
}
@media (max-width: 640px) {
  .dropdown-item {
    min-height: 48px;
    font-size: var(--font-size-base);
  }
}
.dropdown-item:hover {
  background: var(--primary-400);
  color: var(--primary-400);
}
.dropdown-item.selected {
  background: var(--primary-alpha-20);
  color: var(--primary-400);
  font-weight: var(--font-weight-semibold);
}

/* ========================================
   SEARCH RESULTS HEADER
   ======================================== */
.search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-4) var(--spacing-3);
  margin-bottom: var(--spacing-4);
  border-bottom: 1px solid var(--gradient-midnight);
}
.search-results-header h2 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}
@media (min-width: 768px) {
  .search-results-header h2 {
    font-size: var(--font-size-2xl);
  }
}
.search-results-header .clear-search {
  font-size: var(--font-size-base);
  color: var(--primary-400);
  text-decoration: none;
  padding: var(--spacing-2) var(--spacing-3);
  border: 1px solid var(--primary-400);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.search-results-header .clear-search:hover {
  background: var(--primary-400);
  color: var(--bg-page);
}
@media (min-width: 768px) {
  .search-results-header {
    padding: var(--spacing-6) var(--spacing-4);
  }
}
@media (min-width: 1024px) {
  .search-results-header {
    padding: var(--spacing-8) var(--spacing-6);
  }
}

/* ========================================
   PROVIDERS GRID - Portfolio Cards
   ======================================== */
.explore-content {
  padding: var(--spacing-4) var(--spacing-3);
  margin: 0;
  width: 100%;
}
@media (min-width: 768px) {
  .explore-content {
    padding: var(--spacing-6) var(--spacing-4);
  }
}
@media (min-width: 1024px) {
  .explore-content {
    padding: var(--spacing-8) var(--spacing-6);
  }
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-4);
  margin: 0;
  padding: 0;
  width: 100%;
}
@media (min-width: 1920px) {
  .providers-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-6);
  }
}
@media (min-width: 1440px) and (max-width: 1919px) {
  .providers-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-5);
  }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .providers-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-4);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .providers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-4);
  }
}
@media (min-width: 640px) and (max-width: 767px) {
  .providers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-3);
  }
}
@media (min-width: 480px) and (max-width: 639px) {
  .providers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-3);
  }
}
@media (max-width: 479px) {
  .providers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Provider Card Wrapper (holds media + info) */
.provider-card-wrapper {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  border: 2px solid var(--primary-400);
  border-radius: 12px;
}

/* Elite Creators wrappers - no primary-400 border (they have gold borders on cards) */
.provider-card-wrapper:has(.elite-creator) {
  border: none;
}

/* Provider Card - Profile Picture Design (like spotlight-card) */
.provider-card {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: transparent !important;
  border: 2px solid var(--primary-alpha-15);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
}
.provider-card:hover, .provider-card.is-hovered {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(59, 211, 211, 0.3);
}
.provider-card:hover .provider-card-media img, .provider-card.is-hovered .provider-card-media img {
  transform: scale(1.05);
}

/* Elite Creators - Gold Premium Border */
.provider-card.elite-creator {
  border: 0.4px solid #d4af37;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.15), 0 0 0 0.5px rgba(212, 175, 55, 0.08);
}
.provider-card.elite-creator:hover, .provider-card.elite-creator.is-hovered {
  border-color: #f4d03f;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25), 0 0 0 1px rgba(244, 208, 63, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
}
.provider-card.elite-creator:hover .provider-card-media img, .provider-card.elite-creator.is-hovered .provider-card-media img {
  transform: scale(1.05);
}

.provider-card.elite-creator + .provider-card-info {
  border: 1.5px solid #d4af37;
  border-top: none;
}
.provider-card.elite-creator + .provider-card-info:hover {
  border-color: #f4d03f;
}

/* Card Media Container - Profile Picture */
.provider-card-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}
.provider-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}
.provider-card-media:empty, .provider-card-media:not(:has(img)) {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
}
.provider-card-media:empty::after, .provider-card-media:not(:has(img))::after {
  content: "👤";
  font-size: var(--font-size-3xl);
  opacity: 0.15;
}

/* Profile Picture Image */
.provider-card-profile-picture {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.4s ease;
}

/* Fallback Gradient */
.provider-card-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.provider-card-gradient .provider-card-initial {
  font-size: var(--font-size-6xl);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Card Link */
.provider-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
}
@media (max-width: 768px) {
  .provider-card-link {
    padding: 0 !important;
  }
}

/* Card Info Section (Below Media, Not Overlapping) */
.provider-card-info {
  width: 100%;
  padding: 0.75rem 0.875rem;
  min-height: 160px;
  height: auto;
  background: var(--bg);
  border: 2px solid var(--primary-alpha-15);
  border-top: none;
  border-radius: 0 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
}

/* Card Header (Name + Badges Row) */
.provider-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.provider-card-name {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin: 0;
  color: var(--text);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  word-wrap: break-word;
}

h3.provider-card-name {
  font-size: var(--font-size-base) !important;
  line-height: 1.3;
  margin: 0;
}

.provider-card-badges {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 50%;
}

/* Rating Display */
.provider-card-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--font-size-base);
  color: var(--text-muted);
  flex-shrink: 0;
}
.provider-card-rating .star-icon {
  color: #FFB800;
  margin-right: 0.125rem;
}
.provider-card-rating .rating-value {
  font-weight: 600;
  color: var(--text);
}
.provider-card-rating .review-count {
  color: var(--text-muted);
}

/* Bio wrapper: reserves space so footer stays aligned when bio is missing */
.provider-card-bio-wrap {
  min-height: 2.8em;
  flex-shrink: 0;
}

.provider-card-bio {
  font-size: var(--font-size-base);
  line-height: 1.4;
  margin: 0;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card Footer (Rating + Price Row) */
.provider-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

/* Price Display */
.provider-card-price {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--primary-400);
  white-space: nowrap;
  flex-shrink: 0;
}

.provider-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.provider-badge svg {
  fill: currentColor;
  flex-shrink: 0;
}
.provider-badge.verified {
  background: var(--primary);
  color: white;
}
.provider-badge.featured {
  background: var(--warning-color);
  color: white;
}

/* ========================================
   LOADING & EMPTY STATES
   ======================================== */
.loading-state {
  grid-column: 1/-1;
  text-align: center;
  padding: var(--spacing-12) 0;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--primary-alpha-15);
  border-top: 3px solid var(--primary-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto var(--spacing-4);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: var(--spacing-12) 0;
  color: var(--text-muted);
}
.no-results h3 {
  font-size: var(--font-size-2xl);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-2) 0;
}
.no-results p {
  font-size: var(--font-size-base);
  margin: 0;
}

/* ========================================
   LOAD MORE BUTTON
   ======================================== */
.load-more-section {
  text-align: center;
  margin-top: var(--spacing-8);
  padding: var(--spacing-6) var(--spacing-6);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.load-more-btn {
  background: var(--primary-500);
  color: var(--text-on-primary);
  border: none;
  padding: var(--spacing-4) var(--spacing-8);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-family-base);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-primary);
}
.load-more-btn:hover:not(:disabled) {
  background: var(--primary-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-lg);
}
.load-more-btn:active:not(:disabled) {
  transform: translateY(0);
}
.load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 640px) {
  .explore-hero {
    padding: var(--spacing-4) 0 var(--spacing-3);
  }
  .explore-hero .explore-title {
    font-size: var(--font-size-2xl);
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }
  .explore-hero .explore-subtitle {
    font-size: var(--font-size-base);
  }
  .explore-filters {
    padding: var(--spacing-2) 0;
  }
  .explore-content {
    padding: var(--spacing-4) 0 var(--spacing-8);
  }
  .provider-card-info {
    padding: 0.625rem 0.75rem;
    min-height: 140px;
  }
  .provider-card-name {
    font-size: var(--font-size-base);
  }
  .provider-card-wrapper {
    width: 100%;
  }
  .provider-card {
    width: 100%;
    aspect-ratio: 1/1;
  }
}
/* ========================================
   EXTRA SMALL SCREENS (320px - 375px)
   ======================================== */
@media (max-width: 375px) {
  .explore-hero .explore-title {
    font-size: clamp(1.75rem, 8vw, var(--font-size-2xl));
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }
  .explore-hero .explore-subtitle {
    font-size: clamp(0.75rem, 4vw, var(--font-size-base));
  }
  .provider-card-name {
    font-size: 1.125rem;
  }
  .provider-card-bio {
    font-size: var(--font-size-base);
    -webkit-line-clamp: 3;
  }
  .provider-card-price {
    font-size: var(--font-size-base);
  }
  .provider-badge {
    font-size: var(--font-size-base);
    padding: 0.2rem 0.4rem;
  }
}
/**
 * Original Dashboard Styles (.freelancer-dashboard)
 * Enhanced to match the professional Dreamers X design aesthetic
 * Dark theme with teal accents, polished UI, and smooth interactions
 */
/* ========================================
   DASHBOARD CONTAINER
   ======================================== */
.freelancer-dashboard {
  background: var(--rich-black);
  color: var(--text-primary);
  min-height: 100vh;
  padding: var(--spacing-10) 0;
  position: relative;
}
.freelancer-dashboard::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 211, 211, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.dashboard-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--spacing-8);
  position: relative;
  z-index: 1;
}

/* ========================================
   DASHBOARD HEADER - PROFESSIONAL
   ======================================== */
.dashboard-header {
  padding-top: 2em;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-10);
  padding-bottom: var(--spacing-6);
  border-bottom: 1px solid var(--gradient-midnight);
  flex-wrap: wrap;
  gap: var(--spacing-6);
}
.dashboard-header .dashboard-welcome {
  flex: 1;
  min-width: 300px;
}
.dashboard-header h1 {
  color: var(--text-primary);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  margin: 0 0 var(--spacing-3);
  letter-spacing: -0.02em;
  line-height: var(--line-height-tight);
}
.dashboard-header .dashboard-subtitle {
  color: var(--text-tertiary);
  font-size: var(--font-size-lg);
  margin: 0;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.01em;
}

.dashboard-actions {
  display: flex;
  gap: var(--spacing-3);
  flex-wrap: wrap;
  align-items: center;
}
.dashboard-actions .btn {
  white-space: nowrap;
  color: white !important;
}
.dashboard-actions .btn.btn-primary {
  color: #000 !important;
}
.dashboard-actions .btn.btn-primary:hover, .dashboard-actions .btn.btn-primary:active, .dashboard-actions .btn.btn-primary:focus {
  color: white !important;
}
.dashboard-actions .btn.btn-sm {
  color: var(--brand-white) !important;
}
.dashboard-actions .btn.btn-primary.btn-sm {
  color: #fff !important;
}
.dashboard-actions .btn.btn-primary.btn-sm:hover, .dashboard-actions .btn.btn-primary.btn-sm:active, .dashboard-actions .btn.btn-primary.btn-sm:focus {
  color: white !important;
}

/* ========================================
   STATS CARDS - POLISHED DESIGN
   ======================================== */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-10);
}
.dashboard-stats .stat-card {
  border-radius: var(--radius-xl);
  padding: var(--spacing-7);
  display: flex;
  gap: var(--spacing-5);
  align-items: center;
  border: 1px solid var(--brand-white);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  background: rgba(59, 211, 211, 0.04);
}
.dashboard-stats .stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: var(--transition-base);
  pointer-events: none;
}
.dashboard-stats .stat-card:hover {
  border-color: var(--primary-400);
  transform: translateY(-4px);
}
.dashboard-stats .stat-card:hover::before {
  opacity: 1;
}
.dashboard-stats .stat-card:hover .stat-icon {
  transform: scale(1.05);
  box-shadow: var(--glow-medium);
}
.dashboard-stats .stat-card .stat-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--primary-400);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-400);
  font-size: 1.75rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
  box-shadow: inset 0 0 20px var(--primary-400);
}
.dashboard-stats .stat-card .stat-icon i {
  filter: drop-shadow(0 2px 4px var(--primary-alpha-30));
}
.dashboard-stats .stat-card .stat-content {
  flex: 1;
  min-width: 0;
}
.dashboard-stats .stat-card .stat-value {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-2);
  line-height: 1;
  letter-spacing: -0.02em;
}
.dashboard-stats .stat-card .stat-label {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--font-weight-semibold);
  margin: 0 0 var(--spacing-1);
}
.dashboard-stats .stat-card .stat-change {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  padding: var(--spacing-1) var(--spacing-2);
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-top: var(--spacing-2);
}
.dashboard-stats .stat-card .stat-change.positive {
  color: var(--success-light);
  background: rgba(16, 185, 129, 0.1);
}
.dashboard-stats .stat-card .stat-change.neutral {
  color: var(--text-muted);
  background: transparent !important;
}
.dashboard-stats .stat-card .stat-change.attention {
  color: var(--warning-light);
  background: rgba(245, 158, 11, 0.1);
}
.dashboard-stats .stat-card--link {
  text-decoration: none;
  cursor: pointer;
}
.dashboard-stats .stat-card--link:hover, .dashboard-stats .stat-card--link:focus {
  text-decoration: none;
}
.dashboard-stats .stat-card--link:focus-visible {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}
.dashboard-stats .stat-card--link .stat-value,
.dashboard-stats .stat-card--link .stat-label {
  color: inherit;
}

/* ========================================
   DASHBOARD GRID & CARDS
   ======================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-8);
}

.dashboard-card {
  overflow: hidden;
  transition: all 0.2s ease;
  border: 1px solid var(--brand-white);
  border-radius: var(--radius-lg);
  position: relative;
  max-height: 450px;
  display: flex;
  flex-direction: column;
}
.dashboard-card:hover {
  border-color: var(--primary-400) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.dashboard-card .card-header {
  padding: var(--spacing-4) var(--spacing-5);
  border-bottom: 1px solid var(--gradient-midnight);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
}
.dashboard-card .card-header h2 {
  font-size: var(--font-size-base) !important;
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0 !important;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.dashboard-card .card-content {
  padding: var(--spacing-1) var(--spacing-5);
  color: var(--text-secondary);
  flex: 1;
  overflow-y: auto;
}
.dashboard-card--messages {
  max-height: 450px;
}

/* ========================================
   PROJECT LIST
   ======================================== */
.project-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
}

.project-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gradient-midnight);
  transition: all 0.2s ease;
  padding: 0.5em;
}
.project-item:hover {
  border-color: var(--gradient-midnight);
}
.project-item .project-info {
  flex: 1;
  min-width: 0;
}
.project-item .project-info h4 {
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  margin: 0 0 var(--spacing-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-item .project-meta {
  display: flex;
  gap: var(--spacing-3);
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  flex-wrap: wrap;
  align-items: center;
}
.project-item .project-date,
.project-item .applicants-count {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1);
}
.project-item .project-value {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--primary-400);
}

/* ========================================
   STATUS BADGES
   ======================================== */
.status-badge {
  display: inline-block;
  padding: var(--spacing-1) var(--spacing-3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-badge.status-active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success-light);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}
.status-badge.status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning-light);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);
}
.status-badge.status-completed {
  background: var(--primary-alpha-15);
  color: var(--primary-400);
  box-shadow: 0 0 8px var(--primary-alpha-20);
}
.status-badge.status-closed {
  background: rgba(143, 169, 169, 0.15);
  color: var(--text-muted);
}
.status-badge.status-in-progress {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.15);
}
.status-badge.status-accepted {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success-light);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

/* ========================================
   MESSAGE LIST
   ======================================== */
.message-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.message-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-2);
  padding: 5px var(--spacing-2);
  background: transparent;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.message-item.unread {
  background: var(--primary-alpha-5);
  border-color: var(--primary-alpha-20);
}
.message-item.unread::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-400);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.message-item .message-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.message-item .message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.message-item:hover .message-avatar {
  transform: scale(1.05);
}
.message-item .message-content {
  flex: 1;
  min-width: 0;
}
.message-item .message-content h4 {
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-medium);
  margin: 0 0 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.message-item .message-content p {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.message-item .message-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
  white-space: nowrap;
}
.message-item .unread-indicator {
  width: 6px;
  height: 6px;
  background: var(--primary-400);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  align-self: center;
  margin-left: var(--spacing-1);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}
/* ========================================
   HIRED CREATORS LIST
   ======================================== */
.hired-creators-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
}

.creator-item {
  display: flex;
  gap: var(--spacing-3);
  padding: var(--spacing-2) var(--spacing-3);
  background: transparent;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gradient-midnight);
  align-items: center;
  transition: all 0.2s ease;
}
.creator-item:hover {
  border-color: var(--gradient-midnight);
  background: var(--bg-hover);
}
.creator-item .creator-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--gradient-midnight);
  transition: all 0.2s ease;
}
.creator-item .creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-item:hover .creator-avatar {
  border-color: var(--primary-alpha-40);
  transform: scale(1.05);
}
.creator-item .creator-info {
  flex: 1;
  min-width: 0;
}
.creator-item .creator-info h4 {
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  margin: 0 0 var(--spacing-1);
}
.creator-item .creator-info .creator-role {
  color: var(--text-tertiary);
  font-size: var(--font-size-base);
  margin: 0 0 var(--spacing-1);
}
.creator-item .creator-info .creator-project {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  display: flex;
  gap: var(--spacing-2);
  align-items: center;
  flex-wrap: wrap;
}
.creator-item .creator-actions {
  flex-shrink: 0;
}

/* ========================================
   ACTIVITY TIMELINE
   ======================================== */
.activity-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}

.activity-item {
  display: flex;
  gap: var(--spacing-3);
  position: relative;
  padding-left: var(--spacing-1);
}
.activity-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 38px;
  bottom: -8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gradient-midnight) 0%, transparent 100%);
}
.activity-item .activity-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--primary-400);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-400);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.activity-item .activity-content {
  flex: 1;
  padding-top: var(--spacing-1);
}
.activity-item .activity-content p {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  margin: 0 0 var(--spacing-1);
  line-height: var(--line-height-relaxed);
}
.activity-item .activity-time {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
}

/* ========================================
   QUICK ACTIONS
   ======================================== */
.quick-actions {
  margin-top: var(--spacing-10);
}
.quick-actions h3 {
  color: var(--text-primary);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  margin: 0 0 var(--spacing-6);
  letter-spacing: -0.01em;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-4);
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3);
  padding: var(--spacing-6);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s ease;
  background: var(--bg-elevated);
}
.action-card:hover {
  border-color: var(--gradient-midnight);
  background: var(--bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.action-card:hover i {
  color: var(--primary-400);
  transform: scale(1.1);
}
.action-card i {
  font-size: 1.5rem;
  color: var(--text-tertiary);
  transition: all 0.2s ease;
}
.action-card span {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  text-align: center;
  letter-spacing: 0.01em;
}

/* ========================================
   EMPTY STATES
   ======================================== */
.empty-state {
  text-align: center;
  padding: var(--spacing-5) var(--spacing-4);
  color: var(--text-muted);
  background: transparent !important;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--primary-alpha-15);
  min-height: auto;
}
.empty-state i {
  font-size: 1.75rem;
  color: var(--text-disabled);
  margin-bottom: var(--spacing-2);
  opacity: 0.3;
  display: block;
}
.empty-state p {
  margin: 0;
  font-size: var(--font-size-base);
}
.empty-state a {
  color: var(--primary-400);
  text-decoration: underline;
  font-weight: var(--font-weight-medium);
  transition: var(--transition-base);
}
.empty-state a:hover {
  color: var(--primary-300);
}

/* ========================================
   EARNINGS CARD - SPECIAL STYLING
   ======================================== */
.earnings-summary {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-3);
  padding: var(--spacing-3) var(--spacing-4);
  background: transparent !important;
  border-radius: var(--radius-lg);
  border: none !important;
}

.earnings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--spacing-3);
  border-bottom: none !important;
  background: transparent !important;
  gap: var(--spacing-4);
}
.earnings-item .earnings-label {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.earnings-item .earnings-amount {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}
.earnings-item .earnings-amount.text-muted {
  color: var(--text-muted);
}
.earnings-item .earnings-amount.text-success {
  color: var(--success-light);
}

.earnings-chart {
  background: transparent !important;
}

/* ========================================
   BUTTONS - PROFESSIONAL STYLING
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-3) var(--spacing-5);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn.btn-primary {
  background: var(--primary-500);
  color: white !important;
  box-shadow: var(--shadow-md);
}
.btn.btn-primary:hover {
  background: var(--primary-400);
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
  color: white !important;
}
.btn.btn-primary:active {
  transform: translateY(0);
  color: white !important;
}
.btn.btn-outline {
  background: transparent;
  border: 1px solid var(--gradient-midnight);
  color: white !important;
}
.btn.btn-outline:hover {
  border-color: var(--primary-color);
  background: var(--primary-400);
  color: white !important;
  box-shadow: var(--glow-subtle);
}
.btn.btn-outline.btn-sm {
  color: white !important;
}
.btn.btn-outline.btn-sm:hover {
  color: white !important;
}
.btn.btn-sm {
  padding: var(--spacing-2) var(--spacing-4);
  font-size: var(--font-size-base);
  color: white !important;
}
.btn.btn-lg {
  padding: var(--spacing-4) var(--spacing-6);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

/* ========================================
   VIEW TABS - WHITE TEXT
   ======================================== */
.view-tabs .tab-link {
  color: white !important;
}
.view-tabs .tab-link:hover, .view-tabs .tab-link:focus, .view-tabs .tab-link.active {
  color: white !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
  .dashboard-container {
    padding: 0 var(--spacing-6);
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .freelancer-dashboard {
    padding: var(--spacing-6) 0;
  }
  .dashboard-container {
    padding: 0 var(--spacing-4);
  }
  .dashboard-header {
    flex-direction: column;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-6);
  }
  .dashboard-header h1 {
    font-size: var(--font-size-3xl);
  }
  .dashboard-header .dashboard-subtitle {
    font-size: var(--font-size-base);
  }
  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
  }
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-3);
  }
  .project-rooms-grid {
    grid-template-columns: 1fr;
  }
  .stat-card {
    padding: var(--spacing-5);
  }
  .stat-card .stat-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
  .stat-card .stat-value {
    font-size: var(--font-size-2xl);
  }
  .dashboard-card .card-header,
  .dashboard-card .card-content {
    padding: var(--spacing-5);
  }
  .project-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-3);
  }
  .project-item .project-value {
    align-self: flex-end;
  }
}
/* ========================================
   EMPLOYER DASHBOARD SECTIONS
   Full-width stacked layout (no sidebar)
   ======================================== */
.employer-dashboard-sections {
  display: flex;
  flex-direction: column;
}

/* ========================================
   PROJECT ROOMS CARD GRID
   ======================================== */
.project-rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--spacing-4);
}

.project-room-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  padding: var(--spacing-5);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.project-room-card:hover {
  border-color: var(--primary-alpha-40);
  transform: translateY(-4px);
}
.project-room-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-2);
}
.project-room-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0;
  line-height: var(--line-height-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-room-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-3);
  font-size: var(--font-size-base);
  color: var(--text-muted);
  margin-top: auto;
}
.project-room-card__meta i {
  margin-right: var(--spacing-1);
  color: var(--primary-400);
  opacity: 0.7;
}
.project-room-card__budget, .project-room-card__deadline {
  display: inline-flex;
  align-items: center;
}
.project-room-card .btn-block {
  width: 100%;
  justify-content: center;
}

/* Creator mini info inside project room card */
.creator-info-mini {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  min-width: 0;
}
.creator-info-mini .creator-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--primary-alpha-20);
}
.creator-info-mini .creator-name {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========================================
   DELIVERABLES PROGRESS BAR
   ======================================== */
.deliverables-progress {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
}
.deliverables-progress__bar {
  height: 4px;
  background: var(--gradient-midnight);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.deliverables-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500) 0%, var(--primary-400) 100%);
  border-radius: var(--radius-md);
  transition: width 0.6s ease;
  box-shadow: 0 0 6px var(--primary-alpha-30);
}
.deliverables-progress__label {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
}

/* ========================================
   FADE IN ANIMATION
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.freelancer-dashboard {
  animation: fadeIn 0.4s ease;
}

/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme .freelancer-dashboard {
  background: var(--bg-page);
}
body.light-theme .freelancer-dashboard::before {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 211, 211, 0.04) 0%, transparent 50%);
}
body.light-theme .btn.btn-outline {
  color: var(--text-primary) !important;
  border-color: var(--border-default) !important;
}
body.light-theme .btn.btn-outline:hover {
  color: white !important;
}
body.light-theme .btn.btn-outline.btn-sm {
  color: var(--text-primary) !important;
}
body.light-theme .btn.btn-outline.btn-sm:hover {
  color: white !important;
}
body.light-theme .view-tabs .tab-link {
  color: var(--text-secondary) !important;
}
body.light-theme .view-tabs .tab-link:hover, body.light-theme .view-tabs .tab-link:focus, body.light-theme .view-tabs .tab-link.active {
  color: var(--text-primary) !important;
}
body.light-theme .dashboard-card .card-header {
  border-bottom-color: var(--border-subtle);
}
body.light-theme .project-room-card {
  border-color: var(--border-subtle);
}
body.light-theme .deliverables-progress__bar {
  background: var(--bg-muted);
}

/**
 * Professional Dashboard Design
 * Matches Dreamers X brand aesthetic with rich black, teal accents, and polished UI
 */
/* ========================================
   FELAN PRELOADER OVERRIDE
   The parent theme renders .page-loading-effect as a direct <body> child
   (via wp_body_open hook) with background:#fff. On this dark-themed site
   that causes a white flash on every page load.
   ======================================== */
.page-loading-effect .bg-overlay {
  background: var(--rich-black, #000000) !important;
}
.page-loading-effect .felan-ldef-ring {
  display: block;
  position: relative;
  width: 48px;
  height: 48px;
  box-sizing: border-box;
  border: 3px solid rgba(11, 249, 234, 0.2);
  border-top-color: var(--primary-400, #0bf9ea);
  border-radius: 50%;
  animation: dreamers-felan-spin 0.85s linear infinite;
}
.page-loading-effect .felan-ldef-ring > span {
  display: none !important;
  animation: none !important;
}
.page-loading-effect .felan-ldef-dual-ring::after {
  display: none !important;
}
@keyframes dreamers-felan-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   DASHBOARD PAGE CONTAINER
   ======================================== */
.dashboard-page {
  display: flex;
  min-height: 100vh;
  background: var(--rich-black);
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
}
.dashboard-page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 211, 211, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   MODERN SIDEBAR - Expands from Header Logo
   Sidebar slides out from the header logo position
   ======================================== */
.dashboard-sidebar {
  border-right: 1px solid var(--gradient-midnight);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--rich-black);
  flex-shrink: 0;
  position: fixed;
  left: 0;
  top: calc(105px + var(--spacing-10));
  bottom: 0;
  height: auto;
  z-index: 100;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: top left;
  will-change: transform;
}
.dashboard-sidebar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 0;
}
.dashboard-sidebar::-webkit-scrollbar {
  width: 5px;
}
.dashboard-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.dashboard-sidebar::-webkit-scrollbar-thumb {
  background: var(--gold-alpha-20);
  border-radius: var(--radius-md);
}
.dashboard-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--gold-alpha-30);
}
.dashboard-sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gradient-midnight) 0%, transparent 100%);
  z-index: 1;
}
.dashboard-sidebar .sidebar-profile {
  padding: var(--spacing-6) var(--spacing-4) var(--spacing-4);
  border-bottom: 1px solid var(--gradient-midnight);
  background: linear-gradient(135deg, rgba(59, 211, 211, 0.05) 0%, rgba(59, 211, 211, 0.02) 100%);
  position: relative;
  z-index: 1;
}
.dashboard-sidebar .sidebar-profile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 50%, rgba(59, 211, 211, 0.01) 100%);
  pointer-events: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.dashboard-sidebar .sidebar-profile .profile-avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-3);
}
.dashboard-sidebar .sidebar-profile .profile-avatar-wrapper .profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--primary-alpha-20);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  object-fit: cover;
}
.dashboard-sidebar .sidebar-profile .profile-avatar-wrapper .profile-online-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: var(--success-color, #10B981);
  border: 2px solid var(--rich-black);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--rich-black);
}
.dashboard-sidebar .sidebar-profile .profile-info {
  margin-bottom: var(--spacing-3);
}
.dashboard-sidebar .sidebar-profile .profile-info .profile-name {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-1);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.dashboard-sidebar .sidebar-profile .profile-info .profile-role {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}
.dashboard-sidebar .sidebar-profile .profile-settings-btn {
  position: absolute;
  top: var(--spacing-4);
  right: var(--spacing-4);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid var(--gradient-midnight);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0.7;
}
.dashboard-sidebar .sidebar-profile .profile-settings-btn:hover {
  background: var(--primary-400);
  border-color: var(--gradient-midnight);
  color: var(--primary-400);
  opacity: 1;
  transform: scale(1.05);
}
.dashboard-sidebar .sidebar-profile .profile-settings-btn i {
  font-size: var(--font-size-base);
}
.dashboard-sidebar .sidebar-nav {
  flex: 1;
  padding: var(--spacing-4) var(--spacing-4) var(--spacing-4);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.dashboard-sidebar .sidebar-section {
  padding: 0;
}
.dashboard-sidebar .sidebar-section-header {
  padding: var(--spacing-2) var(--spacing-4) var(--spacing-1);
  margin-bottom: var(--spacing-1);
}
.dashboard-sidebar .sidebar-section-header .section-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  opacity: 0.9;
  position: relative;
}
.dashboard-sidebar .sidebar-section-header .section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-400), transparent);
  opacity: 0.5;
}
.dashboard-sidebar .sidebar-section-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dashboard-sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-1) var(--spacing-4);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  border-radius: var(--radius-lg);
  margin: 0 var(--spacing-1);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid color-mix(in srgb, var(--midnight-end) 45%, transparent);
  backdrop-filter: blur(10px);
  margin-bottom: 2.4em;
}
.dashboard-sidebar .nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}
.dashboard-sidebar .nav-item .nav-icon-wrapper {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  position: relative;
}
.dashboard-sidebar .nav-item .nav-icon-wrapper i {
  font-size: var(--font-size-2xl);
  transition: all 0.3s ease;
  color: var(--text-secondary);
}
.dashboard-sidebar .nav-item .nav-icon-wrapper::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}
.dashboard-sidebar .nav-item .nav-label {
  flex: 1;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  font-weight: var(--font-weight-medium);
}
.dashboard-sidebar .nav-item .nav-badge {
  background: var(--primary-500);
  color: var(--rich-black);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  padding: 3px 7px;
  border-radius: var(--radius-md);
  min-width: 20px;
  text-align: center;
  box-shadow: 0 2px 8px var(--primary-alpha-40);
  transition: all 0.25s ease;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.dashboard-sidebar .nav-item:hover {
  background: color-mix(in srgb, var(--midnight-start) 35%, transparent);
  border-color: var(--midnight-end);
  color: var(--text-primary);
  transform: translateY(-1px);
}
.dashboard-sidebar .nav-item:hover::before {
  opacity: 1;
}
.dashboard-sidebar .nav-item:hover .nav-icon-wrapper i {
  color: var(--text-primary);
}
.dashboard-sidebar .nav-item:hover .nav-label {
  color: var(--text-primary);
}
.dashboard-sidebar .nav-item:focus {
  outline: none;
}
.dashboard-sidebar .nav-item:focus-visible {
  outline: 2px solid var(--midnight-end);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--midnight-end) 45%, transparent);
}
.dashboard-sidebar .nav-item.active {
  background: var(--gradient-midnight);
  border-color: var(--midnight-end);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.dashboard-sidebar .nav-item.active::before {
  opacity: 1;
}
.dashboard-sidebar .nav-item.active span {
  color: var(--text-white);
}
.dashboard-sidebar .nav-item.active .nav-icon-wrapper i {
  color: var(--text-white);
}
.dashboard-sidebar .nav-item.active .nav-label {
  color: var(--text-white);
  font-weight: var(--font-weight-medium);
}
.dashboard-sidebar .nav-item.active .nav-badge {
  background: var(--primary-400);
  color: white;
  box-shadow: 0 2px 12px var(--primary-alpha-50);
  animation: none;
}
.dashboard-sidebar .nav-item.active:hover {
  background: linear-gradient(180deg, var(--midnight-end) 0%, color-mix(in srgb, var(--midnight-end) 82%, var(--text-white)) 100%);
  border-color: color-mix(in srgb, var(--midnight-end) 75%, var(--text-white));
  transform: translateY(-1px);
}
.dashboard-sidebar .sidebar-footer {
  padding: var(--spacing-4);
  border-top: 1px solid var(--gradient-midnight);
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.dashboard-sidebar .sidebar-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gradient-midnight) 20%, var(--primary-alpha-20) 50%, var(--gradient-midnight) 80%, transparent 100%);
}
.dashboard-sidebar .nav-logout {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3) var(--spacing-4);
  color: var(--brand-white) !important;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  margin: 0 var(--spacing-1);
  position: relative;
  overflow: hidden;
}
.dashboard-sidebar .nav-logout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}
.dashboard-sidebar .nav-logout i {
  font-size: var(--font-size-base);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
}
.dashboard-sidebar .nav-logout:hover {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger-light) !important;
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateX(4px) scale(1.02);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}
.dashboard-sidebar .nav-logout:hover::before {
  opacity: 1;
}
.dashboard-sidebar .nav-logout:hover i {
  color: var(--danger-light);
  transform: scale(1.1);
}

/* ========================================
   SIDEBAR - NO SCROLL ON BIG SCREENS
   ======================================== */
@media (min-width: 1024px) {
  .dashboard-sidebar {
    overflow-y: visible;
    overflow-x: visible;
  }
  .dashboard-sidebar .sidebar-nav {
    overflow-y: visible;
  }
}
/* ========================================
   MAIN CONTENT AREA
   ======================================== */
.dashboard-main-content {
  flex: 1;
  margin-left: 280px;
  padding: var(--spacing-10) var(--spacing-8);
  transition: margin-left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 100vh;
  position: relative;
  z-index: 1;
  max-width: 1600px;
  transition: margin-left 0.3s ease, opacity 0.3s ease;
}
.dashboard-main-content.content-fade-out {
  opacity: 0;
  pointer-events: none;
}
.dashboard-main-content.content-fade-in {
  opacity: 1;
  animation: fadeInContent 0.3s ease-in-out;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ========================================
   PAGE HEADER
   ======================================== */
.dashboard-page-header {
  margin-bottom: var(--spacing-10);
}
.dashboard-page-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-6);
  flex-wrap: wrap;
}
.dashboard-page-header .header-text {
  flex: 1;
  min-width: 300px;
}
.dashboard-page-header .header-text .page-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-3);
  letter-spacing: -0.02em;
  line-height: var(--line-height-tight);
}
.dashboard-page-header .header-text .page-subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-tertiary);
  margin: 0;
  font-weight: var(--font-weight-normal);
  letter-spacing: 0.01em;
}
.dashboard-page-header .header-actions {
  display: flex;
  gap: var(--spacing-3);
  flex-wrap: wrap;
  align-items: center;
}

/* ========================================
   BREADCRUMBS
   ======================================== */
.dashboard-breadcrumbs {
  margin-bottom: var(--spacing-8);
}
.dashboard-breadcrumbs .breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
}
.dashboard-breadcrumbs .breadcrumb-item {
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}
.dashboard-breadcrumbs .breadcrumb-item:not(:last-child)::after {
  content: "/";
  margin-left: var(--spacing-2);
  color: var(--text-muted);
}
.dashboard-breadcrumbs .breadcrumb-item a {
  color: var(--primary-400);
  text-decoration: none;
  transition: var(--transition-base);
}
.dashboard-breadcrumbs .breadcrumb-item a:hover {
  color: var(--primary-300);
  text-decoration: underline;
}
.dashboard-breadcrumbs .breadcrumb-item.active {
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
}

/* ========================================
   STATS CARDS - DREAMERS SIDEBAR STYLE
   ======================================== */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-10);
}
.dashboard-stats .stat-card {
  padding: var(--spacing-4) var(--spacing-5) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--spacing-5) !important;
  transition: all 0.2s ease;
  position: relative !important;
  overflow: hidden;
  background: transparent !important;
  border: 1px solid var(--brand-white) !important;
  border-radius: var(--radius-lg) !important;
  text-decoration: none;
  min-height: 90px;
}
.dashboard-stats .stat-card:hover {
  border-color: var(--primary-400) !important;
  transform: translateY(-2px);
}
.dashboard-stats .stat-card:hover .stat-icon {
  background: var(--primary-alpha-15) !important;
}
.dashboard-stats .stat-card:hover .stat-icon i {
  color: var(--brand-white) !important;
  transform: scale(1.1);
}
.dashboard-stats .stat-card .stat-icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--radius-md) !important;
  background: var(--primary-alpha-5) !important;
  transition: all 0.2s ease;
  border: 1px solid var(--primary-alpha-15) !important;
  position: static !important;
}
.dashboard-stats .stat-card .stat-icon i {
  font-size: var(--font-size-base) !important;
  color: var(--brand-white) !important;
  transition: all 0.2s ease;
}
.dashboard-stats .stat-card .stat-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 2px !important;
  position: static !important;
  min-width: 0;
}
.dashboard-stats .stat-card .stat-value {
  font-size: var(--font-size-2xl) !important;
  font-weight: var(--font-weight-bold) !important;
  color: white !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
  position: static !important;
}
.dashboard-stats .stat-card .stat-label {
  font-size: var(--font-size-base) !important;
  color: var(--text-tertiary) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-weight: var(--font-weight-bold) !important;
  margin: 0 !important;
  position: static !important;
}
.dashboard-stats .stat-card .stat-change {
  background: var(--primary-500) !important;
  color: var(--rich-black) !important;
  font-size: var(--font-size-base) !important;
  font-weight: var(--font-weight-bold) !important;
  padding: 2px 8px !important;
  min-width: 24px;
  text-align: center;
  box-shadow: 0 0 8px var(--primary-alpha-40);
  flex-shrink: 0;
  position: absolute !important;
  top: 12px;
  right: 12px;
}
.dashboard-stats .stat-card .stat-change.attention {
  background: var(--warning-color) !important;
}
.dashboard-stats .stat-card .stat-change.positive {
  background: var(--success-color) !important;
}
.dashboard-stats .stat-card .stat-change.neutral {
  background: var(--primary-alpha-20) !important;
  color: var(--text-secondary) !important;
  box-shadow: none !important;
}
.dashboard-stats .stat-card .stat-change::before, .dashboard-stats .stat-card .stat-change::after {
  content: none !important;
}

/* ========================================
   CONTENT CARDS & SECTIONS
   ======================================== */
.dashboard-card {
  padding: var(--spacing-7);
  margin-bottom: var(--spacing-6);
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
  background: transparent !important;
}
.dashboard-card:hover {
  border-color: var(--primary-alpha-15);
  box-shadow: var(--shadow-md);
}
.dashboard-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-6);
  padding-bottom: var(--spacing-5);
  border-bottom: 1px solid var(--gradient-midnight);
}
.dashboard-card .card-header h2, .dashboard-card .card-header h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}
.dashboard-card .card-content {
  color: var(--text-secondary);
}

/* ========================================
   TABLES - PROFESSIONAL STYLING
   ======================================== */
.dashboard-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.dashboard-table thead tr {
  background: var(--bg-subtle);
}
.dashboard-table thead tr th {
  padding: var(--spacing-4) var(--spacing-5);
  text-align: left;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--primary-alpha-15);
}
.dashboard-table thead tr th:first-child {
  border-top-left-radius: var(--radius-lg);
}
.dashboard-table thead tr th:last-child {
  border-top-right-radius: var(--radius-lg);
}
.dashboard-table tbody tr {
  transition: var(--transition-base);
  border-bottom: 1px solid var(--gradient-midnight);
}
.dashboard-table tbody tr:hover {
  background: transparent !important;
}
.dashboard-table tbody tr td {
  padding: var(--spacing-5);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}
.dashboard-table tbody tr td:first-child {
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
}

/* ========================================
   EMPTY STATES
   ======================================== */
.dashboard-empty-state {
  text-align: center;
  padding: var(--spacing-12) var(--spacing-6);
}
.dashboard-empty-state .empty-icon {
  font-size: var(--font-size-4xl);
  color: var(--text-muted);
  margin-bottom: var(--spacing-6);
  opacity: 0.3;
}
.dashboard-empty-state .empty-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-3);
}
.dashboard-empty-state .empty-description {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-6);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
  .dashboard-main-content {
    margin-left: 260px;
    padding: var(--spacing-8) var(--spacing-6);
  }
  .dashboard-stats {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-5);
  }
}
@media (max-width: 1024px) {
  .dashboard-sidebar {
    width: 260px;
  }
  .dashboard-sidebar .sidebar-profile {
    padding: var(--spacing-4) var(--spacing-3) var(--spacing-3);
  }
  .dashboard-sidebar .sidebar-profile .profile-avatar-wrapper .profile-avatar {
    width: 48px;
    height: 48px;
  }
  .dashboard-sidebar .sidebar-profile .profile-info .profile-name {
    font-size: var(--font-size-base);
  }
  .dashboard-sidebar .sidebar-profile .profile-settings-btn {
    width: 28px;
    height: 28px;
    top: var(--spacing-3);
    right: var(--spacing-3);
  }
  .dashboard-sidebar .sidebar-section-header .section-title {
    font-size: var(--font-size-base);
  }
  .dashboard-sidebar .nav-item {
    padding: var(--spacing-2) var(--spacing-3);
    gap: var(--spacing-2);
  }
  .dashboard-sidebar .nav-item .nav-icon-wrapper {
    width: 32px;
    height: 32px;
  }
  .dashboard-sidebar .nav-item .nav-label {
    font-size: var(--font-size-base);
  }
  .dashboard-main-content {
    margin-left: 260px;
  }
  .dashboard-page-header .header-text .page-title {
    font-size: var(--font-size-3xl);
  }
}
@media (max-width: 768px) {
  .dashboard-sidebar {
    display: none;
  }
  .dashboard-page {
    min-height: calc(100vh - 120px);
  }
  .dashboard-main-content {
    margin-left: 0;
    padding: var(--spacing-6) var(--spacing-4);
    width: 100%;
  }
  .dashboard-page-header {
    margin-bottom: var(--spacing-6);
  }
  .dashboard-page-header .header-content {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-4);
  }
  .dashboard-page-header .header-text {
    min-width: 0;
  }
  .dashboard-page-header .header-text .page-title {
    font-size: var(--font-size-2xl);
  }
  .dashboard-page-header .header-text .page-subtitle {
    font-size: var(--font-size-base);
  }
  .dashboard-page-header .header-actions {
    width: 100%;
  }
  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
  }
  .stat-card {
    padding: var(--spacing-5);
  }
  .stat-card .stat-icon {
    width: 56px;
    height: 56px;
    font-size: var(--font-size-lg);
  }
  .stat-card .stat-content .stat-value {
    font-size: var(--font-size-2xl);
  }
  .dashboard-card {
    padding: var(--spacing-5);
    border-radius: var(--radius-lg);
  }
  .sidebar-profile .profile-avatar-wrapper .profile-avatar {
    width: 44px;
    height: 44px;
  }
  .sidebar-profile .profile-info .profile-name {
    font-size: var(--font-size-base);
  }
  .sidebar-profile .profile-role {
    font-size: var(--font-size-base);
  }
}
/* Old mobile toggle buttons - deprecated */
.dashboard-mobile-toggle,
.dashboard-sidebar-toggle,
.dashboard-mobile-menu-btn,
.dashboard-sidebar-overlay,
.sidebar-close-btn {
  display: none !important;
}

/* ========================================
   MOBILE BOTTOM TAB BAR
   Instagram / Facebook style
   ======================================== */
.dashboard-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .dashboard-bottom-nav {
    display: flex;
    align-items: stretch;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(0, 0, 0, 0.96);
    border-top: 1px solid var(--gradient-midnight);
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .dashboard-main-content {
    padding-bottom: calc(60px + var(--spacing-6));
  }
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 3px;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.15s ease;
  position: relative;
  color: var(--brand-white) !important;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item.active {
  color: var(--primary-400);
}
.bottom-nav-item:active {
  opacity: 0.7;
}

.bottom-nav-icon-wrap {
  position: relative;
  line-height: 1;
}
.bottom-nav-icon-wrap i {
  font-size: var(--font-size-base);
}

.bottom-nav-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background: #ef4444;
  color: #fff;
  font-size: var(--font-size-base);
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 1.5px solid #000;
}

.bottom-nav-label {
  font-size: var(--font-size-base);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}

/* ========================================
   LOADING STATES
   ======================================== */
.dashboard-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12);
}
.dashboard-loading .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--primary-alpha-20);
  border-top-color: var(--primary-500);
  border-radius: var(--radius-md);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ========================================
   FADE IN ANIMATION
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dashboard-page {
  animation: fadeIn 0.4s ease;
}

/* ========================================
   WALLET & EARNINGS PAGE
   ======================================== */
.wallet-page .wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-8);
}
@media (max-width: 1024px) {
  .wallet-page .wallet-grid {
    grid-template-columns: 1fr;
  }
}
.wallet-page .transaction-filter {
  padding: var(--spacing-2) var(--spacing-4);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: var(--transition-base);
}
.wallet-page .transaction-filter:hover {
  border-color: var(--gradient-midnight);
  background: var(--bg-hover);
}
.wallet-page .transaction-filter:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--glow-subtle);
}
.wallet-page .transactions-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}
.wallet-page .transaction-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-4);
  background: transparent !important;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gradient-midnight);
  transition: all var(--transition-base);
}
.wallet-page .transaction-item:hover {
  border-color: var(--primary-alpha-20);
  background: var(--bg-hover);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}
.wallet-page .transaction-item .transaction-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-base);
}
.wallet-page .transaction-item .transaction-icon i {
  font-size: var(--font-size-base);
}
.wallet-page .transaction-item .transaction-icon.earning {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-light);
}
.wallet-page .transaction-item .transaction-icon.earning i {
  transform: rotate(180deg);
}
.wallet-page .transaction-item .transaction-icon.withdrawal {
  background: var(--primary-400);
  color: var(--primary-400);
}
.wallet-page .transaction-item .transaction-icon.refund {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-light);
}
.wallet-page .transaction-item .transaction-details {
  flex: 1;
  min-width: 0;
}
.wallet-page .transaction-item .transaction-details h4 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wallet-page .transaction-item .transaction-details .transaction-date {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  font-weight: var(--font-weight-normal);
}
.wallet-page .transaction-item .transaction-amount {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  flex-shrink: 0;
  margin-right: var(--spacing-3);
}
.wallet-page .transaction-item .transaction-amount.earning {
  color: var(--success-light);
}
.wallet-page .transaction-item .transaction-amount.withdrawal {
  color: var(--text-secondary);
}
.wallet-page .transaction-item .transaction-amount.refund {
  color: var(--warning-light);
}
.wallet-page .transaction-item .transaction-status {
  padding: var(--spacing-1) var(--spacing-3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.wallet-page .transaction-item .transaction-status.status-completed {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success-light);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}
.wallet-page .transaction-item .transaction-status.status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning-light);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);
}
.wallet-page .transaction-item .transaction-status.status-processing {
  background: var(--primary-alpha-15);
  color: var(--primary-400);
  box-shadow: 0 0 8px var(--primary-alpha-20);
}
.wallet-page .transaction-item .transaction-status.status-failed {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger-light);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.2);
}
.wallet-page .transaction-item .transaction-status.status-approve {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success-light);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}
.wallet-page .transactions-empty {
  text-align: center;
  padding: var(--spacing-12) var(--spacing-6);
  color: var(--text-muted);
  background: transparent !important;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--primary-alpha-15);
}
.wallet-page .transactions-empty i {
  font-size: var(--font-size-3xl);
  color: var(--text-disabled);
  margin-bottom: var(--spacing-4);
  opacity: 0.3;
}
.wallet-page .transactions-empty p {
  margin: 0;
  font-size: var(--font-size-base);
}
.wallet-page .payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}
.wallet-page .payment-method-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-5);
  background: transparent !important;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gradient-midnight);
  transition: all var(--transition-base);
  position: relative;
}
.wallet-page .payment-method-item:hover {
  border-color: var(--primary-alpha-20);
  background: var(--bg-hover);
  box-shadow: var(--shadow-sm);
}
.wallet-page .payment-method-item.primary {
  border-color: var(--gradient-midnight);
  background: var(--primary-alpha-5);
}
.wallet-page .payment-method-item.primary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-500);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: 0 0 10px var(--primary-alpha-50);
}
.wallet-page .payment-method-item .method-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--primary-400);
  color: var(--primary-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  flex-shrink: 0;
  transition: var(--transition-base);
}
.wallet-page .payment-method-item:hover .method-icon {
  transform: scale(1.05);
  box-shadow: var(--glow-subtle);
}
.wallet-page .payment-method-item .method-details {
  flex: 1;
  min-width: 0;
}
.wallet-page .payment-method-item .method-details h4 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-1);
}
.wallet-page .payment-method-item .method-details p {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wallet-page .payment-method-item .primary-badge {
  padding: var(--spacing-1) var(--spacing-3);
  background: var(--primary-500);
  color: var(--rich-black);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.wallet-page .payment-method-item .method-actions {
  display: flex;
  gap: var(--spacing-2);
  flex-shrink: 0;
}
.wallet-page .payment-method-item .method-actions button {
  padding: var(--spacing-2);
  background: transparent;
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
  color: var(--text-tertiary);
  cursor: pointer;
  transition: var(--transition-base);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wallet-page .payment-method-item .method-actions button:hover {
  border-color: var(--primary-color);
  color: var(--primary-400);
  background: var(--primary-400);
}
.wallet-page .payment-method-item .method-actions button.delete-method:hover {
  border-color: var(--danger-color);
  color: var(--danger-light);
  background: rgba(239, 68, 68, 0.1);
}
.wallet-page .payment-methods-empty {
  text-align: center;
  padding: var(--spacing-10) var(--spacing-6);
  background: transparent !important;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--primary-alpha-15);
}
.wallet-page .payment-methods-empty i {
  font-size: var(--font-size-2xl);
  color: var(--text-disabled);
  margin-bottom: var(--spacing-4);
  opacity: 0.3;
}
.wallet-page .payment-methods-empty p {
  margin: 0 0 var(--spacing-5);
  font-size: var(--font-size-base);
  color: var(--text-muted);
}
.wallet-page .payment-methods-empty .btn {
  margin-top: var(--spacing-3);
}
.wallet-page .btn .fa-plus {
  margin-bottom: 0;
}

/* ========================================
   MODAL STYLES
   ======================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-6);
  animation: fadeIn 0.3s ease;
}
.modal-overlay.closing {
  animation: fadeOut 0.3s ease;
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.modal-container {
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-2xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-container::-webkit-scrollbar {
  width: 8px;
}
.modal-container::-webkit-scrollbar-track {
  background: transparent;
}
.modal-container::-webkit-scrollbar-thumb {
  background: var(--primary-alpha-20);
  border-radius: var(--radius-md);
}
.modal-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary-alpha-30);
}

.modal-header {
  padding: var(--spacing-6);
  border-bottom: 1px solid var(--gradient-midnight);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(59, 211, 211, 0.05) 0%, transparent 100%);
}
.modal-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}
.modal-header .modal-close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid var(--gradient-midnight);
  color: var(--text-tertiary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}
.modal-header .modal-close:hover {
  border-color: var(--danger-color);
  color: var(--danger-light);
  background: rgba(239, 68, 68, 0.1);
  transform: rotate(90deg);
}
.modal-header .modal-close i {
  font-size: var(--font-size-base);
}

.modal-body {
  padding: var(--spacing-6);
}
.modal-body .form-group {
  margin-bottom: var(--spacing-5);
}
.modal-body .form-group label {
  display: block;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.modal-body .form-group label .required {
  color: var(--danger-light);
  margin-left: var(--spacing-1);
}
.modal-body .form-group input[type=text],
.modal-body .form-group input[type=email],
.modal-body .form-group input[type=number],
.modal-body .form-group select,
.modal-body .form-group textarea {
  width: 100%;
  padding: var(--spacing-3) var(--spacing-4);
  background: transparent !important;
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: var(--transition-base);
}
.modal-body .form-group input[type=text]:hover,
.modal-body .form-group input[type=email]:hover,
.modal-body .form-group input[type=number]:hover,
.modal-body .form-group select:hover,
.modal-body .form-group textarea:hover {
  border-color: var(--primary-alpha-15);
}
.modal-body .form-group input[type=text]:focus,
.modal-body .form-group input[type=email]:focus,
.modal-body .form-group input[type=number]:focus,
.modal-body .form-group select:focus,
.modal-body .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--glow-subtle);
  background: var(--bg-hover);
}
.modal-body .form-group input[type=text]::placeholder,
.modal-body .form-group input[type=email]::placeholder,
.modal-body .form-group input[type=number]::placeholder,
.modal-body .form-group select::placeholder,
.modal-body .form-group textarea::placeholder {
  color: var(--text-muted);
}
.modal-body .form-group input[type=text]:disabled,
.modal-body .form-group input[type=email]:disabled,
.modal-body .form-group input[type=number]:disabled,
.modal-body .form-group select:disabled,
.modal-body .form-group textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.modal-body .form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.modal-body .form-group .form-help {
  margin-top: var(--spacing-2);
  font-size: var(--font-size-base);
  color: var(--text-muted);
}
.modal-body .form-group .form-help.text-warning {
  color: var(--warning-light);
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}
.modal-body .form-group .form-help.text-warning i {
  flex-shrink: 0;
}
.modal-body .input-with-icon {
  position: relative;
}
.modal-body .input-with-icon .input-icon {
  position: absolute;
  left: var(--spacing-1);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  font-weight: var(--font-weight-semibold);
  pointer-events: none;
  z-index: 1;
}
.modal-body .input-with-icon input {
  padding-left: 3rem !important;
}

.withdrawal-summary {
  background: transparent !important;
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-lg);
  padding: var(--spacing-5);
  margin-top: var(--spacing-6);
  margin-bottom: var(--spacing-5);
}
.withdrawal-summary .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-3) 0;
  font-size: var(--font-size-base);
}
.withdrawal-summary .summary-row:not(:last-child) {
  border-bottom: 1px solid var(--gradient-midnight);
}
.withdrawal-summary .summary-row span:first-child {
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
}
.withdrawal-summary .summary-row span:last-child {
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
}
.withdrawal-summary .summary-row.total {
  padding-top: var(--spacing-4);
  margin-top: var(--spacing-2);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}
.withdrawal-summary .summary-row.total span:first-child {
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
}
.withdrawal-summary .summary-row.total span:last-child {
  color: var(--primary-400);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xl);
}

.payment-type-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-3);
  margin-top: var(--spacing-3);
}
.payment-type-selector .payment-type-option {
  cursor: pointer;
}
.payment-type-selector .payment-type-option input[type=radio] {
  display: none;
}
.payment-type-selector .payment-type-option input[type=radio]:checked + .payment-type-card {
  border-color: var(--primary-color);
  background: var(--primary-400);
  box-shadow: var(--glow-medium);
}
.payment-type-selector .payment-type-option input[type=radio]:checked + .payment-type-card i {
  color: var(--primary-400);
}
.payment-type-selector .payment-type-option .payment-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3);
  padding: var(--spacing-5);
  background: transparent !important;
  border: 2px solid var(--primary-alpha-15);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  min-height: 120px;
}
.payment-type-selector .payment-type-option .payment-type-card:hover {
  border-color: var(--primary-alpha-40);
  background: var(--bg-hover);
}
.payment-type-selector .payment-type-option .payment-type-card i {
  font-size: var(--font-size-2xl);
  color: var(--text-tertiary);
  transition: var(--transition-base);
}
.payment-type-selector .payment-type-option .payment-type-card span {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}
@media (max-width: 640px) {
  .payment-type-selector {
    grid-template-columns: 1fr;
  }
}

.payment-fields {
  margin-top: var(--spacing-5);
  animation: fadeIn 0.3s ease;
}

.modal-message {
  margin: var(--spacing-4) 0;
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  display: none;
}
.modal-message.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.modal-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger-light);
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.modal-message.info {
  display: block;
  background: var(--primary-alpha-15);
  color: var(--primary-400);
  border: 1px solid var(--primary-alpha-30);
}

.modal-actions {
  display: flex;
  gap: var(--spacing-3);
  justify-content: flex-end;
  margin-top: var(--spacing-6);
  padding-top: var(--spacing-5);
  border-top: 1px solid var(--gradient-midnight);
}
.modal-actions .btn {
  min-width: 120px;
}
.modal-actions .btn .btn-loader {
  margin-left: var(--spacing-2);
}
@media (max-width: 640px) {
  .modal-actions {
    flex-direction: column-reverse;
  }
  .modal-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
  .wallet-page .transaction-item {
    flex-wrap: wrap;
    gap: var(--spacing-3);
  }
  .wallet-page .transaction-item .transaction-details {
    flex-basis: 100%;
    order: 1;
  }
  .wallet-page .transaction-item .transaction-amount {
    order: 2;
    margin-right: 0;
  }
  .wallet-page .transaction-item .transaction-status {
    order: 3;
  }
  .wallet-page .payment-method-item {
    flex-wrap: wrap;
  }
  .wallet-page .payment-method-item .method-details {
    flex-basis: 100%;
  }
  .wallet-page .payment-method-item .primary-badge,
  .wallet-page .payment-method-item .method-actions {
    margin-top: var(--spacing-3);
  }
  .modal-container {
    margin: var(--spacing-4);
    max-height: calc(100vh - var(--spacing-8));
  }
}
/* ========================================
   AJAX NAVIGATION LOADING INDICATOR
   ======================================== */
.dashboard-nav-loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  background: var(--rich-black);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--spacing-6) var(--spacing-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gradient-midnight);
}
.dashboard-nav-loading.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dashboard-nav-loading .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--primary-alpha-15);
  border-top-color: var(--teal-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.dashboard-nav-loading .loading-text {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .dashboard-nav-loading {
    padding: var(--spacing-5) var(--spacing-6);
  }
  .dashboard-nav-loading .loading-spinner {
    width: 32px;
    height: 32px;
    border-width: 2px;
  }
  .dashboard-nav-loading .loading-text {
    font-size: var(--font-size-base);
  }
}
/* ========================================
   CREATOR PROFILE PAGE - MOVED TO _dashboard-profile.scss
   ======================================== */
/* ========================================
   EMPLOYER (CLIENT) DASHBOARD THEMING
   Gold accents instead of teal for employers
   ======================================== */
.dashboard-employer .dashboard-actions .btn,
.dashboard-employer .dashboard-actions .btn.btn-primary,
.dashboard-employer .dashboard-actions .btn.btn-sm,
.dashboard-employer .dashboard-actions .btn.btn-primary.btn-sm {
  background: var(--gold-400) !important;
  color: #000 !important;
}
.dashboard-employer .dashboard-actions .btn:hover, .dashboard-employer .dashboard-actions .btn:active, .dashboard-employer .dashboard-actions .btn:focus,
.dashboard-employer .dashboard-actions .btn.btn-primary:hover,
.dashboard-employer .dashboard-actions .btn.btn-primary:active,
.dashboard-employer .dashboard-actions .btn.btn-primary:focus,
.dashboard-employer .dashboard-actions .btn.btn-sm:hover,
.dashboard-employer .dashboard-actions .btn.btn-sm:active,
.dashboard-employer .dashboard-actions .btn.btn-sm:focus,
.dashboard-employer .dashboard-actions .btn.btn-primary.btn-sm:hover,
.dashboard-employer .dashboard-actions .btn.btn-primary.btn-sm:active,
.dashboard-employer .dashboard-actions .btn.btn-primary.btn-sm:focus {
  background: var(--gold-500) !important;
  color: #000 !important;
}
.dashboard-employer .sidebar-profile .profile-settings-btn:hover {
  background: rgba(230, 190, 105, 0.1);
  border-color: rgba(230, 190, 105, 0.3);
  color: var(--gold-500);
}
.dashboard-employer .dashboard-stats .stat-card:hover {
  border-color: var(--gold-500) !important;
  box-shadow: 0 4px 20px rgba(230, 190, 105, 0.1);
}
.dashboard-employer .dashboard-stats .stat-card .stat-change {
  background: var(--gold-500) !important;
  color: var(--rich-black) !important;
  box-shadow: 0 0 8px rgba(230, 190, 105, 0.4);
}
.dashboard-employer .nav-item:hover .nav-icon-wrapper {
  background: rgba(230, 190, 105, 0.15);
}
.dashboard-employer .nav-item:hover .nav-icon-wrapper i {
  color: var(--gold-500);
}
.dashboard-employer .nav-item:hover .nav-label {
  color: var(--text-primary);
}
.dashboard-employer .nav-item.active {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%) !important;
  color: var(--rich-black);
  border: 1px solid rgba(230, 190, 105, 0.3);
}
.dashboard-employer .nav-item.active span {
  color: var(--rich-black);
}
.dashboard-employer .nav-item.active .nav-icon-wrapper {
  background: rgba(230, 190, 105, 0.2);
  transform: scale(1.05);
}
.dashboard-employer .nav-item.active .nav-icon-wrapper i {
  color: var(--rich-black);
  filter: drop-shadow(0 0 8px rgba(230, 190, 105, 0.6));
}
.dashboard-employer .nav-item.active .nav-icon-wrapper::before {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  opacity: 0.3;
}
.dashboard-employer .nav-item.active .nav-label {
  font-weight: var(--font-weight-semibold);
  color: var(--rich-black);
}
.dashboard-employer .nav-item.active .nav-badge {
  background: var(--gold-500);
  color: var(--rich-black);
  box-shadow: 0 2px 12px rgba(230, 190, 105, 0.5);
}
.dashboard-employer .sidebar-section-header .section-title::after {
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
.dashboard-employer .dashboard-breadcrumbs .breadcrumb-item a {
  color: var(--gold-500);
}
.dashboard-employer .dashboard-breadcrumbs .breadcrumb-item a:hover {
  color: var(--gold-400);
}
.dashboard-employer .dashboard-loading .spinner {
  border-top-color: var(--gold-500);
}
.dashboard-employer .modal-header {
  background: linear-gradient(180deg, rgba(230, 190, 105, 0.05) 0%, transparent 100%);
}
.dashboard-employer .modal-body input:focus,
.dashboard-employer .modal-body select:focus,
.dashboard-employer .modal-body textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(230, 190, 105, 0.15);
}
.dashboard-employer .wallet-page .transaction-filter:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(230, 190, 105, 0.15);
}
.dashboard-employer .wallet-page .transaction-item:hover {
  border-color: rgba(230, 190, 105, 0.2);
  background: rgba(230, 190, 105, 0.05);
  box-shadow: 0 2px 8px rgba(230, 190, 105, 0.1);
}
.dashboard-employer .wallet-page .transaction-item.earning .transaction-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-light);
}
.dashboard-employer .wallet-page .transaction-item.withdrawal .transaction-icon {
  background: rgba(230, 190, 105, 0.1);
  color: var(--gold-500);
}
.dashboard-employer .wallet-page .transaction-item .transaction-amount.withdrawal {
  color: var(--gold-500);
}
.dashboard-employer .wallet-page .transaction-status.status-processing {
  background: rgba(230, 190, 105, 0.15);
  color: var(--gold-500);
  box-shadow: 0 0 8px rgba(230, 190, 105, 0.2);
}
.dashboard-employer .wallet-page .payment-method-item:hover {
  border-color: rgba(230, 190, 105, 0.2);
  background: rgba(230, 190, 105, 0.05);
}
.dashboard-employer .wallet-page .payment-method-item.primary::before {
  background: var(--gold-500);
  box-shadow: 0 0 10px rgba(230, 190, 105, 0.5);
}
.dashboard-employer .wallet-page .method-icon {
  background: rgba(230, 190, 105, 0.1);
  color: var(--gold-500);
}
.dashboard-employer .wallet-page .primary-badge {
  background: var(--gold-500);
  color: var(--rich-black);
}
.dashboard-employer .wallet-page .btn.btn-primary {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--rich-black) !important;
}
.dashboard-employer .wallet-page .btn.btn-primary:hover {
  background: var(--gold-600);
  border-color: var(--gold-600);
  color: var(--rich-black) !important;
}
.dashboard-employer .wallet-page .btn.btn-outline {
  border-color: var(--gold-500);
  color: var(--gold-500);
}
.dashboard-employer .wallet-page .btn.btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--brand-white) !important;
  background: var(--gold-500);
}
.dashboard-employer .withdrawal-summary .summary-row.total span:last-child {
  color: var(--gold-500);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xl);
}
.dashboard-employer .payment-type-selector .payment-type-option input:checked + .payment-type-card {
  border-color: var(--gold-500);
  background: rgba(230, 190, 105, 0.1);
  box-shadow: 0 0 0 3px rgba(230, 190, 105, 0.15);
}
.dashboard-employer .payment-type-selector .payment-type-option input:checked + .payment-type-card i {
  color: var(--gold-500);
}
.dashboard-employer .modal-close:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
  background: rgba(230, 190, 105, 0.1);
}
.dashboard-employer .modal-message.info {
  background: rgba(230, 190, 105, 0.15);
  color: var(--gold-500);
  border: 1px solid rgba(230, 190, 105, 0.3);
}
.dashboard-employer .dashboard-card .card-header .btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--rich-black);
  background: var(--gold-500);
}
.dashboard-employer .tab-link.active {
  color: var(--gold-500) !important;
  border-color: var(--gold-500) !important;
}
.dashboard-employer .card-title {
  color: var(--text-primary);
}
.dashboard-employer .card-meta {
  color: var(--text-secondary);
}
.dashboard-employer .card-content {
  color: var(--text-secondary);
}
.dashboard-employer .card-proposals {
  color: var(--text-primary);
}
.dashboard-employer .checkbox-group__label {
  color: var(--text-primary);
}
.dashboard-employer .checkbox-group.checkbox-selected {
  border-color: var(--gold-500);
}
.dashboard-employer .checkbox-group.checkbox-selected .checkbox-group__label {
  color: white;
}
.dashboard-employer .style-tag {
  border-color: var(--primary-alpha-15);
}
.dashboard-employer .style-tag:hover {
  border-color: var(--gold-500);
}
.dashboard-employer .style-tag--selected {
  border-color: var(--gold-500);
  background: rgba(230, 190, 105, 0.1);
}
.dashboard-employer .style-tag__label {
  color: var(--text-primary);
}
.dashboard-employer .matching-estimate {
  color: var(--gold-500);
  font-weight: var(--font-weight-semibold);
}
.dashboard-employer .draft-status {
  background: rgba(230, 190, 105, 0.15);
  color: var(--gold-500);
  border: 1px solid rgba(230, 190, 105, 0.3);
}
.dashboard-employer .input-wrapper {
  position: relative;
}
.dashboard-employer .input-wrapper:focus-within .input-icon {
  color: var(--gold-500);
}
.dashboard-employer .input-wrapper input:focus,
.dashboard-employer .input-wrapper select:focus,
.dashboard-employer .input-wrapper textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(230, 190, 105, 0.15);
}
.dashboard-employer .btn.btn-outline {
  border-color: var(--primary-alpha-15);
  color: var(--text-primary);
}
.dashboard-employer .btn.btn-outline:hover, .dashboard-employer .btn.btn-outline:focus {
  border-color: var(--gold-500);
  color: var(--gold-500);
  background: rgba(230, 190, 105, 0.1);
}
.dashboard-employer .project-item:hover {
  border-color: rgba(230, 190, 105, 0.3);
  background: rgba(230, 190, 105, 0.05);
}
.dashboard-employer .project-item .project-value {
  color: var(--gold-500);
}
.dashboard-employer .project-room-card:hover {
  border-color: rgba(230, 190, 105, 0.4);
}
.dashboard-employer .project-room-card__meta i {
  color: var(--gold-500);
}
.dashboard-employer .project-room-card__budget, .dashboard-employer .project-room-card__deadline {
  color: var(--text-secondary);
}
.dashboard-employer .status-badge.status-active {
  background: rgba(230, 190, 105, 0.15);
  color: var(--gold-500);
  border: 1px solid rgba(230, 190, 105, 0.3);
}
.dashboard-employer .dashboard-loading .loading-spinner {
  border-top-color: var(--gold-500);
}
.dashboard-employer .dashboard-nav-loading .loading-spinner {
  border-top-color: var(--gold-500);
}
.dashboard-employer .nav-item:focus {
  box-shadow: 0 0 0 3px rgba(230, 190, 105, 0.3);
}
.dashboard-employer::-webkit-scrollbar-thumb {
  background: var(--gold-alpha-20);
}
.dashboard-employer::-webkit-scrollbar-thumb:hover {
  background: var(--gold-alpha-30);
}
.dashboard-sidebar .dashboard-employer::-webkit-scrollbar-thumb {
  background: var(--gold-alpha-20);
}
.dashboard-sidebar .dashboard-employer::-webkit-scrollbar-thumb:hover {
  background: var(--gold-alpha-30);
}
.modal-container .dashboard-employer::-webkit-scrollbar-thumb {
  background: var(--gold-alpha-20);
}
.modal-container .dashboard-employer::-webkit-scrollbar-thumb:hover {
  background: var(--gold-alpha-30);
}

/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
@media (max-width: 768px) {
  body.light-theme .dashboard-bottom-nav {
    background: rgba(245, 249, 249, 0.96);
    border-top-color: var(--border-subtle);
  }
}

/**
 * Dashboard Profile Page Redesign
 * Modern, simple, and polished design inspired by Airbnb, Instagram, and Twitter
 * Dark theme with Dreamers X branding (#3BD3D3)
 */
.creator-profile-page .dashboard-main-content,
.employer-profile-page .dashboard-main-content {
  padding: var(--spacing-8) var(--spacing-10);
  max-width: 100%;
  margin-left: 280px;
}
@media (max-width: 767px) {
  .creator-profile-page .dashboard-main-content,
  .employer-profile-page .dashboard-main-content {
    margin-left: 0;
    padding: var(--spacing-6) var(--spacing-4);
  }
}
.creator-profile-page .waitlist-profile-content,
.employer-profile-page .waitlist-profile-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-8) var(--spacing-6);
}
@media (max-width: 767px) {
  .creator-profile-page .waitlist-profile-content,
  .employer-profile-page .waitlist-profile-content {
    padding: var(--spacing-6) var(--spacing-4);
  }
}
.creator-profile-page,
.employer-profile-page {
  /* ========================================
     PROFILE HEADER (Instagram/Twitter Inspired)
     ======================================== */
}
.creator-profile-page .profile-header-card,
.employer-profile-page .profile-header-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-bottom: var(--spacing-8);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.creator-profile-page .profile-header-card .profile-banner-area,
.employer-profile-page .profile-header-card .profile-banner-area {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--midnight-start, #1a2a2a) 0%, var(--midnight-end, #2d3a3a) 100%);
  transform: translateZ(0);
  will-change: transform;
}
.creator-profile-page .profile-header-card .profile-banner-area .banner-video-preview,
.employer-profile-page .profile-header-card .profile-banner-area .banner-video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.creator-profile-page .profile-header-card .profile-banner-area .banner-overlay,
.employer-profile-page .profile-header-card .profile-banner-area .banner-overlay {
  position: absolute;
  top: var(--spacing-4);
  right: var(--spacing-4);
  z-index: 10;
  transform: translateZ(0);
}
.creator-profile-page .profile-header-card .profile-header-content,
.employer-profile-page .profile-header-card .profile-header-content {
  padding: 0 var(--spacing-8) var(--spacing-8);
  display: flex;
  align-items: center;
  gap: var(--spacing-6);
  margin-top: -60px;
  position: relative;
  z-index: 5;
  transform: translateZ(0);
}
@media (max-width: 767px) {
  .creator-profile-page .profile-header-card .profile-header-content,
  .employer-profile-page .profile-header-card .profile-header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -50px;
    padding: 0 var(--spacing-4) var(--spacing-6);
  }
}
.creator-profile-page .profile-header-card .profile-avatar-wrapper,
.employer-profile-page .profile-header-card .profile-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}
.creator-profile-page .profile-header-card .profile-avatar-wrapper .profile-picture-preview,
.employer-profile-page .profile-header-card .profile-avatar-wrapper .profile-picture-preview {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--rich-black);
  background: var(--bg-elevated);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}
.creator-profile-page .profile-header-card .profile-avatar-wrapper .profile-picture-preview img,
.employer-profile-page .profile-header-card .profile-avatar-wrapper .profile-picture-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-profile-page .profile-header-card .profile-avatar-wrapper .avatar-edit-badge,
.employer-profile-page .profile-header-card .profile-avatar-wrapper .avatar-edit-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 3px solid var(--rich-black);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
}
.creator-profile-page .profile-header-card .profile-avatar-wrapper .avatar-edit-badge:hover,
.employer-profile-page .profile-header-card .profile-avatar-wrapper .avatar-edit-badge:hover {
  background: var(--primary-400);
  transform: scale(1.1);
}
.creator-profile-page .profile-header-card .profile-avatar-wrapper .avatar-edit-badge i,
.employer-profile-page .profile-header-card .profile-avatar-wrapper .avatar-edit-badge i {
  font-size: var(--font-size-base);
}
.creator-profile-page .profile-header-card .profile-header-info,
.employer-profile-page .profile-header-card .profile-header-info {
  flex: 1;
  padding-bottom: var(--spacing-2);
}
.creator-profile-page .profile-header-card .profile-header-info .display-name,
.employer-profile-page .profile-header-card .profile-header-info .display-name {
  font-family: var(--font-family-logo);
  font-size: var(--font-size-3xl) !important;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-1);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.creator-profile-page .profile-header-card .profile-header-info .username-tag,
.employer-profile-page .profile-header-card .profile-header-info .username-tag {
  font-size: var(--font-size-base);
  color: var(--brand-white);
  font-weight: var(--font-weight-semibold);
}
.creator-profile-page .profile-header-card .profile-header-info .username-tag::before,
.employer-profile-page .profile-header-card .profile-header-info .username-tag::before {
  content: "@";
  opacity: 0.7;
}
.creator-profile-page .profile-header-card .profile-header-actions,
.employer-profile-page .profile-header-card .profile-header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding-bottom: var(--spacing-4);
}
@media (max-width: 767px) {
  .creator-profile-page .profile-header-card .profile-header-actions,
  .employer-profile-page .profile-header-card .profile-header-actions {
    width: 100%;
    justify-content: center;
  }
}
.creator-profile-page,
.employer-profile-page {
  /* ========================================
     FORM SECTIONS (Airbnb Inspired)
     ======================================== */
}
.creator-profile-page .form-card,
.employer-profile-page .form-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-8) !important;
  margin-bottom: var(--spacing-6) !important;
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: 1fr !important;
  gap: var(--spacing-10) !important;
}
@media (max-width: 767px) {
  .creator-profile-page .form-card,
  .employer-profile-page .form-card {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-6) !important;
    padding: var(--spacing-6) !important;
  }
}
.creator-profile-page .form-card .form-header,
.employer-profile-page .form-card .form-header {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
@media (max-width: 767px) {
  .creator-profile-page .form-card .form-header,
  .employer-profile-page .form-card .form-header {
    margin-bottom: var(--spacing-6);
    border-bottom: 1px solid var(--gradient-midnight);
    padding-bottom: var(--spacing-4);
  }
}
.creator-profile-page .form-card .form-header .form-title,
.employer-profile-page .form-card .form-header .form-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-2);
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}
.creator-profile-page .form-card .form-header .form-title i,
.employer-profile-page .form-card .form-header .form-title i {
  color: var(--primary-400);
  font-size: var(--font-size-base);
  opacity: 0.8;
}
.creator-profile-page .form-card .form-header .form-description,
.employer-profile-page .form-card .form-header .form-description {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  max-width: 100%;
  line-height: 1.6;
}
.creator-profile-page .form-card .form-content,
.employer-profile-page .form-card .form-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
}
.creator-profile-page,
.employer-profile-page {
  /* ========================================
     GRID LAYOUT FOR FORM ROWS
     ======================================== */
}
.creator-profile-page .form-row,
.employer-profile-page .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-6);
}
@media (max-width: 767px) {
  .creator-profile-page .form-row,
  .employer-profile-page .form-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
  }
}
.creator-profile-page .form-row--three,
.employer-profile-page .form-row--three {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 767px) {
  .creator-profile-page .form-row--three,
  .employer-profile-page .form-row--three {
    grid-template-columns: 1fr;
  }
}
.creator-profile-page,
.employer-profile-page {
  /* ========================================
     SKILLS SECTION (Modern Tag Style)
     ======================================== */
}
.creator-profile-page .category-checkboxes,
.employer-profile-page .category-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(33.33%, 1fr));
  gap: var(--spacing-3);
}
@media (max-width: 767px) {
  .creator-profile-page .category-checkboxes,
  .employer-profile-page .category-checkboxes {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}
.creator-profile-page .category-checkboxes .form-row,
.employer-profile-page .category-checkboxes .form-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
}
.creator-profile-page .category-checkbox-label,
.employer-profile-page .category-checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-2) var(--spacing-4);
  background: var(--gradient-midnight);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
}
.creator-profile-page .category-checkbox-label:hover,
.employer-profile-page .category-checkbox-label:hover {
  background: var(--gradient-midnight);
  border-color: var(--gradient-midnight);
  transform: translateY(-2px);
}
.creator-profile-page .category-checkbox-label .category-checkbox-input,
.employer-profile-page .category-checkbox-label .category-checkbox-input {
  display: none;
}
.creator-profile-page .category-checkbox-label .category-checkbox-input:checked + .category-checkbox-content .category-checkbox-icon-wrapper,
.employer-profile-page .category-checkbox-label .category-checkbox-input:checked + .category-checkbox-content .category-checkbox-icon-wrapper {
  background: var(--primary-400);
  color: #000;
  box-shadow: var(--glow-subtle);
}
.creator-profile-page .category-checkbox-label .category-checkbox-input:checked + .category-checkbox-content .category-checkbox-text,
.employer-profile-page .category-checkbox-label .category-checkbox-input:checked + .category-checkbox-content .category-checkbox-text {
  color: var(--text-primary);
  font-weight: var(--font-weight-bold);
}
.creator-profile-page .category-checkbox-label:has(input:checked),
.employer-profile-page .category-checkbox-label:has(input:checked) {
  border: 1px solid var(--midnight-end);
  background: var(--gradient-midnight);
}
.creator-profile-page .category-checkbox-label .category-checkbox-content,
.employer-profile-page .category-checkbox-label .category-checkbox-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  width: 100%;
}
.creator-profile-page .category-checkbox-label .category-checkbox-icon-wrapper,
.employer-profile-page .category-checkbox-label .category-checkbox-icon-wrapper {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-tertiary);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.creator-profile-page .category-checkbox-label .category-checkbox-icon-wrapper svg,
.employer-profile-page .category-checkbox-label .category-checkbox-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.creator-profile-page .category-checkbox-label .category-checkbox-text,
.employer-profile-page .category-checkbox-label .category-checkbox-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.creator-profile-page,
.employer-profile-page {
  /* ========================================
     PORTFOLIO SECTION (Instagram Inspired)
     ======================================== */
}
.creator-profile-page .portfolio-dropzone,
.employer-profile-page .portfolio-dropzone {
  border: none;
  border-radius: 0;
  padding: var(--spacing-4) 0;
  text-align: center;
  background: transparent;
  cursor: pointer;
  transition: color 0.3s ease;
  margin-bottom: var(--spacing-4);
}
.creator-profile-page .portfolio-dropzone:hover .dropzone-icon, .creator-profile-page .portfolio-dropzone.dragging .dropzone-icon,
.employer-profile-page .portfolio-dropzone:hover .dropzone-icon,
.employer-profile-page .portfolio-dropzone.dragging .dropzone-icon {
  color: var(--primary-400);
  transform: translateY(-5px);
}
.creator-profile-page .portfolio-dropzone:hover .dropzone-text, .creator-profile-page .portfolio-dropzone.dragging .dropzone-text,
.employer-profile-page .portfolio-dropzone:hover .dropzone-text,
.employer-profile-page .portfolio-dropzone.dragging .dropzone-text {
  color: var(--primary-400);
}
.creator-profile-page .portfolio-dropzone .dropzone-icon,
.employer-profile-page .portfolio-dropzone .dropzone-icon {
  font-size: var(--font-size-xl);
  color: var(--text-disabled);
  margin-bottom: var(--spacing-4);
  transition: all 0.3s ease;
}
.creator-profile-page .portfolio-dropzone .dropzone-text,
.employer-profile-page .portfolio-dropzone .dropzone-text {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-1);
}
.creator-profile-page .portfolio-dropzone .dropzone-hint,
.employer-profile-page .portfolio-dropzone .dropzone-hint {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
}
.creator-profile-page .portfolio-items-grid,
.employer-profile-page .portfolio-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: var(--spacing-4);
  width: 100%;
}
@media (max-width: 767px) {
  .creator-profile-page .portfolio-items-grid,
  .employer-profile-page .portfolio-items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-2);
  }
}
.creator-profile-page .portfolio-item,
.employer-profile-page .portfolio-item {
  aspect-ratio: 1;
  min-width: 0;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--midnight-end);
  transition: all 0.3s ease;
  opacity: 1;
}
.creator-profile-page .portfolio-item:hover,
.employer-profile-page .portfolio-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
  z-index: 10;
}
.creator-profile-page .portfolio-item:hover .portfolio-item-overlay,
.employer-profile-page .portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}
.creator-profile-page .portfolio-item:hover .portfolio-item-media img,
.creator-profile-page .portfolio-item:hover .portfolio-item-media video,
.employer-profile-page .portfolio-item:hover .portfolio-item-media img,
.employer-profile-page .portfolio-item:hover .portfolio-item-media video {
  transform: scale(1.1);
}
.creator-profile-page .portfolio-item .portfolio-item-media,
.employer-profile-page .portfolio-item .portfolio-item-media {
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.creator-profile-page .portfolio-item .portfolio-item-media img, .creator-profile-page .portfolio-item .portfolio-item-media video,
.employer-profile-page .portfolio-item .portfolio-item-media img,
.employer-profile-page .portfolio-item .portfolio-item-media video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 1;
}
.creator-profile-page .portfolio-item .portfolio-item-media .portfolio-item-placeholder,
.employer-profile-page .portfolio-item .portfolio-item-media .portfolio-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  color: var(--text-disabled);
}
.creator-profile-page .portfolio-item .portfolio-item-media .portfolio-item-placeholder svg,
.employer-profile-page .portfolio-item .portfolio-item-media .portfolio-item-placeholder svg {
  width: 40px;
  height: 40px;
}
.creator-profile-page .portfolio-item .portfolio-item-type,
.employer-profile-page .portfolio-item .portfolio-item-type {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  color: white;
  z-index: 2;
}
.creator-profile-page .portfolio-item .portfolio-item-overlay,
.employer-profile-page .portfolio-item .portfolio-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 5;
}
.creator-profile-page .portfolio-item .portfolio-item-overlay .portfolio-item-edit,
.creator-profile-page .portfolio-item .portfolio-item-overlay .portfolio-item-remove,
.employer-profile-page .portfolio-item .portfolio-item-overlay .portfolio-item-edit,
.employer-profile-page .portfolio-item .portfolio-item-overlay .portfolio-item-remove {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: var(--font-size-base);
  margin: 0 4px;
}
.creator-profile-page .portfolio-item .portfolio-item-overlay .portfolio-item-edit,
.employer-profile-page .portfolio-item .portfolio-item-overlay .portfolio-item-edit {
  background: rgba(59, 211, 211, 0.85);
}
.creator-profile-page .portfolio-item .portfolio-item-overlay .portfolio-item-edit:hover,
.employer-profile-page .portfolio-item .portfolio-item-overlay .portfolio-item-edit:hover {
  background: var(--primary-400);
  transform: scale(1.1);
}
.creator-profile-page .portfolio-item .portfolio-item-overlay .portfolio-item-remove,
.employer-profile-page .portfolio-item .portfolio-item-overlay .portfolio-item-remove {
  background: rgba(239, 68, 68, 0.9);
}
.creator-profile-page .portfolio-item .portfolio-item-overlay .portfolio-item-remove:hover,
.employer-profile-page .portfolio-item .portfolio-item-overlay .portfolio-item-remove:hover {
  background: var(--danger-color);
  transform: scale(1.1);
}
.creator-profile-page .portfolio-item .portfolio-item-details,
.employer-profile-page .portfolio-item .portfolio-item-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  padding: var(--spacing-2);
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
}
.creator-profile-page .portfolio-item .portfolio-item-details .portfolio-item-title,
.creator-profile-page .portfolio-item .portfolio-item-details .portfolio-item-category,
.employer-profile-page .portfolio-item .portfolio-item-details .portfolio-item-title,
.employer-profile-page .portfolio-item .portfolio-item-details .portfolio-item-category {
  width: 100%;
  padding: 4px 6px;
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  cursor: pointer;
}
.creator-profile-page .portfolio-item .portfolio-item-details .portfolio-item-title:focus,
.creator-profile-page .portfolio-item .portfolio-item-details .portfolio-item-category:focus,
.employer-profile-page .portfolio-item .portfolio-item-details .portfolio-item-title:focus,
.employer-profile-page .portfolio-item .portfolio-item-details .portfolio-item-category:focus {
  outline: none;
  border-color: var(--primary-400);
}
.creator-profile-page .portfolio-item .portfolio-item-details .portfolio-item-description,
.employer-profile-page .portfolio-item .portfolio-item-details .portfolio-item-description {
  width: 100%;
  padding: 4px 6px;
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  resize: none;
  font-family: inherit;
}
.creator-profile-page .portfolio-item .portfolio-item-details .portfolio-item-description::placeholder,
.employer-profile-page .portfolio-item .portfolio-item-details .portfolio-item-description::placeholder {
  color: var(--text-disabled);
}
.creator-profile-page .portfolio-item .portfolio-item-details .portfolio-item-description:focus,
.employer-profile-page .portfolio-item .portfolio-item-details .portfolio-item-description:focus {
  outline: none;
  border-color: var(--primary-400);
}
.creator-profile-page,
.employer-profile-page {
  /* ========================================
     FOOTER ACTIONS
     ======================================== */
}
.creator-profile-page .form-footer,
.employer-profile-page .form-footer {
  bottom: var(--spacing-6);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-xl);
  padding: var(--spacing-4) var(--spacing-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  margin-top: var(--spacing-10);
}
@media (max-width: 767px) {
  .creator-profile-page .form-footer,
  .employer-profile-page .form-footer {
    flex-direction: column;
    gap: var(--spacing-4);
    padding: var(--spacing-6);
    bottom: var(--spacing-2);
  }
}
.creator-profile-page .form-footer .form-note,
.employer-profile-page .form-footer .form-note {
  color: var(--text-tertiary);
  font-size: var(--font-size-base);
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}
.creator-profile-page .form-footer .btn-submit,
.employer-profile-page .form-footer .btn-submit {
  padding: var(--spacing-3) var(--spacing-10);
  font-size: var(--font-size-lg);
  background: var(--primary-400) !important;
  color: #000000 !important;
  border-color: var(--primary-400) !important;
  box-shadow: none;
}
.creator-profile-page .form-footer .btn-submit:hover,
.employer-profile-page .form-footer .btn-submit:hover {
  background: var(--primary-500) !important;
  border-color: var(--primary-500) !important;
  box-shadow: none;
}

/* ========================================
   REUSABLE FORM COMPONENT OVERRIDES
   ======================================== */
.creator-profile-page .form-group,
.employer-profile-page .form-group {
  margin-bottom: 0;
}
.creator-profile-page .form-group .form-label,
.employer-profile-page .form-group .form-label {
  margin-bottom: var(--spacing-2);
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--text-primary);
  text-transform: capitalize;
  letter-spacing: 0.05em;
}
.creator-profile-page .form-group .form-control,
.employer-profile-page .form-group .form-control {
  background: var(--bg-input);
  border: 1px solid hsla(0, 0%, 100%, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--spacing-4);
  color: var(--text-primary);
  transition: all 0.2s ease;
}
.creator-profile-page .form-group .form-control:focus,
.employer-profile-page .form-group .form-control:focus {
  border-color: var(--primary-500);
  background: var(--bg-input);
  box-shadow: 0 0 0 3px var(--primary-alpha-15);
}
.creator-profile-page .form-group.has-icon .input-wrapper,
.employer-profile-page .form-group.has-icon .input-wrapper {
  position: relative;
}
.creator-profile-page .form-group.has-icon .input-wrapper .input-icon,
.employer-profile-page .form-group.has-icon .input-wrapper .input-icon {
  position: absolute;
  left: var(--spacing-1);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  z-index: 1;
}
.creator-profile-page .form-group.has-icon .input-wrapper .form-control,
.employer-profile-page .form-group.has-icon .input-wrapper .form-control {
  padding-left: 3rem;
}
.creator-profile-page .tags-input-wrapper .tags-display,
.employer-profile-page .tags-input-wrapper .tags-display {
  background: var(--bg-input);
  border: 1px solid hsla(0, 0%, 100%, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--spacing-4);
}
.creator-profile-page .tags-input-wrapper .tags-display:focus-within,
.employer-profile-page .tags-input-wrapper .tags-display:focus-within {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-alpha-15);
}
.creator-profile-page .tags-input-wrapper .tags-display .tag-item,
.employer-profile-page .tags-input-wrapper .tags-display .tag-item {
  background: var(--gradient-midnight);
  border: 1px solid hsla(0, 0%, 100%, 0.12);
  color: var(--brand-white);
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-lg);
  padding: var(--spacing-1) var(--spacing-3);
}
.creator-profile-page .tags-input-wrapper .tags-display .tag-item .remove-tag,
.employer-profile-page .tags-input-wrapper .tags-display .tag-item .remove-tag {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.creator-profile-page .tags-input-wrapper .tags-display .tag-item .remove-tag:hover,
.employer-profile-page .tags-input-wrapper .tags-display .tag-item .remove-tag:hover {
  color: var(--brand-white);
}
.creator-profile-page .tags-input-wrapper .tags-display input,
.employer-profile-page .tags-input-wrapper .tags-display input {
  color: var(--text-primary);
  font-size: var(--font-size-base);
}
.creator-profile-page .tags-input-wrapper .tags-display input::placeholder,
.employer-profile-page .tags-input-wrapper .tags-display input::placeholder {
  color: var(--text-tertiary);
}
.creator-profile-page .price-input-wrapper,
.employer-profile-page .price-input-wrapper {
  position: relative;
}
.creator-profile-page .price-input-wrapper .currency-symbol,
.employer-profile-page .price-input-wrapper .currency-symbol {
  position: absolute;
  left: var(--spacing-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-400);
  font-weight: var(--font-weight-bold);
  z-index: 1;
  padding: 0;
  border: none;
}
.creator-profile-page .price-input-wrapper .price-input,
.employer-profile-page .price-input-wrapper .price-input {
  padding-left: 2rem !important;
}
.creator-profile-page .bio-counter-wrapper,
.employer-profile-page .bio-counter-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--spacing-2);
}
.creator-profile-page .bio-counter-wrapper .field-help,
.employer-profile-page .bio-counter-wrapper .field-help {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
}
.creator-profile-page .bio-counter-wrapper .bio-counter,
.employer-profile-page .bio-counter-wrapper .bio-counter {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md, 8px);
  color: var(--text-muted);
}
.creator-profile-page .bio-counter-wrapper .bio-counter.warning,
.employer-profile-page .bio-counter-wrapper .bio-counter.warning {
  color: var(--warning-color);
  background: rgba(245, 158, 11, 0.1);
}
.creator-profile-page .bio-counter-wrapper .bio-counter.danger,
.employer-profile-page .bio-counter-wrapper .bio-counter.danger {
  color: var(--danger-color);
  background: rgba(239, 68, 68, 0.1);
}

/* ========================================
   LIGHT THEME OVERRIDES
   ======================================== */
body.light-theme .creator-profile-page .profile-header-card,
body.light-theme .employer-profile-page .profile-header-card {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
body.light-theme .creator-profile-page .profile-picture-preview,
body.light-theme .employer-profile-page .profile-picture-preview {
  border-color: var(--bg-card);
  box-shadow: 0 0 0 2px var(--border-subtle), var(--shadow-md);
}
body.light-theme .creator-profile-page .avatar-edit-badge,
body.light-theme .employer-profile-page .avatar-edit-badge {
  border-color: var(--bg-card);
}
body.light-theme .creator-profile-page .form-card,
body.light-theme .employer-profile-page .form-card {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
body.light-theme .creator-profile-page .form-card:hover,
body.light-theme .employer-profile-page .form-card:hover {
  background: var(--bg-card);
  border-color: var(--border-default);
}
body.light-theme .creator-profile-page .form-header,
body.light-theme .employer-profile-page .form-header {
  border-bottom-color: var(--border-subtle);
}
body.light-theme .creator-profile-page .category-checkbox-label,
body.light-theme .employer-profile-page .category-checkbox-label {
  background: var(--bg-elevated);
  border-color: var(--border-subtle);
}
body.light-theme .creator-profile-page .category-checkbox-label:hover,
body.light-theme .employer-profile-page .category-checkbox-label:hover {
  background: var(--bg-muted);
  border-color: var(--border-default);
}
body.light-theme .creator-profile-page .category-checkbox-label .category-checkbox-icon-wrapper,
body.light-theme .employer-profile-page .category-checkbox-label .category-checkbox-icon-wrapper {
  background: var(--bg-card);
  color: var(--text-secondary);
}
body.light-theme .creator-profile-page .portfolio-dropzone,
body.light-theme .employer-profile-page .portfolio-dropzone {
  background: transparent;
}
body.light-theme .creator-profile-page .portfolio-item-details,
body.light-theme .employer-profile-page .portfolio-item-details {
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}
body.light-theme .creator-profile-page .portfolio-item-details .portfolio-item-title,
body.light-theme .creator-profile-page .portfolio-item-details .portfolio-item-category,
body.light-theme .creator-profile-page .portfolio-item-details .portfolio-item-description,
body.light-theme .employer-profile-page .portfolio-item-details .portfolio-item-title,
body.light-theme .employer-profile-page .portfolio-item-details .portfolio-item-category,
body.light-theme .employer-profile-page .portfolio-item-details .portfolio-item-description {
  background: #ffffff;
  border-color: var(--border-subtle);
  color: var(--text-primary);
}
body.light-theme .creator-profile-page .portfolio-item-details .portfolio-item-title::placeholder,
body.light-theme .creator-profile-page .portfolio-item-details .portfolio-item-category::placeholder,
body.light-theme .creator-profile-page .portfolio-item-details .portfolio-item-description::placeholder,
body.light-theme .employer-profile-page .portfolio-item-details .portfolio-item-title::placeholder,
body.light-theme .employer-profile-page .portfolio-item-details .portfolio-item-category::placeholder,
body.light-theme .employer-profile-page .portfolio-item-details .portfolio-item-description::placeholder {
  color: var(--text-tertiary);
}
body.light-theme .creator-profile-page .portfolio-item-details .portfolio-item-title:focus,
body.light-theme .creator-profile-page .portfolio-item-details .portfolio-item-category:focus,
body.light-theme .creator-profile-page .portfolio-item-details .portfolio-item-description:focus,
body.light-theme .employer-profile-page .portfolio-item-details .portfolio-item-title:focus,
body.light-theme .employer-profile-page .portfolio-item-details .portfolio-item-category:focus,
body.light-theme .employer-profile-page .portfolio-item-details .portfolio-item-description:focus {
  background: #ffffff;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-alpha-15);
}
body.light-theme .creator-profile-page .form-footer,
body.light-theme .employer-profile-page .form-footer {
  background: var(--bg-card);
  border-color: var(--border-subtle);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.07);
}
body.light-theme .creator-profile-page .form-footer .form-note,
body.light-theme .employer-profile-page .form-footer .form-note {
  color: var(--text-secondary);
}
body.light-theme .creator-profile-page .form-group .form-label,
body.light-theme .creator-profile-page .form-group label,
body.light-theme .employer-profile-page .form-group .form-label,
body.light-theme .employer-profile-page .form-group label {
  color: var(--text-primary) !important;
}
body.light-theme .creator-profile-page .form-group .form-control,
body.light-theme .employer-profile-page .form-group .form-control {
  background: var(--bg-input) !important;
  border-color: var(--border-subtle);
  color: var(--text-primary) !important;
}
body.light-theme .creator-profile-page .form-group .form-control:focus,
body.light-theme .employer-profile-page .form-group .form-control:focus {
  background: var(--bg-input) !important;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.12);
}
body.light-theme .creator-profile-page .form-group .form-control::placeholder,
body.light-theme .employer-profile-page .form-group .form-control::placeholder {
  color: var(--text-tertiary) !important;
}
body.light-theme .creator-profile-page .form-group .price-input-wrapper input,
body.light-theme .creator-profile-page .form-group .price-input-wrapper .form-control,
body.light-theme .creator-profile-page .form-group .price-input-wrapper .price-input,
body.light-theme .employer-profile-page .form-group .price-input-wrapper input,
body.light-theme .employer-profile-page .form-group .price-input-wrapper .form-control,
body.light-theme .employer-profile-page .form-group .price-input-wrapper .price-input {
  background: var(--bg-input) !important;
  color: var(--text-primary) !important;
}
body.light-theme .creator-profile-page .form-group .price-input-wrapper input:focus,
body.light-theme .creator-profile-page .form-group .price-input-wrapper .form-control:focus,
body.light-theme .creator-profile-page .form-group .price-input-wrapper .price-input:focus,
body.light-theme .employer-profile-page .form-group .price-input-wrapper input:focus,
body.light-theme .employer-profile-page .form-group .price-input-wrapper .form-control:focus,
body.light-theme .employer-profile-page .form-group .price-input-wrapper .price-input:focus {
  background: var(--bg-input) !important;
}
body.light-theme .creator-profile-page .form-group .price-input-wrapper input::placeholder,
body.light-theme .creator-profile-page .form-group .price-input-wrapper .form-control::placeholder,
body.light-theme .creator-profile-page .form-group .price-input-wrapper .price-input::placeholder,
body.light-theme .employer-profile-page .form-group .price-input-wrapper input::placeholder,
body.light-theme .employer-profile-page .form-group .price-input-wrapper .form-control::placeholder,
body.light-theme .employer-profile-page .form-group .price-input-wrapper .price-input::placeholder {
  color: var(--text-tertiary) !important;
}
body.light-theme .creator-profile-page .bio-counter,
body.light-theme .employer-profile-page .bio-counter {
  background: var(--bg-elevated);
  color: var(--text-secondary);
}
body.light-theme .creator-profile-page .tags-input-wrapper .tags-display,
body.light-theme .employer-profile-page .tags-input-wrapper .tags-display {
  background: var(--bg-input) !important;
  border-color: var(--border-subtle);
}
body.light-theme .creator-profile-page .tags-input-wrapper .tags-display:focus-within,
body.light-theme .employer-profile-page .tags-input-wrapper .tags-display:focus-within {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.12);
}
body.light-theme .creator-profile-page .tags-input-wrapper .tags-display input,
body.light-theme .employer-profile-page .tags-input-wrapper .tags-display input {
  background: transparent !important;
  color: var(--text-primary) !important;
}
body.light-theme .creator-profile-page .tags-input-wrapper .tags-display input::placeholder,
body.light-theme .employer-profile-page .tags-input-wrapper .tags-display input::placeholder {
  color: var(--text-tertiary) !important;
}
body.light-theme .creator-profile-page .tags-input-wrapper .tags-display .tag-item,
body.light-theme .employer-profile-page .tags-input-wrapper .tags-display .tag-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

/* ========================================
   LOADING OVERLAY
   ======================================== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.loading-overlay.active {
  display: flex;
}
.loading-overlay .loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(59, 211, 211, 0.2);
  border-top-color: var(--primary-400);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/**
 * Creator Registration Page
 * Reuses .creator-profile-page / _dashboard-profile.scss base styles.
 * Only registration-specific additions are defined here.
 */
.creator-registration-page .tags-input-wrapper .tags-display {
  background: var(--bg-input);
  border: 1px solid hsla(0, 0%, 100%, 0.12);
  border-radius: var(--radius-lg);
  padding: 0;
  margin-bottom: 0 !important;
}
.creator-registration-page .tags-input-wrapper .tags-display:focus-within {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-alpha-15);
}
.creator-registration-page .form-row {
  grid-template-columns: 1fr !important;
}
@media (min-width: 768px) {
  .creator-registration-page .form-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
.creator-registration-page .registration-header {
  text-align: center;
}
.creator-registration-page .registration-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-3);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.creator-registration-page .registration-header h1 .highlight {
  background: var(--primary-400);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.creator-registration-page .registration-header p {
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  margin: 0 0 0 0 !important;
}
.creator-registration-page .registration-badge {
  display: inline-block;
  background: var(--primary-400);
  color: #000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  margin: var(--spacing-4);
}
.creator-registration-page .profile-picture-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color 0.2s ease;
}
.creator-registration-page .profile-picture-placeholder svg {
  margin-bottom: var(--spacing-2);
  opacity: 0.6;
}
.creator-registration-page .profile-picture-placeholder span {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}
.creator-registration-page .profile-avatar-wrapper:hover .profile-picture-placeholder {
  color: var(--primary-500);
}
.creator-registration-page .profile-picture-preview .profile-picture-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}
.creator-registration-page .profile-picture-preview .profile-picture-overlay button {
  background: rgba(59, 211, 211, 0.9);
  color: #0a0a0a;
  border: none;
  padding: 6px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
}
.creator-registration-page .profile-picture-preview .profile-picture-overlay .btn-remove-picture {
  background: rgba(239, 68, 68, 0.9) !important;
  color: white !important;
}
.creator-registration-page .profile-picture-preview:hover .profile-picture-overlay {
  opacity: 1;
}
.creator-registration-page .field-message {
  display: block;
  margin-top: var(--spacing-1);
  font-size: var(--font-size-sm);
}
.creator-registration-page .field-message.success {
  color: #10b981;
}
.creator-registration-page .field-message.error {
  color: var(--danger-color, #ef4444);
}
.creator-registration-page .field-error-message {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--danger-color, #ef4444);
}
.creator-registration-page .field-error-message:empty {
  display: none;
}
.creator-registration-page .field-error.form-control {
  border-color: var(--danger-color, #ef4444) !important;
  box-shadow: 0 0 0 1px var(--danger-color, #ef4444) !important;
}
.creator-registration-page .password-input-wrapper {
  position: relative;
}
.creator-registration-page .password-input-wrapper .form-control {
  padding-right: 48px;
}
.creator-registration-page .password-input-wrapper .toggle-password {
  position: absolute !important;
  right: var(--spacing-3) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}
.creator-registration-page .password-input-wrapper .toggle-password:hover {
  color: var(--text-secondary);
}
.creator-registration-page .password-input-wrapper .toggle-password svg {
  width: 20px;
  height: 20px;
  display: block;
}
.creator-registration-page .terms-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-3);
  cursor: pointer;
}
.creator-registration-page .terms-checkbox-label .terms-checkbox-input {
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--primary-500);
  cursor: pointer;
}
.creator-registration-page .terms-checkbox-label .checkbox-label-text {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  flex: 1;
}
.creator-registration-page .terms-checkbox-label .checkbox-label-text a {
  color: var(--muted-text) !important;
  text-decoration: none;
  font-weight: var(--font-weight-medium);
}
.creator-registration-page .terms-checkbox-label .checkbox-label-text a:hover {
  text-decoration: underline;
}
.creator-registration-page .portfolio-items-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-4);
}
.creator-registration-page .portfolio-item-card {
  display: flex;
  gap: var(--spacing-4);
  padding: var(--spacing-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  animation: reg-slide-in 0.3s ease;
  position: relative;
}
.creator-registration-page .portfolio-item-card:hover {
  border-color: var(--primary-alpha-20);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.creator-registration-page .portfolio-item-card.dropdown-active {
  z-index: 100;
}
@media (max-width: 767px) {
  .creator-registration-page .portfolio-item-card {
    flex-direction: column;
  }
}
@keyframes reg-slide-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.creator-registration-page .portfolio-item-preview {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--gradient-midnight);
}
.creator-registration-page .portfolio-item-preview img, .creator-registration-page .portfolio-item-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-registration-page .portfolio-item-preview .portfolio-preview-icon {
  font-size: 32px;
}
@media (max-width: 767px) {
  .creator-registration-page .portfolio-item-preview {
    width: 100%;
    height: 120px;
  }
}
.creator-registration-page .portfolio-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}
.creator-registration-page .portfolio-item-title-wrapper {
  position: relative;
}
.creator-registration-page .portfolio-item-title {
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
  padding: 10px 40px 10px 12px;
  color: var(--text-primary);
  font-size: var(--font-size-base);
  width: 100%;
  transition: all 0.3s ease;
}
.creator-registration-page .portfolio-item-title:focus {
  outline: none;
  border-color: var(--primary-500);
  background: rgba(59, 211, 211, 0.05) !important;
  box-shadow: 0 0 0 3px var(--primary-alpha-15);
}
.creator-registration-page .title-actions {
  position: absolute;
  right: var(--spacing-2);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 4px;
  align-items: center;
}
.creator-registration-page .title-auto-badge {
  font-size: 10px;
  background: var(--midnight-end);
  color: var(--brand-white);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.creator-registration-page .btn-clear-title {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-secondary);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
}
.creator-registration-page .btn-clear-title:hover {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger-color, #ef4444);
}
.creator-registration-page .portfolio-item-card .portfolio-item-description {
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
  width: 100%;
  transition: all 0.3s ease;
}
.creator-registration-page .portfolio-item-card .portfolio-item-description:focus {
  outline: none;
  border-color: var(--primary-500);
  background: rgba(59, 211, 211, 0.05);
  box-shadow: 0 0 0 3px var(--primary-alpha-15);
}
.creator-registration-page .description-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--spacing-2);
}
.creator-registration-page .char-counter {
  font-size: 12px;
  color: var(--text-tertiary);
  transition: all 0.2s ease;
}
.creator-registration-page .char-counter.good {
  color: #10b981;
}
.creator-registration-page .char-counter.excellent {
  color: var(--primary-500);
  font-weight: var(--font-weight-semibold);
}
.creator-registration-page .status-badge {
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.5px;
}
.creator-registration-page .status-badge.optional {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}
.creator-registration-page .status-badge.complete {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}
.creator-registration-page .portfolio-item-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  font-size: 13px;
  color: var(--text-tertiary);
}
.creator-registration-page .portfolio-item-meta .file-type {
  color: var(--brand-white);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-medium);
}
.creator-registration-page .portfolio-item-actions {
  display: flex;
  align-items: flex-start;
}
.creator-registration-page .btn-remove-portfolio-item {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger-color, #ef4444);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0 !important;
}
.creator-registration-page .btn-remove-portfolio-item:hover {
  background: rgba(54, 53, 53, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  transform: scale(1.05);
}
.creator-registration-page .portfolio-empty-state {
  text-align: center;
  color: var(--text-tertiary);
  font-size: var(--font-size-base);
  padding: var(--spacing-4) 0;
}
.creator-registration-page .portfolio-upload-counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-3) var(--spacing-4);
  background: var(--gradient-midnight);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  margin-top: var(--spacing-4);
}
.creator-registration-page .portfolio-upload-counter #portfolio-count {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
}
@media (max-width: 767px) {
  .creator-registration-page .portfolio-upload-counter {
    flex-direction: column;
    gap: var(--spacing-3);
  }
}
.creator-registration-page .completion-progress {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  color: var(--text-secondary);
}
.creator-registration-page .completion-bar {
  width: 80px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full, 9999px);
  overflow: hidden;
}
.creator-registration-page .completion-bar .completion-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, var(--primary-500));
  transition: width 0.3s ease;
  border-radius: var(--radius-full, 9999px);
}
@media (max-width: 767px) {
  .creator-registration-page .completion-bar {
    width: 100%;
  }
}
@keyframes reg-spin {
  to {
    transform: rotate(360deg);
  }
}
.creator-registration-page .btn-loading {
  position: relative;
  color: transparent !important;
}
.creator-registration-page .btn-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: #000;
  border-radius: 50%;
  animation: reg-spin 0.8s linear infinite;
}

.review-summary-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex !important;
  align-items: center;
  justify-content: center;
  animation: reg-fade-in 0.3s ease;
  pointer-events: all;
}

.review-summary-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

@keyframes reg-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes reg-slide-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-8px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(8px);
  }
}
.review-summary-content {
  background: var(--bg-dark, #0a0a0a);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-2xl);
  width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: reg-slide-up 0.3s ease;
}
@media (max-width: 767px) {
  .review-summary-content {
    width: 95%;
    max-height: 95vh;
  }
}
.review-summary-content.review-content--fullscreen {
  width: 100% !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: #000 !important;
}

.review-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--spacing-6) var(--spacing-8);
  border-bottom: 1px solid var(--gradient-midnight);
}
.review-summary-header h2 {
  margin: 0;
  font-size: var(--font-size-2xl);
  color: var(--text-primary);
}
.review-summary-header p {
  margin: var(--spacing-2) 0 0;
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}
@media (max-width: 767px) {
  .review-summary-header {
    padding: var(--spacing-5);
  }
}

.review-summary-close {
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.review-summary-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.review-summary-body {
  padding: var(--spacing-8);
  overflow-y: auto;
  flex: 1;
}
@media (max-width: 767px) {
  .review-summary-body {
    padding: var(--spacing-5);
  }
}

.review-summary-section {
  margin-bottom: var(--spacing-8);
}
.review-summary-section:last-child {
  margin-bottom: 0;
}
.review-summary-section h3 {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--primary-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 var(--spacing-4);
}

.review-summary-field {
  margin-bottom: var(--spacing-3);
  color: var(--text-primary);
  font-size: var(--font-size-base);
}
.review-summary-field strong {
  color: var(--text-secondary);
  margin-right: var(--spacing-2);
}

.review-summary-profile-row {
  display: flex;
  gap: var(--spacing-8);
  align-items: flex-start;
  margin-bottom: var(--spacing-8);
}
@media (max-width: 600px) {
  .review-summary-profile-row {
    flex-direction: column;
    gap: var(--spacing-4);
  }
}

.review-summary-picture-col {
  flex-shrink: 0;
}
.review-summary-picture-col h3 {
  font-size: var(--font-size-base) !important;
  font-weight: var(--font-weight-semibold) !important;
  color: var(--brand-white) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin: 0 0 var(--spacing-4) !important;
}

.review-summary-info-col {
  flex: 1;
}
.review-summary-info-col h3 {
  font-size: var(--font-size-base) !important;
  font-weight: var(--font-weight-semibold);
  color: var(--brand-white) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin: 0 0 var(--spacing-4) !important;
}

.review-summary-picture {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gradient-midnight);
}
.review-summary-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-summary-empty {
  color: var(--text-tertiary);
  font-style: italic;
}

.review-summary-bio {
  color: var(--text-primary);
  line-height: 1.6;
  white-space: pre-wrap;
}

.review-summary-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
  grid-auto-rows: 1fr;
  gap: var(--spacing-4);
  width: 100%;
}
@media (max-width: 767px) {
  .review-summary-portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-3);
  }
}

.review-summary-portfolio-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
  aspect-ratio: 1/1;
  min-width: 0;
  width: 100%;
}

.review-summary-preview {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gradient-midnight);
}

.review-summary-placeholder {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gradient-midnight);
  border-radius: var(--radius-lg);
  font-size: 32px;
}

.review-summary-portfolio-title {
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  text-align: center;
}

.review-summary-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-3);
  padding: var(--spacing-6) var(--spacing-8);
  border-top: 1px solid var(--gradient-midnight);
}
@media (max-width: 767px) {
  .review-summary-footer {
    padding: var(--spacing-5);
  }
}
.review-summary-footer .btn {
  padding: var(--spacing-3) var(--spacing-6);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.review-summary-footer .btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--gradient-midnight) !important;
}
.review-summary-footer .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}
.review-summary-footer .btn-primary {
  background: var(--primary-500);
  color: #000;
}
.review-summary-footer .btn-primary:hover {
  background: var(--primary-400);
  transform: translateY(-2px);
}
.review-summary-footer .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

body.preview-active .dreamers-custom-footer,
body.preview-active .site-footer,
body.preview-active #footer,
body.preview-active footer:not(.preview-action-bar) {
  display: none !important;
}

.profile-preview-section {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--rich-black, #000);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: reg-fade-in 0.25s ease;
}

.profile-preview-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.preview-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60vh;
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
}

.registration-upload-progress {
  position: sticky;
  top: var(--spacing-4);
  z-index: 20;
  width: min(100% - var(--spacing-8), 720px);
  margin: var(--spacing-4) auto;
  padding: var(--spacing-4) var(--spacing-5);
  border: 1px solid rgba(var(--primary-500-rgb), 0.35);
  border-radius: var(--radius-xl, 16px);
  background: rgba(7, 14, 14, 0.9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  color: var(--brand-white, #fcffff);
  backdrop-filter: blur(14px);
}
@media (max-width: 600px) {
  .registration-upload-progress {
    top: var(--spacing-3);
    width: calc(100% - var(--spacing-6));
    padding: var(--spacing-4);
  }
}

.registration-upload-progress__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-2);
}
.registration-upload-progress__header strong,
.registration-upload-progress__header span {
  color: inherit;
  font-size: var(--font-size-lg);
  line-height: 1.25;
}
.registration-upload-progress__header span {
  flex-shrink: 0;
  font-weight: var(--font-weight-semibold);
}

.registration-upload-progress__detail {
  margin-bottom: var(--spacing-3);
  color: rgba(252, 255, 255, 0.72);
  font-size: var(--font-size-sm);
  line-height: 1.45;
}

.registration-upload-progress__track {
  height: 8px;
  overflow: hidden;
  border-radius: var(--radius-full, 999px);
  background: rgba(252, 255, 255, 0.14);
}

.registration-upload-progress__bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
  transition: width 0.2s ease;
}

.preview-action-bar {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-4) var(--spacing-8);
  border-top: 1px solid var(--gradient-midnight);
  backdrop-filter: blur(12px);
}
@media (max-width: 600px) {
  .preview-action-bar {
    flex-wrap: wrap;
    padding: var(--spacing-4) var(--spacing-4) calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
    gap: var(--spacing-3);
  }
  .preview-action-bar .btn {
    flex: 1 1 calc(50% - var(--spacing-3));
    min-width: 0;
    white-space: nowrap;
  }
  .preview-action-bar .preview-submit-btn {
    flex-basis: 100%;
    order: -1;
  }
}

.preview-submit-btn {
  background: var(--primary-500);
  color: var(--brand-white);
  font-weight: var(--font-weight-semibold);
  padding: var(--spacing-3) var(--spacing-8);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.preview-submit-btn:hover:not(:disabled) {
  background: var(--primary-400);
}
.preview-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.preview-label-pill {
  position: absolute;
  top: var(--spacing-4);
  right: var(--spacing-4);
  z-index: 20;
  border: 1px solid var(--primary-400);
  color: #fff !important;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.review-profile-preview {
  position: relative;
  min-height: 100vh;
}

.review-profile-preview .container {
  position: relative;
  z-index: 1;
}

.review-profile-preview .provider-profile-layout {
  align-items: start;
}
.review-profile-preview .provider-profile-layout .provider-avatar-column,
.review-profile-preview .provider-profile-layout .provider-bio-column,
.review-profile-preview .provider-profile-layout .provider-sidebar-column {
  padding-top: 0;
}

.preview-username {
  font-size: var(--font-size-xl, 1.25rem) !important;
  font-weight: var(--font-weight-semibold) !important;
  color: var(--brand-white, #fcffff) !important;
  opacity: 1 !important;
}

.preview-bio-toggle {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.preview-section {
  margin-bottom: var(--spacing-6);
}
.preview-section:last-child {
  margin-bottom: 0;
}

.preview-section-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 var(--spacing-3);
}

.review-portfolio-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 150px;
  color: var(--text-tertiary);
  font-size: var(--font-size-2xl);
  background: var(--bg-subtle, rgba(255, 255, 255, 0.03));
}

body.light-theme .preview-action-bar {
  border-top-color: var(--gradient-midnight);
}
body.light-theme .registration-upload-progress {
  background: rgba(245, 241, 232, 0.92);
  border-color: rgba(var(--primary-500-rgb), 0.45);
  box-shadow: 0 18px 45px rgba(11, 11, 11, 0.16);
  color: var(--text-primary);
}
body.light-theme .registration-upload-progress__detail {
  color: var(--text-secondary);
}
body.light-theme .registration-upload-progress__track {
  background: rgba(11, 11, 11, 0.12);
}
body.light-theme .creator-registration-page .portfolio-item-card {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
body.light-theme .creator-registration-page .portfolio-item-card:hover {
  background: var(--bg-card);
  border-color: var(--border-default);
}
body.light-theme .creator-registration-page .portfolio-item-title,
body.light-theme .creator-registration-page .portfolio-item-card .portfolio-item-description {
  background: var(--bg-input);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}
body.light-theme .creator-registration-page .portfolio-item-title::placeholder,
body.light-theme .creator-registration-page .portfolio-item-card .portfolio-item-description::placeholder {
  color: var(--text-tertiary);
}
body.light-theme .creator-registration-page .portfolio-item-title:focus,
body.light-theme .creator-registration-page .portfolio-item-card .portfolio-item-description:focus {
  background: var(--bg-input) !important;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-alpha-15);
}
body.light-theme .creator-registration-page .tags-input-wrapper .tags-display {
  background: var(--bg-input) !important;
  border-color: var(--border-subtle);
  color: var(--text-primary) !important;
}
body.light-theme .creator-registration-page .tags-input-wrapper .tags-display:focus-within {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.12);
}
body.light-theme .creator-registration-page .tags-input-wrapper .tags-display input {
  background: transparent !important;
  color: var(--text-primary) !important;
}
body.light-theme .creator-registration-page .tags-input-wrapper .tags-display input::placeholder {
  color: var(--text-tertiary) !important;
}
body.light-theme .creator-registration-page .tags-input-wrapper .tags-display .tag-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

/**
 * Waitlist Landing Styles
 */
html:has(body.waitlist-landing) {
  overflow: hidden !important;
  height: 100% !important;
}

body.waitlist-landing {
  background: radial-gradient(120% 120% at 50% 0%, rgba(59, 211, 211, 0.18) 0%, rgba(6, 12, 20, 0.92) 50%, rgb(3, 6, 12) 100%);
  color: var(--text-on-dark);
  min-height: 100svh !important;
  height: 100svh !important;
  overflow: hidden !important;
}
body.waitlist-landing .site-header,
body.waitlist-landing .dreamers-custom-header,
body.waitlist-landing .site-footer {
  display: none !important;
}
body.waitlist-landing #wrapper,
body.waitlist-landing #wrapper.boxed,
body.waitlist-landing #page,
body.waitlist-landing #page.site,
body.waitlist-landing #content,
body.waitlist-landing .site-content {
  min-height: 100svh !important;
  height: 100svh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.waitlist-hero {
  min-height: 100svh;
  height: 100svh;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-6);
  text-align: center;
  position: relative;
}

/* Floating theme toggle — header is hidden on waitlist landing */
.waitlist-landing-chrome {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

body.waitlist-landing .waitlist-landing-chrome .dreamers-theme-toggle,
body.waitlist-landing .waitlist-landing-theme-toggle {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.waitlist-hero__inner {
  width: min(680px, 100%);
  display: grid;
  gap: var(--spacing-6);
}
.waitlist-hero__title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-white);
  font-weight: var(--font-weight-black, 800);
  margin: 0;
  line-height: 1;
  font-family: var(--font-family-logo) !important;
}
.waitlist-hero__title--small {
  font-size: clamp(2.1rem, 5vw, 4rem) !important;
  letter-spacing: 0.1em !important;
  font-weight: var(--font-weight-regular, 400) !important;
  margin-bottom: 0.6em !important;
}
.waitlist-hero__title--large {
  font-size: clamp(2.8rem, 12vw, 5.4rem) !important;
  letter-spacing: 0.2em !important;
  margin-top: -0.96em !important;
}
.waitlist-hero__subtitle {
  font-size: clamp(1rem, 4.5vw, 2em);
  color: rgba(255, 255, 255, 0.72);
  margin: 0 auto;
  margin-top: -1.2em;
  max-width: 32ch;
  opacity: 0.55;
}
@media (max-width: 768px) {
  .waitlist-hero__subtitle {
    margin-top: -2em !important;
  }
}
.waitlist-hero__form {
  margin: 0 auto;
  width: min(480px, 100%);
  display: grid;
  gap: 3em;
}
.waitlist-hero__form-fields {
  display: block;
  border: 1px solid var(--midnight-end);
  padding: var(--spacing-1);
  border-radius: var(--radius-2xl);
}
.waitlist-hero__form input[type=email] {
  border: none;
  background: transparent;
  color: var(--text-white);
  padding: var(--spacing-3) var(--spacing-4);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  width: 100%;
}
.waitlist-hero__form input[type=email]::placeholder {
  color: var(--brand-white);
  opacity: 0.55;
}
.waitlist-hero__form input[type=email]:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(59, 211, 211, 0.35);
}
.waitlist-hero__cta {
  border-radius: var(--radius-md);
  border: none;
  background: var(--primary-400);
  color: #062330;
  font-weight: var(--font-weight-semibold);
  font-size: 1.2em !important;
  transition: var(--transition-base);
  cursor: pointer;
  width: clamp(min(260px, 100%), 70%, 420px);
  padding: var(--spacing-6) var(--spacing-20);
  justify-self: center;
}
.waitlist-hero__cta:hover, .waitlist-hero__cta:focus-visible {
  background: var(--primary-500, #3BD3D3);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(59, 211, 211, 0.35);
}
.waitlist-hero__cta:focus-visible {
  outline: 3px solid rgba(59, 211, 211, 0.45);
  outline-offset: 2px;
}
.waitlist-hero__note {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.6);
  opacity: 0.55;
}

/**
 * Waitlist Registration Page Styles
 * Multi-step form with file upload functionality
 * Matches brand color (#3BD3D3 / var(--primary-400))
 */
body.page-join-the-waitlist #wrapper.boxed,
body.page-join-the-waitlist #page.site {
  width: min(960px, 100%);
  margin: 0 auto;
}

.dreamers-waitlist-registration {
  padding: var(--spacing-12) 0;
  background: var(--bg-page);
  min-height: 100vh;
}
.dreamers-waitlist-registration .container {
  max-width: 80%;
  margin: 4em auto;
  padding: 0 var(--spacing-6);
}

body.page-join-the-waitlist .dreamers-waitlist-registration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-10) var(--spacing-4);
}
body.page-join-the-waitlist .dreamers-waitlist-registration .container {
  width: 100%;
}

body.waitlist-registration-page .site-header,
body.waitlist-registration-page .dreamers-custom-header,
body.waitlist-registration-page .site-footer {
  display: none !important;
}
body.waitlist-registration-page .dreamers-waitlist-registration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  min-height: 100vh;
}
body.waitlist-registration-page .dreamers-waitlist-registration .container {
  width: 100%;
  max-width: 80%;
}
body.waitlist-registration-page .dreamers-waitlist-registration .registration-form-wrapper {
  background: transparent;
  border: none;
  padding: 0;
}

/* Remove top padding from first sections on waitlist pages */
.waitlist-hero:first-of-type,
.waitlist-benefits:first-of-type,
.waitlist-steps:first-of-type,
.waitlist-content:first-of-type {
  padding-top: 0;
  margin-top: 0;
}

/* Header */
.waitlist-header {
  text-align: center;
  margin-bottom: var(--spacing-8);
}
.waitlist-header h1 {
  font-size: clamp(4.5rem, 6vw, 5.5rem) !important;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--spacing-3);
  letter-spacing: 0.05em;
  line-height: 1.2;
  animation: waitlistFadeInUp 0.8s ease-out 0.2s both;
}
.waitlist-header h1 .highlight {
  background: var(--primary-400);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.waitlist-header p {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  color: var(--text-secondary);
  opacity: 0.5 !important;
  animation: waitlistFadeInUp 0.8s ease-out 0.4s both;
}
.waitlist-header .waitlist-title {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-1);
  margin: 0 0 var(--spacing-4);
  font-family: var(--font-family-logo);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.waitlist-header .waitlist-title .waitlist-title-line {
  display: block;
}

@keyframes waitlistFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Progress Indicator */
.waitlist-progress {
  margin-bottom: var(--spacing-8);
}
.waitlist-progress .progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-4);
  position: relative;
}
.waitlist-progress .progress-steps .step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}
.waitlist-progress .progress-steps .step .step-number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--midnight-end);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-lg);
  transition: var(--transition-base);
  margin-bottom: var(--spacing-2);
}
.waitlist-progress .progress-steps .step .step-label {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  text-align: center;
  transition: var(--transition-base);
}
.waitlist-progress .progress-steps .step.active .step-number {
  background: var(--primary-400);
  border-color: var(--primary-400);
  color: var(--text-on-primary);
  box-shadow: var(--shadow-primary);
}
.waitlist-progress .progress-steps .step.active .step-label {
  color: var(--primary-400);
  font-weight: var(--font-weight-semibold);
}
.waitlist-progress .progress-steps .step.completed .step-number {
  background: var(--success-color);
  border-color: var(--success-color);
  color: var(--text-white);
}
.waitlist-progress .progress-steps .step.completed .step-label {
  color: var(--text-secondary);
}
.waitlist-progress .progress-bar {
  height: 4px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.waitlist-progress .progress-bar .progress-fill {
  height: 100%;
  background: var(--primary-500);
  border-radius: var(--radius-md);
  transition: width 0.5s ease;
  width: 33.33%;
  box-shadow: var(--glow-subtle);
}

/* Form Steps */
.waitlist-form {
  background: transparent;
  border-radius: var(--radius-xl);
  padding: clamp(var(--spacing-7), 5vw, var(--spacing-10));
  margin: 0 auto var(--spacing-10);
  border: 1px solid var(--midnight-end);
  box-shadow: none;
}
.waitlist-form .form-step {
  display: none;
  animation: fadeIn 0.4s ease;
}
.waitlist-form .form-step.active {
  display: block;
}
.waitlist-form .form-step h2 {
  font-size: var(--font-size-3xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-6);
  padding-bottom: var(--spacing-4);
  border-bottom: 2px solid var(--primary-400);
}
.waitlist-form .form-step .step-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-6);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
}

/* Form Elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-4);
}
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: var(--spacing-5);
}
.form-group label {
  display: block;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-2);
  color: var(--text-primary);
  font-size: var(--font-size-base);
}
.form-group input:not([type=checkbox]):not([type=radio]):not([type=file]),
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.95);
  transition: all 0.2s ease;
  font-family: var(--font-family-base);
}
.form-group input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-400);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.15);
}
.form-group input:not([type=checkbox]):not([type=radio]):not([type=file])::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.form-group input:not([type=checkbox]):not([type=radio]):not([type=file]):disabled,
.form-group textarea:disabled,
.form-group select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-group input:not([type=checkbox]):not([type=radio]):not([type=file])[readonly],
.form-group textarea[readonly],
.form-group select[readonly] {
  opacity: 0.7;
  cursor: default;
  background: rgba(255, 255, 255, 0.03);
  border-style: dashed;
}
.form-group input:not([type=checkbox]):not([type=radio]):not([type=file]).error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group small {
  display: block;
  margin-top: var(--spacing-1);
  color: var(--text-muted);
  font-size: var(--font-size-base);
}
.form-group .field-hint {
  display: block;
  margin-top: var(--spacing-1);
  color: var(--text-tertiary);
  font-size: var(--font-size-base);
  font-style: italic;
}
.form-group .field-note {
  display: block;
  margin-top: var(--spacing-1);
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.sms-consent-group {
  background: rgba(59, 211, 211, 0.05);
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: 10px;
  padding: var(--spacing-4);
  margin-bottom: var(--spacing-5);
}

.checkbox-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-3);
  cursor: pointer;
  font-weight: var(--font-weight-normal) !important;
  color: var(--text-secondary) !important;
  font-size: var(--font-size-sm) !important;
  line-height: 1.5;
}
.checkbox-consent input[type=checkbox] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary-500);
  cursor: pointer;
}
.checkbox-consent a {
  color: var(--primary-400);
  text-decoration: underline;
}
.checkbox-consent a:hover {
  color: var(--primary-500);
}

.form-section {
  margin-top: var(--spacing-6);
  padding-top: var(--spacing-6);
}
.form-section h3 {
  font-size: var(--font-size-xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-4);
}
.form-section .section-note {
  color: var(--text-muted);
  margin-bottom: var(--spacing-4);
  font-size: var(--font-size-base);
}

.form-section-basic-info .form-group input,
.form-section-basic-info .form-group textarea,
.form-section-basic-info .form-row input,
.form-section-basic-info .form-row textarea {
  padding: 14px 16px;
}

.form-section-social .form-group input,
.form-section-social .form-row input {
  background: rgba(0, 0, 0, 0.4);
}

.form-group-create-other input {
  background: rgba(0, 0, 0, 0.4);
}

.create-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing-3);
}

.create-category-checkbox {
  --checkbox-height: 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-2);
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  user-select: none;
  padding: var(--spacing-2) 0;
}
.create-category-checkbox .checkbox-wrapper-19 {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0 !important;
  position: relative !important;
  width: 20px;
  height: 20px;
}
.create-category-checkbox .checkbox-wrapper-19 input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.create-category-checkbox .check-box {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--midnight-end);
  background: transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  margin-top: 0 !important;
}
.create-category-checkbox .check-box::before, .create-category-checkbox .check-box::after {
  content: "";
  position: absolute;
  width: calc(var(--checkbox-height) * 0.24);
  height: 0;
  background-color: var(--primary-400);
  border-radius: var(--radius-xs);
  transform-origin: left top;
  transition: opacity 0.3s ease;
}
.create-category-checkbox .check-box::before {
  top: calc(var(--checkbox-height) * 0.68);
  left: calc(var(--checkbox-height) * 0.36);
  transform: rotate(-135deg);
  box-shadow: 0 0 0 calc(var(--checkbox-height) * 0.05) var(--background-color);
}
.create-category-checkbox .check-box::after {
  top: calc(var(--checkbox-height) * 0.34);
  left: calc(var(--checkbox-height) * 0.04);
  transform: rotate(-45deg);
}
.create-category-checkbox input[type=checkbox]:checked + .check-box {
  border-color: var(--primary-400);
  background-color: rgba(59, 211, 211, 0.12);
}
.create-category-checkbox input[type=checkbox]:checked + .check-box::after {
  animation: dothabottomcheck-19 0.18s ease forwards;
}
.create-category-checkbox input[type=checkbox]:checked + .check-box::before {
  animation: dothatopcheck-19 0.32s ease forwards;
}
.create-category-checkbox .checkbox-label {
  line-height: 1.4;
  font-size: var(--font-size-base);
  margin-top: 0;
  margin-left: 0;
}

@keyframes dothabottomcheck-19 {
  0% {
    height: 0;
  }
  100% {
    height: calc(var(--checkbox-height) / 2);
  }
}
@keyframes dothatopcheck-19 {
  0% {
    height: 0;
  }
  50% {
    height: 0;
  }
  100% {
    height: calc(var(--checkbox-height) * 1.1);
  }
}
/* File Upload Area */
.file-upload-area {
  border: 1px dashed var(--midnight-end);
  border-radius: var(--radius-lg);
  padding: var(--spacing-8);
  text-align: center;
  background: transparent !important;
  transition: var(--transition-base);
}
.file-upload-area.dragover {
  border-color: var(--primary-400);
  background: var(--primary-alpha-5);
  box-shadow: var(--glow-subtle);
}
.file-upload-area .upload-prompt {
  pointer-events: none;
}
.file-upload-area .upload-prompt .upload-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-4);
}
.file-upload-area .upload-prompt p {
  color: var(--text-primary);
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-2);
}
.file-upload-area .upload-prompt .upload-btn {
  pointer-events: all;
  background: var(--primary-400);
  color: var(--text-on-primary);
  border: none;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: var(--transition-base);
}
.file-upload-area .upload-prompt .upload-btn:hover {
  background: var(--primary-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}
.file-upload-area .upload-prompt small {
  display: block;
  color: var(--text-muted);
  font-size: var(--font-size-base);
  margin-top: var(--spacing-2);
}
.file-upload-area .upload-prompt small.size-info {
  margin-top: var(--spacing-1);
  color: var(--text-tertiary);
}

.file-preview-area {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-4);
  margin-top: var(--spacing-4);
}
.file-preview-area .file-preview-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--midnight-end);
}
.file-preview-area .file-preview-item img,
.file-preview-area .file-preview-item video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.file-preview-area .file-preview-item .file-icon-preview {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
}
.file-preview-area .file-preview-item .file-icon-preview .file-ext {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--text-muted);
  text-transform: uppercase;
}
.file-preview-area .file-preview-item .file-info {
  padding: var(--spacing-2);
}
.file-preview-area .file-preview-item .file-info .file-name {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: var(--spacing-1);
}
.file-preview-area .file-preview-item .file-info .file-size {
  font-size: var(--font-size-base);
  color: var(--text-muted);
}
.file-preview-area .file-preview-item .remove-file {
  position: absolute;
  top: var(--spacing-1);
  right: var(--spacing-1);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-md);
  background: var(--danger-color);
  color: var(--text-white);
  border: none;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}
.file-preview-area .file-preview-item .remove-file:hover {
  background: var(--danger-dark);
  transform: scale(1.1);
}

.file-upload-progress {
  margin-top: var(--spacing-4);
  padding: var(--spacing-4);
  background: transparent !important;
  border-radius: var(--radius-md);
}
.file-upload-progress .progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-2);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}
.file-upload-progress .progress-bar-upload {
  height: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.file-upload-progress .progress-bar-upload .progress-bar-fill {
  height: 100%;
  background: var(--primary-500);
  border-radius: var(--radius-md);
  transition: width 0.3s ease;
  width: 0%;
}

.file-stats {
  margin-top: var(--spacing-2);
  text-align: center;
}
.file-stats small {
  color: var(--text-muted);
  font-size: var(--font-size-base);
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: var(--spacing-4);
  justify-content: space-between;
  margin-top: var(--spacing-8);
  padding-top: var(--spacing-6);
}
@media (max-width: 768px) {
  .form-actions {
    flex-direction: column;
  }
}

.btn {
  padding: var(--spacing-3) var(--spacing-6);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn.btn-primary {
  background: var(--primary-400);
  color: #000 !important;
}
.btn.btn-primary:hover:not(:disabled) {
  background: var(--primary-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}
.btn.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn.btn-secondary {
  background: transparent !important;
  color: var(--text-primary);
  border: 1px solid var(--midnight-end);
}
.btn.btn-secondary:hover {
  border-color: var(--primary-alpha-15);
}
.btn.btn-large {
  padding: var(--spacing-4) var(--spacing-8);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}
.btn .btn-text,
.btn .btn-loading {
  display: inline-block;
}

/* Success & Error Messages */
.waitlist-success,
.waitlist-error {
  border-radius: var(--radius-xl);
  padding: var(--spacing-8);
  text-align: center;
  margin-bottom: var(--spacing-8);
  box-shadow: var(--shadow-lg);
}
.waitlist-success .success-content,
.waitlist-success .error-content,
.waitlist-error .success-content,
.waitlist-error .error-content {
  max-width: 600px;
  margin: 0 auto;
}
.waitlist-success .success-content h2,
.waitlist-success .success-content h3,
.waitlist-success .error-content h2,
.waitlist-success .error-content h3,
.waitlist-error .success-content h2,
.waitlist-error .success-content h3,
.waitlist-error .error-content h2,
.waitlist-error .error-content h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-4);
}
.waitlist-success .success-content p,
.waitlist-success .error-content p,
.waitlist-error .success-content p,
.waitlist-error .error-content p {
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

.waitlist-success {
  border: 1px solid var(--success-color);
}
.waitlist-success .success-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: var(--success-color);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-4xl);
  margin: 0 auto var(--spacing-4);
  box-shadow: var(--shadow-lg);
}

.waitlist-error {
  border: 1px solid var(--danger-color);
  background: rgba(239, 68, 68, 0.05);
}
.waitlist-error #error-message {
  color: var(--danger-color);
  font-weight: var(--font-weight-medium);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .dreamers-waitlist-registration {
    padding: var(--spacing-6) 0;
  }
  .waitlist-header h1 {
    font-size: clamp(2.5rem, 7vw, 3.5rem);
  }
  .waitlist-header p {
    font-size: var(--font-size-base);
  }
  .waitlist-progress .progress-steps .step .step-number {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-base);
  }
  .waitlist-progress .progress-steps .step .step-label {
    font-size: var(--font-size-base);
  }
  .waitlist-form {
    padding: var(--spacing-5);
  }
  .waitlist-form .form-step h2 {
    font-size: var(--font-size-2xl);
  }
  .file-preview-area {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--spacing-2);
  }
}
@media (max-width: 480px) {
  .waitlist-progress .progress-steps .step .step-label {
    display: none;
  }
  .file-upload-area {
    padding: var(--spacing-4);
  }
}
body.waitlist-mode .dreamers-search-section,
body.waitlist-mode .dreamers-search-toggle,
body.waitlist-mode .dreamers-navigation,
body.waitlist-mode .dreamers-cta-btn,
body.waitlist-mode .header-notifications,
body.waitlist-mode .header-messages,
body.waitlist-mode .dreamers-mobile-toggle,
body.waitlist-mode .dreamers-search-modal,
body.waitlist-mode .dreamers-signin-btn {
  display: none !important;
}
body.waitlist-mode .dreamers-header-actions {
  display: flex !important;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  padding-inline: var(--spacing-3);
}
@media (min-width: 1024px) {
  body.waitlist-mode .dreamers-header-actions {
    width: auto;
    justify-content: flex-end;
    gap: var(--spacing-3);
    padding-inline: 0;
  }
}
body.waitlist-mode .header-saved-creators {
  display: none !important;
}
body.waitlist-mode .dropdown-item--full-only {
  display: none !important;
}
body.waitlist-mode .dreamers-profile-dropdown .profile-dropdown-divider:first-of-type {
  display: none !important;
}

.dreamers-waitlist-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--spacing-6) var(--spacing-6);
}
.dreamers-waitlist-footer__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4);
}
.dreamers-waitlist-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-2) var(--spacing-5);
}
.dreamers-waitlist-footer__legal a {
  font-size: var(--font-size-base);
  color: var(--text-muted) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.dreamers-waitlist-footer__legal a:hover {
  color: var(--primary-500);
}
.dreamers-waitlist-footer__copy {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  opacity: 0.6;
  margin: 0;
}

.waitlist-profile-page .wl-notice {
  background: var(--gradient-midnight);
  border-bottom: 1px solid var(--midnight-end);
  padding: var(--spacing-3) var(--spacing-8);
}
.waitlist-profile-page .wl-notice__inner {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  max-width: 900px;
  margin: 0 auto;
  color: var(--brand-white);
  font-size: var(--font-size-base) !important;
}
.waitlist-profile-page .wl-notice__inner i {
  opacity: 0.7;
  flex-shrink: 0;
}
.waitlist-profile-page .wl-notice__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-left: auto;
}
.waitlist-profile-page .wl-notice__badge .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.waitlist-profile-page .wl-notice__badge.status-pending {
  background: rgba(230, 190, 105, 0.12);
  color: var(--gold-500);
  border: 1px solid rgba(230, 190, 105, 0.28);
}
.waitlist-profile-page .wl-notice__badge.status-pending .status-dot {
  background: var(--gold-500);
  box-shadow: 0 0 4px var(--gold-500);
}
.waitlist-profile-page .wl-notice__badge.status-approved {
  background: rgba(59, 211, 211, 0.12);
  color: var(--primary-500);
  border: 1px solid rgba(59, 211, 211, 0.28);
}
.waitlist-profile-page .wl-notice__badge.status-approved .status-dot {
  background: var(--primary-500);
  box-shadow: 0 0 4px var(--primary-500);
}
.waitlist-profile-page .wl-notice__badge.status-draft {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.waitlist-profile-page .wl-notice__badge.status-draft .status-dot {
  background: var(--text-muted);
}
@media (max-width: 767px) {
  .waitlist-profile-page .wl-notice {
    padding: var(--spacing-3) var(--spacing-4);
  }
}
.waitlist-profile-page .waitlist-profile-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-8) var(--spacing-6);
}
@media (max-width: 767px) {
  .waitlist-profile-page .waitlist-profile-content {
    padding: var(--spacing-6) var(--spacing-4);
  }
}
.waitlist-profile-page .waitlist-profile-content .form-footer {
  margin-left: 0;
}

/**
 * Legal Pages — Shared Styles
 *
 * Used by: page-acceptable-use.php, page-community-guidelines.php,
 *          page-cookie-policy.php, page-dmca.php, page-gdpr.php,
 *          page-privacy.php, page-terms.php
 */
body.acceptable-use-page,
body.community-guidelines-page,
body.cookie-policy-page,
body.dmca-page,
body.gdpr-page,
body.privacy-page,
body.terms-page {
  background: #000000;
  color: var(--text-primary, #fcffff);
  min-height: 100vh;
  font-family: var(--font-family-base, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif);
  line-height: 1.6;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5rem) clamp(1.5rem, 5vw, 3rem);
}
@media (max-width: 768px) {
  .legal-container {
    padding: 3rem 1.5rem;
  }
}

.legal-header {
  margin-bottom: 4rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}
.legal-header h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--brand-white);
  margin: 0 0 1rem 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .legal-header h1 {
    font-size: 2.5rem;
  }
}

.legal-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--brand-white);
  opacity: 0.5;
  font-size: 0.9rem;
}

.legal-content {
  color: rgba(252, 255, 255, 0.85);
}
.legal-content h2 {
  color: var(--brand-white);
  font-size: 1.75rem;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  border-left: 4px solid var(--primary-400, #3bd3d3);
  padding-left: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .legal-content h2 {
    font-size: 1.5rem;
    padding-left: 1rem;
  }
}
.legal-content h3 {
  color: var(--brand-white);
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.legal-content p {
  margin-bottom: 1.25rem;
}
.legal-content ul,
.legal-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}
.legal-content li {
  margin-bottom: 0.75rem;
  position: relative;
}
.legal-content ul li::before {
  content: "•";
  color: var(--primary-400, #3bd3d3);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}
.legal-content strong {
  color: var(--brand-white);
  font-weight: 600;
}

.legal-notice-box {
  background: rgba(230, 190, 105, 0.05);
  border: 1px solid rgba(232, 182, 53, 0.2);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 12px;
}
.legal-notice-box h2 {
  color: #e6be69;
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-section-group {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-section-group-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: -2rem;
}

/**
 * Project Posting Page Styles
 * Styles for the 12-section enhanced project posting form
 */
.project-form-progress {
  margin-bottom: var(--spacing-6);
  padding: var(--spacing-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}
.project-form-progress .progress-bar {
  height: 8px;
  background: var(--rich-black);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--spacing-2);
}
.project-form-progress .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-400), var(--primary-color-light, #3bc4c4));
  border-radius: 4px;
  transition: width 0.3s ease;
}
.project-form-progress .progress-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  text-align: center;
}
.project-form-progress .progress-text span {
  font-weight: 600;
  color: var(--text-primary);
}

.project-posting-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.collapsible-section {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.collapsible-section.section-review {
  border-color: var(--primary-400);
  background: linear-gradient(135deg, rgba(59, 211, 211, 0.02) 0%, rgba(59, 211, 211, 0.05) 100%);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-4) var(--spacing-5);
  transition: background-color 0.2s ease;
}
.section-header.complete .section-number {
  background: var(--success-color, #10b981);
  color: white;
}
.section-header__left {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}
.section-header__text .section-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0;
}
.section-header__text .section-title .required {
  color: var(--error-color, #ef4444);
  margin-left: var(--spacing-1);
}
.section-header__text .section-description {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: var(--spacing-1) 0 0;
}

.section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.section-number i {
  font-size: var(--font-size-base);
}

.section-icon {
  font-size: var(--font-size-base);
  color: var(--primary-400);
}

.section-content {
  padding: 0 var(--spacing-5) var(--spacing-5);
  animation: fadeIn 0.2s ease;
}

.post-project-page #section-5 .logistics-top-row.is-remote > .form-group-radio,
.post-project-page #section-7 .logistics-top-row.is-remote > .form-group-radio,
.post-project-page #section-8 .logistics-top-row.is-remote > .form-group-radio,
.post-project-page #section-9 .logistics-top-row.is-remote > .form-group-radio,
.post-project-page #section-11 .logistics-top-row.is-remote > .form-group-radio {
  grid-column: 1/-1;
}
.post-project-page #section-5 .form-group-radio .radio-group.radio-inline,
.post-project-page #section-7 .form-group-radio .radio-group.radio-inline,
.post-project-page #section-8 .form-group-radio .radio-group.radio-inline,
.post-project-page #section-9 .form-group-radio .radio-group.radio-inline,
.post-project-page #section-11 .form-group-radio .radio-group.radio-inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
  margin-top: var(--spacing-2);
}
.post-project-page #section-5 .form-group-radio .radio-label,
.post-project-page #section-7 .form-group-radio .radio-label,
.post-project-page #section-8 .form-group-radio .radio-label,
.post-project-page #section-9 .form-group-radio .radio-label,
.post-project-page #section-11 .form-group-radio .radio-label {
  position: relative;
  cursor: pointer;
}
.post-project-page #section-5 .form-group-radio input.form-radio,
.post-project-page #section-7 .form-group-radio input.form-radio,
.post-project-page #section-8 .form-group-radio input.form-radio,
.post-project-page #section-9 .form-group-radio input.form-radio,
.post-project-page #section-11 .form-group-radio input.form-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.post-project-page #section-5 .form-group-radio .radio-text,
.post-project-page #section-7 .form-group-radio .radio-text,
.post-project-page #section-8 .form-group-radio .radio-text,
.post-project-page #section-9 .form-group-radio .radio-text,
.post-project-page #section-11 .form-group-radio .radio-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.post-project-page #section-5 .form-group-radio .radio-label:hover .radio-text,
.post-project-page #section-7 .form-group-radio .radio-label:hover .radio-text,
.post-project-page #section-8 .form-group-radio .radio-label:hover .radio-text,
.post-project-page #section-9 .form-group-radio .radio-label:hover .radio-text,
.post-project-page #section-11 .form-group-radio .radio-label:hover .radio-text {
  border-color: var(--primary-400);
}
.post-project-page #section-5 .form-group-radio input.form-radio:checked + .radio-text,
.post-project-page #section-7 .form-group-radio input.form-radio:checked + .radio-text,
.post-project-page #section-8 .form-group-radio input.form-radio:checked + .radio-text,
.post-project-page #section-9 .form-group-radio input.form-radio:checked + .radio-text,
.post-project-page #section-11 .form-group-radio input.form-radio:checked + .radio-text {
  border-color: var(--primary-400);
}
.post-project-page #section-5 .form-group-radio input.form-radio:focus-visible + .radio-text,
.post-project-page #section-7 .form-group-radio input.form-radio:focus-visible + .radio-text,
.post-project-page #section-8 .form-group-radio input.form-radio:focus-visible + .radio-text,
.post-project-page #section-9 .form-group-radio input.form-radio:focus-visible + .radio-text,
.post-project-page #section-11 .form-group-radio input.form-radio:focus-visible + .radio-text {
  border-color: var(--primary-color);
}
.post-project-page #section-5 .form-group-radio input.form-radio:disabled + .radio-text,
.post-project-page #section-7 .form-group-radio input.form-radio:disabled + .radio-text,
.post-project-page #section-8 .form-group-radio input.form-radio:disabled + .radio-text,
.post-project-page #section-9 .form-group-radio input.form-radio:disabled + .radio-text,
.post-project-page #section-11 .form-group-radio input.form-radio:disabled + .radio-text {
  opacity: 0.55;
  cursor: not-allowed;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.form-row {
  display: grid;
  gap: var(--spacing-4);
}
.form-row--2col {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
  .form-row--2col {
    grid-template-columns: 1fr;
  }
}
.form-row--3col {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 992px) {
  .form-row--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .form-row--3col {
    grid-template-columns: 1fr;
  }
}
.form-row--4col {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 992px) {
  .form-row--4col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .form-row--4col {
    grid-template-columns: 1fr;
  }
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
}
.checkbox-group--grid {
  display: grid;
  gap: var(--spacing-3);
}
.checkbox-group--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.checkbox-group--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.checkbox-group--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.checkbox-group--horizontal {
  flex-direction: row;
}
.checkbox-group--vertical {
  flex-direction: column;
}
.checkbox-group__item {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}
.checkbox-group__item:hover {
  border-color: var(--primary-400);
}
.checkbox-group__item.checkbox-selected {
  border-color: var(--primary-400);
}
.checkbox-group__item.checkbox-selected .checkbox-group__label {
  color: white;
}
.checkbox-group__item--other {
  min-width: 100px;
}
.checkbox-group__label {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  user-select: none;
  font-weight: 500;
}
@media (max-width: 768px) {
  .checkbox-group--cols-3, .checkbox-group--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .checkbox-group--cols-2, .checkbox-group--cols-3, .checkbox-group--cols-4 {
    grid-template-columns: 1fr;
  }
}

.checkbox-other-wrapper {
  width: 100%;
  margin-top: var(--spacing-2);
  grid-column: 1/-1;
}
.checkbox-other-wrapper .checkbox-other-input {
  width: 100%;
}

.style-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
}

.style-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-2) var(--spacing-4);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}
.style-tag__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.style-tag__label {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  font-weight: 500;
}
.style-tag:hover {
  border-color: var(--primary-400);
}
.style-tag--selected {
  border-color: var(--primary-400);
}
.style-tag--selected .style-tag__label {
  color: white;
}

.form-group-repeater .repeater-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-3);
}
.form-group-repeater .repeater-row {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-3);
  padding: var(--spacing-3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.form-group-repeater .repeater-row__fields {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-3);
  flex: 1;
}
.form-group-repeater .repeater-field {
  flex: 1;
  min-width: 150px;
}
.form-group-repeater .repeater-field__label {
  display: block;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-1);
}
.form-group-repeater .repeater-remove {
  padding: var(--spacing-2);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}
.form-group-repeater .repeater-remove:hover {
  color: var(--error-color, #ef4444);
}
.form-group-repeater .repeater-add {
  align-self: flex-start;
}

.form-group-date-asap .date-asap-wrapper {
  display: flex;
  align-items: stretch;
  gap: var(--spacing-3);
}
.form-group-date-asap .asap-toggle {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-12);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  min-height: 54px;
}
.form-group-date-asap .asap-toggle:hover {
  border-color: var(--primary-400);
}
.form-group-date-asap .asap-toggle .asap-checkbox:checked + .asap-label {
  color: var(--primary-400);
  font-weight: 600;
}
.form-group-date-asap .asap-label {
  font-size: var(--font-size-base);
  color: var(--text-primary);
}
.form-group-date-asap .date-input-container {
  flex: 1;
}
.form-group-date-asap .date-input-container .date-input {
  min-height: 44px;
}

.form-group-budget-range .budget-type-toggle {
  display: flex;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-3);
}
.form-group-budget-range .budget-range-wrapper {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}
.form-group-budget-range .budget-input-group {
  display: flex;
  align-items: center;
  flex: 1;
}
.form-group-budget-range .budget-input-group .budget-currency {
  padding: var(--spacing-2) var(--spacing-3);
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  color: var(--text-secondary);
  font-weight: 500;
}
.form-group-budget-range .budget-input-group .form-control {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.form-group-budget-range .budget-separator {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  padding: 0 var(--spacing-1);
}

.fee-breakdown {
  background: rgba(59, 211, 211, 0.06);
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-5);
  margin-top: var(--spacing-4);
}
.fee-breakdown__title {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--primary-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-4);
}
.fee-breakdown__title i {
  font-size: var(--font-size-base);
}
.fee-breakdown__rows {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}
.fee-breakdown__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fee-breakdown__row--total {
  padding-top: var(--spacing-3);
  border-top: 1px solid rgba(59, 211, 211, 0.15);
}
.fee-breakdown__divider {
  height: 1px;
  background: rgba(252, 255, 255, 0.08);
  margin: var(--spacing-1) 0;
}
.fee-breakdown__label {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  flex-wrap: wrap;
}
.fee-breakdown__label--muted {
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
}
.fee-breakdown__value {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
}
.fee-breakdown__value--fee {
  color: var(--warning-color, #e6be69);
}
.fee-breakdown__value--total {
  font-size: var(--font-size-base);
  color: var(--primary-400);
}
.fee-breakdown__value--muted {
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
  font-weight: 400;
}
.fee-breakdown__badge {
  display: inline-block;
  padding: 1px var(--spacing-2);
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 600;
  background: rgba(59, 211, 211, 0.15);
  color: var(--primary-400);
  letter-spacing: 0.02em;
}
.fee-breakdown__badge--muted {
  background: rgba(252, 255, 255, 0.06);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
}

.escrow-info-box {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-3);
  border: 1px solid rgba(59, 211, 211, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--spacing-4);
  margin-top: var(--spacing-4);
}
.escrow-info-box__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(59, 211, 211, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-400);
  font-size: var(--font-size-base);
}
.escrow-info-box__content strong {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-1);
}
.escrow-info-box__content p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.payment-method-selector {
  margin-top: var(--spacing-6);
  padding-top: var(--spacing-5);
  border-top: 1px solid var(--border-color);
}
.payment-method-selector__header {
  margin-bottom: var(--spacing-4);
}
.payment-method-selector__title {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-2);
}
.payment-method-selector__title i {
  color: var(--primary-400);
}
.payment-method-selector__desc {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0;
}
.payment-method-selector__loading {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  padding: var(--spacing-3) 0;
}
.payment-method-selector__list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-3);
}
.payment-method-selector__empty p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  padding: var(--spacing-3) 0;
}
.payment-method-selector__add-area {
  margin-bottom: var(--spacing-3);
}
.payment-method-selector__add-area.is-open {
  border: 1px solid rgba(59, 211, 211, 0.15);
  border-radius: var(--radius-md);
  padding: var(--spacing-4);
}
.payment-method-selector__add-area #pm-setup-mount {
  margin-bottom: var(--spacing-3);
}

.pm-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3) var(--spacing-4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pm-card:hover {
  border-color: rgba(59, 211, 211, 0.4);
}
.pm-card--selected {
  border-color: var(--primary-400);
  background: rgba(59, 211, 211, 0.06);
}
.pm-card__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.pm-card--selected .pm-card__radio {
  border-color: var(--primary-400);
}
.pm-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-400);
  display: none;
}
.pm-card--selected .pm-card__dot {
  display: block;
}
.pm-card__info {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  flex: 1;
}
.pm-card__brand {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  min-width: 50px;
}
.pm-card__number {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  font-family: monospace;
  letter-spacing: 0.05em;
}
.pm-card__expiry {
  font-size: var(--font-size-base);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.4));
}
.pm-card__badge {
  margin-left: auto;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--primary-400);
  background: rgba(59, 211, 211, 0.12);
  padding: 2px var(--spacing-2);
  border-radius: var(--radius-md);
}

.brand-assets-uploader .brand-assets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-3);
}
.brand-assets-uploader .brand-asset-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.brand-assets-uploader .brand-asset-item .asset-name {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-assets-uploader .brand-asset-item .remove-asset {
  background: transparent;
  border: none;
  padding: var(--spacing-1);
  color: var(--text-secondary);
  cursor: pointer;
}
.brand-assets-uploader .brand-asset-item .remove-asset:hover {
  color: var(--error-color, #ef4444);
}
.brand-assets-uploader .add-asset-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 80px;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}
.brand-assets-uploader .add-asset-btn i {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-1);
}
.brand-assets-uploader .add-asset-btn span {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}
.brand-assets-uploader .add-asset-btn:hover {
  border-color: var(--primary-400);
}
.brand-assets-uploader .add-asset-btn:hover i, .brand-assets-uploader .add-asset-btn:hover span {
  color: var(--primary-400);
}

.conditional-fields {
  padding: var(--spacing-4);
  border-radius: var(--radius-md);
  margin-top: var(--spacing-3);
}

.targeting-toggles {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-4);
}

.matching-creators-estimate {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-4);
  background: linear-gradient(135deg, rgba(59, 211, 211, 0.05) 0%, rgba(59, 211, 211, 0.1) 100%);
  border: 1px solid var(--primary-400);
  border-radius: var(--radius-lg);
  margin-top: var(--spacing-4);
}
.matching-creators-estimate .estimate-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-400);
  border-radius: 50%;
  color: white;
}
.matching-creators-estimate .estimate-icon i {
  font-size: var(--font-size-base);
}
.matching-creators-estimate .estimate-text {
  flex: 1;
}
.matching-creators-estimate .estimate-text strong {
  display: block;
  font-size: var(--font-size-2xl);
  color: var(--primary-400);
}
.matching-creators-estimate .estimate-text span {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}

.project-summary-card {
  padding: var(--spacing-5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-top: var(--spacing-4);
}
.project-summary-card h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-4);
  padding-bottom: var(--spacing-3);
  border-bottom: 1px solid var(--border-color);
}
.project-summary-card .summary-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}
.project-summary-card .summary-row {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-3);
}
.project-summary-card .summary-label {
  width: 100px;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  flex-shrink: 0;
}
.project-summary-card .summary-value {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  font-weight: 500;
}

.publish-review-modal {
  position: fixed;
  inset: 0;
  z-index: 11000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-6);
}
.publish-review-modal.active {
  display: flex;
}
.publish-review-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.publish-review-modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 92vw);
  max-height: 86vh;
  overflow: auto;
  background: var(--bg-dark);
  border: 1px solid var(--gold);
  border-radius: var(--radius-xl);
  padding: var(--spacing-6);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.publish-review-modal__close {
  position: absolute !important;
  top: var(--spacing-4);
  right: var(--spacing-2);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
}
.publish-review-modal__close:hover {
  border-color: var(--primary-400);
  color: var(--text-primary);
}
.publish-review-modal__title {
  margin: 0 0 var(--spacing-2);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
}
.publish-review-modal__subtitle {
  margin: 0 0 var(--spacing-5);
  color: var(--text-secondary);
  font-size: var(--font-size-base);
}
.publish-review-modal__body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}
.publish-review-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-3);
  padding-top: var(--spacing-5);
  margin-top: var(--spacing-5);
  border-top: 1px solid var(--border-color);
}

body.publish-review-open {
  overflow: hidden;
}

.rush-fee-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}
.rush-fee-group .rush-fee-amount {
  padding-left: 0;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-4) var(--spacing-5);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  margin-top: var(--spacing-4);
}
.form-footer .draft-save-status {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  color: var(--text-secondary);
  font-size: var(--font-size-base);
}
.form-footer .draft-save-status i {
  color: var(--primary-400);
}
.form-footer .draft-save-status.saving i {
  animation: spin 1s linear infinite;
}
.form-footer .draft-save-status.error {
  color: var(--error-color, #ef4444);
}
.form-footer .draft-save-status.error i {
  color: var(--error-color, #ef4444);
}
.form-footer .form-actions {
  display: flex;
  gap: var(--spacing-3);
}
@media (max-width: 640px) {
  .form-footer {
    flex-direction: column;
    gap: var(--spacing-3);
  }
  .form-footer .form-actions {
    width: 100%;
    flex-direction: column;
  }
  .form-footer .form-actions .btn {
    width: 100%;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.has-error .form-control,
.has-error .form-textarea,
.has-error .form-select {
  border-color: var(--error-color, #ef4444);
}
.has-error .form-control:focus,
.has-error .form-textarea:focus,
.has-error .form-select:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.btn.loading {
  position: relative;
  color: transparent;
}
.btn.loading .spinner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/**
 * Submit Project Page - Social Media Inspired Design
 * Inspired by Facebook, Instagram, and TikTok
 */
.project-creation-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
  padding: var(--spacing-6) 0;
}

.creation-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.creation-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}
.creation-card.expanded .card-content {
  display: block;
}
.creation-card.collapsed .card-content {
  display: none;
}
.creation-card.has-error {
  border-color: var(--error-color, #ef4444);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-5);
  background: linear-gradient(135deg, rgba(59, 211, 211, 0.02) 0%, rgba(59, 211, 211, 0.05) 100%);
  border-bottom: 1px solid var(--border-color);
}
.card-header .user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: var(--spacing-3);
  border: 2px solid var(--primary-400);
}
.card-header .card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-400);
  border-radius: 50%;
  color: white;
  margin-right: var(--spacing-3);
}
.card-header .card-icon i {
  font-size: var(--font-size-base);
}
.card-header .card-info {
  flex: 1;
}
.card-header .card-info .card-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-1);
}
.card-header .card-info .card-subtitle {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0;
}
.card-header .expand-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.card-header .expand-toggle:hover {
  border-color: var(--primary-400);
  color: var(--primary-400);
  background: rgba(59, 211, 211, 0.1);
}
.card-header .expand-toggle i {
  font-size: var(--font-size-base);
  transition: transform 0.3s ease;
}

.project-creation-container .card-content {
  padding: var(--spacing-5);
  display: none;
  animation: slideDown 0.3s ease;
}

.post-input {
  margin-top: var(--spacing-4);
}
.post-input textarea {
  width: 100%;
  min-height: 120px;
  padding: var(--spacing-4);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-elevated);
  resize: vertical;
  transition: all 0.2s ease;
}
.post-input textarea::placeholder {
  color: var(--text-tertiary);
}
.post-input textarea:focus {
  outline: none;
  border-color: var(--primary-400);
}
.post-input .char-counter {
  text-align: right;
  margin-top: var(--spacing-2);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}
.post-input .char-counter.near-limit {
  color: var(--warning-color, #f59e0b);
}
.post-input .char-counter.at-limit {
  color: var(--error-color, #ef4444);
  font-weight: 600;
}

.project-type-selector {
  margin-top: var(--spacing-5);
}
.project-type-selector .selector-label {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-3);
}
.project-type-selector .type-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-4);
}
.project-type-selector .type-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-4);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.project-type-selector .type-option:hover {
  border-color: var(--primary-400);
}
.project-type-selector .type-option.selected {
  border-color: var(--primary-400);
  background: linear-gradient(135deg, rgba(59, 211, 211, 0.1) 0%, rgba(59, 211, 211, 0.2) 100%);
}
.project-type-selector .type-option.selected i, .project-type-selector .type-option.selected span {
  color: var(--primary-400);
}
.project-type-selector .type-option i {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2);
  transition: color 0.2s ease;
}
.project-type-selector .type-option span {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.project-title-group {
  margin-top: var(--spacing-4);
}
.project-title-group .form-label {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-2);
}
.project-title-group .title-input {
  width: 100%;
  padding: var(--spacing-3) var(--spacing-4);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  background: var(--bg-elevated);
  transition: all 0.2s ease;
}
.project-title-group .title-input::placeholder {
  color: var(--text-tertiary);
  font-weight: 400;
}
.project-title-group .title-input:focus {
  outline: none;
  border-color: var(--primary-400);
}
.project-title-group .title-counter {
  text-align: right;
  margin-top: var(--spacing-2);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}
.project-title-group .title-counter.near-limit {
  color: var(--warning-color, #f59e0b);
}
.project-title-group .title-counter.at-limit {
  color: var(--error-color, #ef4444);
  font-weight: 600;
}

.media-upload-area .upload-dropzone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-8);
  text-align: center;
  background: var(--bg-elevated);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.media-upload-area .upload-dropzone:hover {
  border-color: var(--primary-400);
  background: rgba(59, 211, 211, 0.02);
}
.media-upload-area .upload-dropzone.drag-over {
  border-color: var(--primary-400);
  background: rgba(59, 211, 211, 0.05);
  transform: scale(1.02);
}
.media-upload-area .upload-dropzone.drag-over .upload-placeholder {
  transform: scale(1.05);
}
.media-upload-area .upload-dropzone .upload-placeholder {
  transition: transform 0.3s ease;
}
.media-upload-area .upload-dropzone .upload-placeholder .upload-text {
  margin-bottom: var(--spacing-3);
}
.media-upload-area .upload-dropzone .upload-placeholder .upload-text strong {
  display: block;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-1);
}
.media-upload-area .upload-dropzone .upload-placeholder .upload-text span {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}
.media-upload-area .upload-dropzone .upload-placeholder .upload-formats {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
}
.media-upload-area .upload-dropzone .upload-placeholder i {
  font-size: var(--font-size-lg);
  color: var(--primary-400);
  margin-bottom: var(--spacing-4);
  opacity: 0.7;
}
.media-upload-area .media-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--spacing-3);
  margin-top: var(--spacing-4);
}
.media-upload-area .media-item {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
}
.media-upload-area .media-item .media-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-upload-area .media-item .media-preview.file-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-upload-area .media-item .media-preview.file-preview i {
  font-size: var(--font-size-lg);
  color: var(--primary-400);
}
.media-upload-area .media-item .media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.media-upload-area .media-item .media-overlay .remove-media {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.media-upload-area .media-item .media-overlay .remove-media:hover {
  background: var(--error-color, #ef4444);
  transform: scale(1.1);
}
.media-upload-area .media-item .media-overlay .remove-media i {
  font-size: var(--font-size-base);
}
.media-upload-area .media-item .media-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: var(--spacing-3);
  color: white;
}
.media-upload-area .media-item .media-info .file-name {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 500;
  margin-bottom: var(--spacing-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.media-upload-area .media-item .media-info .file-size {
  font-size: var(--font-size-base);
  opacity: 0.8;
}
.media-upload-area .media-item:hover .media-overlay {
  opacity: 1;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-5);
}
@media (max-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
}

.detail-group .detail-label {
  display: flex;
  align-items: center;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-3);
}
.detail-group .detail-label i {
  margin-right: var(--spacing-2);
  color: var(--primary-400);
}

.budget-inputs {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}
.budget-inputs .price-input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  transition: all 0.2s ease;
}
.budget-inputs .price-input-wrapper:focus-within {
  border-color: var(--primary-400);
}
.budget-inputs .price-input-wrapper .currency {
  padding: var(--spacing-2) var(--spacing-3);
  color: var(--text-secondary);
  font-weight: 600;
  border-right: 1px solid var(--border-color);
}
.budget-inputs .price-input-wrapper input {
  flex: 1;
  padding: var(--spacing-2) var(--spacing-3);
  border: none;
  background: transparent;
  font-size: var(--font-size-base);
  color: var(--text-primary);
}
.budget-inputs .price-input-wrapper input:focus {
  outline: none;
}
.budget-inputs .price-input-wrapper input::placeholder {
  color: var(--text-tertiary);
}
.budget-inputs .budget-dash {
  color: var(--text-secondary);
  font-weight: 600;
}

.budget-type-select {
  width: 100%;
  margin-top: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
}
.budget-type-select:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.1);
}

.timeline-inputs {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}
.timeline-inputs .date-input {
  flex: 1;
  padding: var(--spacing-2) var(--spacing-3);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
}
.timeline-inputs .date-input:focus {
  outline: none;
  border-color: var(--primary-400);
}
.timeline-inputs .date-dash {
  color: var(--text-secondary);
  font-weight: 600;
}

.duration-select {
  width: 100%;
  margin-top: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
}
.duration-select:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.1);
}

.skills-input-area .skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
  padding: var(--spacing-3);
  min-height: 50px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  transition: all 0.2s ease;
}
.skills-input-area .skills-tags:focus-within {
  border-color: var(--primary-400);
}
.skills-input-area .skills-tags .skills-input-field {
  flex: 1;
  min-width: 200px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: var(--font-size-base);
}
.skills-input-area .skills-tags .skills-input-field:focus {
  outline: none;
}
.skills-input-area .skills-tags .skills-input-field::placeholder {
  color: var(--text-tertiary);
}
.skills-input-area .skill-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  background: var(--primary-400);
  color: white;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 500;
}
.skills-input-area .skill-tag .skill-text {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.skills-input-area .skill-tag .remove-skill {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.skills-input-area .skill-tag .remove-skill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}
.skills-input-area .skill-tag .remove-skill i {
  font-size: var(--font-size-base);
}

.scope-textarea {
  width: 100%;
  min-height: 100px;
  padding: var(--spacing-3) var(--spacing-4);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  resize: vertical;
  transition: all 0.2s ease;
}
.scope-textarea:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.1);
}
.scope-textarea::placeholder {
  color: var(--text-tertiary);
}

.preferences-section {
  margin-top: var(--spacing-5);
  padding-top: var(--spacing-5);
  border-top: 1px solid var(--border-color);
}
.preferences-section .preferences-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-4);
}
.preferences-section .preferences-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3);
}
@media (max-width: 640px) {
  .preferences-section .preferences-grid {
    grid-template-columns: 1fr;
  }
}
.preferences-section .preference-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3) var(--spacing-4);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  cursor: pointer;
  transition: all 0.2s ease;
}
.preferences-section .preference-item:hover {
  border-color: var(--primary-400);
}
.preferences-section .preference-item.featured-item {
  position: relative;
  border-color: var(--gold-500, #e6be69);
  background: linear-gradient(135deg, rgba(230, 190, 105, 0.1) 0%, rgba(230, 190, 105, 0.05) 100%);
}
.preferences-section .preference-item.featured-item .featured-badge {
  position: absolute;
  top: -8px;
  right: var(--spacing-3);
  background: var(--gold-500, #e6be69);
  color: white;
  font-size: var(--font-size-base);
  font-weight: 600;
  padding: 2px var(--spacing-2);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.preferences-section .preference-item input {
  position: absolute;
  opacity: 0;
}
.preferences-section .preference-item .checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
}
.preferences-section .preference-item .checkmark::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}
.preferences-section .preference-item input:checked ~ .checkmark {
  background: var(--primary-400);
  border-color: var(--primary-400);
}
.preferences-section .preference-item input:checked ~ .checkmark::after {
  transform: rotate(45deg) scale(1);
}
.preferences-section .preference-item input:checked ~ .preference-text {
  color: var(--primary-400);
  font-weight: 600;
}
.preferences-section .preference-item .preference-text {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.2s ease;
  margin: 0;
}

.publish-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(59, 211, 211, 0.02) 100%);
  border: 2px solid var(--primary-400);
  position: sticky;
  bottom: 20px;
  z-index: 10;
}
.publish-card .publish-actions .action-buttons {
  display: flex;
  gap: var(--spacing-3);
  justify-content: center;
}
@media (max-width: 640px) {
  .publish-card .publish-actions .action-buttons {
    flex-direction: column;
  }
}
.publish-card .publish-actions .publish-status {
  margin-top: var(--spacing-4);
  text-align: center;
}
.publish-card .publish-actions .publish-status .status-indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  background: rgba(59, 211, 211, 0.1);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  color: var(--primary-400);
  font-weight: 500;
}
.publish-card .publish-actions .publish-status .status-indicator i {
  font-size: var(--font-size-base);
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-4);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  animation: slideInRight 0.3s ease;
  max-width: 400px;
}
.notification.success {
  background: rgba(16, 185, 129, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: white;
}
.notification.error {
  background: rgba(239, 68, 68, 0.95);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: white;
}
.notification.info {
  background: rgba(59, 211, 211, 0.95);
  border: 1px solid rgba(59, 211, 211, 0.3);
  color: white;
}
.notification i {
  font-size: var(--font-size-base);
  flex-shrink: 0;
}
.notification span {
  font-weight: 500;
  line-height: 1.4;
}
.notification.hide {
  animation: slideOutRight 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}
.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.btn.loading .spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.has-error .card-header {
  border-bottom-color: var(--error-color, #ef4444);
}
.has-error .creation-card {
  border-color: var(--error-color, #ef4444);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

@media (max-width: 768px) {
  .project-creation-container {
    padding: var(--spacing-4) 0;
    gap: var(--spacing-4);
  }
  .creation-card .card-header {
    padding: var(--spacing-4);
  }
  .creation-card .card-header .card-info .card-title {
    font-size: var(--font-size-base);
  }
  .creation-card .card-header .card-info .card-subtitle {
    font-size: var(--font-size-base);
  }
  .creation-card .card-content {
    padding: var(--spacing-4);
  }
  .media-upload-area .upload-dropzone {
    padding: var(--spacing-6);
  }
  .media-upload-area .upload-dropzone .upload-placeholder i {
    font-size: var(--font-size-lg);
  }
  .media-upload-area .media-preview-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--spacing-2);
  }
  .type-options {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .preferences-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 480px) {
  .type-options {
    grid-template-columns: 1fr !important;
  }
  .details-grid {
    grid-template-columns: 1fr !important;
  }
  .media-preview-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
.settings-page * {
  outline: none !important;
  outline-color: transparent !important;
}
.settings-page *:focus,
.settings-page *:focus-visible {
  outline: none !important;
  outline-color: transparent !important;
}

.settings-content {
  padding: 0;
  max-width: none;
}

.settings-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.settings-section:hover {
  border-color: rgba(59, 211, 211, 0.15);
  background: rgba(255, 255, 255, 0.03);
}

.settings-section-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.1);
}
.settings-section-header h2 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #3bd3d3;
  text-transform: none;
  letter-spacing: 0.5px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.settings-section-header h2 i {
  font-size: 1rem;
  opacity: 0.8;
}
.settings-section-header .section-subtitle {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.6);
  margin: 4px 0 0;
  font-weight: 400;
}

.settings-section-content {
  padding: 0;
}

.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.15s ease;
  cursor: pointer;
}
.settings-item:hover {
  background: rgba(255, 255, 255, 0.02);
}
.settings-item:last-child {
  border-bottom: none;
}
.settings-item .settings-item-content {
  flex: 1;
  min-width: 0;
}
.settings-item .settings-item-content .settings-item-title {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 2px;
  display: block;
}
.settings-item .settings-item-content .settings-item-description {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.4;
  display: block;
}
.settings-item .settings-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 16px;
}
.settings-item .settings-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.settings-item .settings-toggle .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
  border-radius: 24px;
}
.settings-item .settings-toggle .toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
  border-radius: 50%;
}
.settings-item .settings-toggle input:checked + .toggle-slider {
  background: linear-gradient(135deg, #3bd3d3, #2fc4c4);
  border-color: var(--primary-400);
}
.settings-item .settings-toggle input:checked + .toggle-slider:before {
  transform: translateX(20px);
  background: #000000;
}
.settings-item .settings-toggle .toggle-slider:hover {
  border-color: rgba(59, 211, 211, 0.3);
}

.settings-form-section {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.settings-form-section:last-child {
  border-bottom: none;
}
.settings-form-section .form-group {
  margin-bottom: 16px;
}
.settings-form-section .form-group:last-child {
  margin-bottom: 0;
}
.settings-form-section .form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-base);
  font-weight: 500;
  margin-bottom: 6px;
}
.settings-form-section .form-group .form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
  outline: none;
}
.settings-form-section .form-group .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.settings-form-section .form-group .form-control:hover:not(:disabled) {
  border-color: rgba(59, 211, 211, 0.3);
}
.settings-form-section .form-group .form-control:focus, .settings-form-section .form-group .form-control:focus-visible {
  outline: none;
  border-color: var(--primary-400);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.1);
}
.settings-form-section .form-group .form-control:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.settings-form-section .form-group .form-hint {
  display: block;
  margin-top: 4px;
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.5);
}
.settings-form-section .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .settings-form-section .form-row {
    grid-template-columns: 1fr;
  }
}

.settings-actions {
  padding: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.05);
}
.settings-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: var(--font-size-base);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  outline: none;
}
.settings-actions .btn i {
  font-size: var(--font-size-base);
}
.settings-actions .btn:focus, .settings-actions .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.2);
}
.settings-actions .btn-primary {
  background: #3bd3d3;
  color: #000000;
}
.settings-actions .btn-primary:hover {
  background: #2fc4c4;
  transform: translateY(-1px);
}
.settings-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}
.settings-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}
.settings-actions .btn-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}
.settings-actions .btn-danger:hover {
  background: #ef4444;
  color: #ffffff;
}

.settings-danger-zone {
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.settings-danger-zone:hover {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.02);
}
.settings-danger-zone .settings-section-header h2 {
  color: #ef4444;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: var(--font-size-base);
  font-weight: 500;
}
.status-badge.status-enabled {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.status-badge.status-disabled {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.status-badge i {
  font-size: var(--font-size-base);
}

.session-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.15s ease;
}
.session-item:hover {
  background: rgba(255, 255, 255, 0.02);
}
.session-item:last-child {
  border-bottom: none;
}
.session-item .session-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-base);
  flex-shrink: 0;
}
.session-item .session-content {
  flex: 1;
  min-width: 0;
}
.session-item .session-content .session-title {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 2px;
}
.session-item .session-content .session-meta {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.session-item .session-actions {
  flex-shrink: 0;
}
.session-item .session-actions .btn {
  font-size: var(--font-size-base);
  padding: 6px 12px;
}

.dashboard-header {
  margin-bottom: 24px;
}
.dashboard-header h1 {
  font-family: "Playfair Display", "Baskervville", serif;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}
.dashboard-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 768px) {
  .settings-section-header {
    padding: 12px 16px;
  }
  .settings-section-header h2 {
    font-size: var(--font-size-base);
  }
  .settings-section-header .section-subtitle {
    font-size: var(--font-size-base);
  }
  .settings-item {
    padding: 12px 16px;
  }
  .settings-item .settings-item-title {
    font-size: var(--font-size-base);
  }
  .settings-item .settings-item-description {
    font-size: var(--font-size-base);
  }
  .settings-form-section {
    padding: 16px;
  }
  .settings-actions {
    padding: 16px;
    flex-direction: column;
  }
  .settings-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .session-item {
    padding: 12px 16px;
  }
  .session-item .session-content .session-title {
    font-size: var(--font-size-base);
  }
  .session-item .session-content .session-meta {
    font-size: var(--font-size-base);
  }
}
.notif-prefs-header {
  display: grid;
  grid-template-columns: 1fr 120px 72px;
  align-items: center;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.notif-prefs-header .notif-prefs-col-label {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.notif-pref-row {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center;
}

.notif-pref-controls {
  display: grid;
  grid-template-columns: 120px 72px;
  align-items: center;
}
.notif-pref-controls .notif-email-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-base);
  padding: 6px 24px 6px 10px;
  cursor: pointer;
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.4)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: border-color 0.2s;
}
.notif-pref-controls .notif-email-select:focus {
  border-color: rgba(59, 211, 211, 0.5);
  outline: none;
}
.notif-pref-controls .notif-email-select option {
  background: #1a2626;
  color: rgba(255, 255, 255, 0.85);
}
.notif-pref-controls .notif-sms-toggle-wrap {
  justify-self: center;
}
.notif-pref-controls .notif-sms-na {
  justify-self: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: var(--font-size-base);
}

.notif-prefs-header-employer {
  display: grid;
  grid-template-columns: 1fr 110px 60px;
  align-items: center;
  padding: 6px 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
}
.notif-prefs-header-employer .notif-col-label {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.notif-pref-row-employer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.notif-pref-row-employer:last-child {
  border-bottom: none;
}
.notif-pref-row-employer .notif-row-content {
  padding-right: 16px;
}
.notif-pref-row-employer .notif-row-controls {
  display: grid;
  grid-template-columns: 110px 60px;
  align-items: center;
}
.notif-pref-row-employer .notif-row-controls .employer-notif-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--midnight-end);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-base);
  padding: 5px 22px 5px 8px;
  width: 100%;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.4)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
}
.notif-pref-row-employer .notif-row-controls .employer-notif-select option {
  background: #1a2626;
}
.notif-pref-row-employer .notif-row-controls .toggle-switch {
  justify-self: center;
}

/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme .settings-form-section {
  border-bottom-color: var(--border-subtle);
}
body.light-theme .settings-form-section .form-group label {
  color: var(--text-primary);
}
body.light-theme .settings-form-section .form-group .form-control {
  background: var(--bg-input);
  border-color: var(--primary-alpha-15);
  color: var(--text-input);
}
body.light-theme .settings-form-section .form-group .form-control::placeholder {
  color: var(--text-muted);
}
body.light-theme .settings-form-section .form-group .form-control:focus, body.light-theme .settings-form-section .form-group .form-control:focus-visible {
  background: var(--primary-alpha-5);
}
body.light-theme .settings-form-section .form-group .form-hint {
  color: var(--text-muted);
}
body.light-theme .settings-actions {
  border-top-color: var(--border-subtle);
  background: var(--bg-elevated);
}
body.light-theme .settings-actions .btn-secondary {
  background: var(--bg-card);
  border-color: var(--border-default);
  color: var(--text-secondary);
}
body.light-theme .settings-actions .btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--border-medium);
}
body.light-theme .status-badge.status-disabled {
  background: var(--bg-muted);
  color: var(--text-muted);
  border-color: var(--border-subtle);
}
body.light-theme .session-item {
  border-bottom-color: var(--border-subtle);
}
body.light-theme .session-item:hover {
  background: var(--bg-active);
}
body.light-theme .session-item .session-icon {
  background: var(--bg-muted);
  color: var(--text-secondary);
}
body.light-theme .session-item .session-content .session-title {
  color: var(--text-primary);
}
body.light-theme .session-item .session-content .session-meta {
  color: var(--text-muted);
}
body.light-theme .employer-notif-select {
  background: var(--bg-input);
  border-color: var(--border-subtle);
  color: var(--text-input);
}
body.light-theme .employer-notif-select option {
  background: var(--bg-dropdown);
}

/**
 * Proposal System Styles
 * Clean, minimal styles matching the project-page detail pattern.
 *
 * @package Dreamers_X
 */
.proposal-layout {
  display: flex;
  gap: var(--spacing-6);
  align-items: start;
}
@media (max-width: 1024px) {
  .proposal-layout {
    flex-direction: column;
    gap: var(--spacing-4);
  }
}
@media (max-width: 768px) {
  .proposal-layout {
    flex-direction: column;
  }
}

.proposal-sidebar {
  position: sticky;
  top: var(--spacing-6);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 211, 211, 0.2) transparent;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-5);
}
@media (max-width: 768px) {
  .proposal-sidebar {
    position: static;
    max-height: none;
  }
}
.proposal-sidebar::-webkit-scrollbar {
  width: 4px;
}
.proposal-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.proposal-sidebar::-webkit-scrollbar-thumb {
  background: rgba(59, 211, 211, 0.2);
  border-radius: 2px;
}

.proposal-sidebar__header .project-meta-header {
  display: flex;
  gap: var(--spacing-2);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-3);
}

.proposal-sidebar__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-2) !important;
  line-height: 1.3;
}

.proposal-sidebar__summary {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 !important;
}

.details-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}

.details-section-title {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-secondary);
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.details-section-title::before {
  width: 6px;
  height: 6px;
  background: var(--primary-400);
  border-radius: 50%;
  flex-shrink: 0;
}
.details-section-title a {
  color: var(--brand-white) !important;
  text-decoration: none;
}
.details-section-title a:hover {
  color: var(--primary-400);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.details-grid--compact {
  gap: 0.5rem;
}

.detail-row {
  padding: 0.75rem;
  background: var(--rich-black);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.detail-label {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #6b7280);
  font-weight: 600;
  display: block;
}

.detail-value {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  font-weight: 500;
}
.detail-value--alert {
  color: #f59e0b;
}

.value-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}
.skill-tag--required {
  background: rgba(59, 211, 211, 0.08);
  border-color: rgba(59, 211, 211, 0.2);
  color: var(--primary-400);
}

.sidebar-req-item {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: default;
}
.sidebar-req-item.is-filled {
  background: rgba(59, 211, 211, 0.12);
  border-color: rgba(59, 211, 211, 0.35);
  color: var(--primary-400);
}

.sidebar-brief-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 !important;
  max-height: 120px;
  overflow-y: auto;
}

.sidebar-brief-link {
  color: var(--primary-400);
  text-decoration: none;
}
.sidebar-brief-link:hover {
  text-decoration: underline;
}

.sidebar-style-line {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0 !important;
  line-height: 1.4;
}
.sidebar-style-line strong {
  font-weight: 600;
}
.sidebar-style-line--do strong {
  color: #10b981;
}
.sidebar-style-line--dont strong {
  color: #ef4444;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: var(--spacing-2);
}
.sidebar-links a {
  font-size: var(--font-size-base);
  color: var(--primary-400);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-links a:hover {
  text-decoration: underline;
}

.department-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: var(--primary-alpha-15, rgba(59, 211, 211, 0.15));
  color: var(--primary-400);
  border-radius: 9999px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-badge.badge-open {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.proposal-form-col {
  min-width: 0;
}

.form-section-card {
  background: var(--bg-surface, rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 12px);
  padding: var(--spacing-6);
  margin-bottom: var(--spacing-5);
}
@media (max-width: 768px) {
  .form-section-card {
    padding: var(--spacing-4);
  }
}
.form-section-card--final {
  background: rgba(59, 211, 211, 0.03);
  border-color: rgba(59, 211, 211, 0.15);
}

.form-section-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-2) !important;
}

.form-section-desc {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0 0 var(--spacing-5) !important;
  line-height: 1.5;
}

.section-body {
  display: block;
}

.price-input-container {
  margin-bottom: var(--spacing-4);
}

.budget-context {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  margin-top: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-base);
}

.budget-label {
  color: var(--text-muted);
}

.budget-range {
  font-weight: 600;
  color: var(--primary-400);
}

.price-status {
  margin-left: auto;
  font-size: var(--font-size-base);
  font-weight: 500;
}
.price-status--success {
  color: #10b981;
}
.price-status--warning {
  color: #f59e0b;
}
.price-status--neutral {
  color: var(--text-secondary);
}

.offer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: var(--spacing-5) 0;
}

.expandable-section {
  margin-top: var(--spacing-4);
}

.btn-expand {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-3) var(--spacing-4);
  background: transparent;
  border: 1px dashed var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  cursor: pointer;
  width: 100%;
  justify-content: flex-start;
  transition: all 0.2s ease;
}
.btn-expand:hover {
  border-color: var(--primary-400);
  color: var(--primary-400);
}
.btn-expand.expanded {
  border-style: solid;
  border-color: var(--primary-400);
}

.expand-text {
  flex: 1;
  text-align: left;
}

.expand-icon {
  transition: transform 0.2s ease;
}
.btn-expand.expanded .expand-icon {
  transform: rotate(180deg);
}

.expandable-content {
  padding: var(--spacing-4);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.breakdown-grid {
  display: grid;
  gap: var(--spacing-3);
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-3);
  background: var(--bg-surface, rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md);
}
.breakdown-item label {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  font-weight: 500;
}
.breakdown-item--highlighted {
  border-color: var(--primary-400);
  background: rgba(59, 211, 211, 0.05);
}

.breakdown-input {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}

.currency {
  color: var(--text-muted);
  font-size: var(--font-size-base);
}

.breakdown-amount {
  width: 120px !important;
  text-align: right;
}

.percentage {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  min-width: 40px;
  text-align: right;
}

.breakdown-total {
  margin-top: var(--spacing-4);
  padding: var(--spacing-3);
  background: var(--bg-surface, rgba(255, 255, 255, 0.02));
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 500;
  font-size: var(--font-size-base);
}

.breakdown-match {
  margin-left: var(--spacing-2);
  font-size: var(--font-size-base);
}

.breakdown-match--success {
  color: #10b981;
}

.breakdown-match--warning {
  color: #f59e0b;
}

.breakdown-match--error {
  color: #ef4444;
}

.phases-grid {
  display: grid;
  gap: var(--spacing-3);
}

.phase-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3);
  background: var(--bg-surface, rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease;
}
.phase-item:hover {
  border-color: var(--primary-400);
}

.phase-checkbox {
  position: relative;
  margin-bottom: 0;
}
.phase-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.phase-checkbox input:checked + .checkmark {
  background: var(--primary-400);
  border-color: var(--primary-400);
}
.phase-checkbox input:checked + .checkmark::after {
  content: "✓";
  color: black;
  font-size: var(--font-size-base);
}

.checkmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.phase-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-3);
}

.phase-name {
  font-weight: 500;
  color: var(--text-primary);
  font-size: var(--font-size-base);
}

.phase-input {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}

.phase-days {
  width: 70px !important;
  text-align: center;
}

.phase-unit {
  font-size: var(--font-size-base);
  color: var(--text-muted);
}

.phase-total {
  margin-top: var(--spacing-4);
  padding: var(--spacing-3);
  background: var(--bg-surface, rgba(255, 255, 255, 0.02));
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 500;
  font-size: var(--font-size-base);
}

.phase-match {
  margin-left: var(--spacing-2);
  font-size: var(--font-size-base);
}

.phase-match--success {
  color: #10b981;
}

.phase-match--warning {
  color: #f59e0b;
}

.portfolio-selector {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--spacing-3);
  padding: var(--spacing-3) 0;
}

.portfolio-item-select {
  cursor: pointer;
  margin-bottom: 0 !important;
}
.portfolio-item-select input {
  display: none;
}
.portfolio-item-select .portfolio-item-preview {
  border: 2px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.portfolio-item-select input:checked + .portfolio-item-preview {
  border-color: var(--primary-400);
}
.portfolio-item-select:hover .portfolio-item-preview {
  border-color: var(--primary-400);
}
.portfolio-item-select img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.portfolio-item-select .item-title {
  display: block;
  padding: var(--spacing-2);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.portfolio-item-select .portfolio-item-placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated, rgba(255, 255, 255, 0.04));
  color: var(--text-muted);
  font-size: var(--font-size-2xl);
}
.portfolio-item-select .portfolio-item-video {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated, rgba(255, 255, 255, 0.04));
}
.portfolio-item-select .portfolio-item-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portfolio-item-select .portfolio-item-video .portfolio-item-video-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: var(--font-size-2xl);
  pointer-events: none;
  transition: background 0.2s ease;
}

.additional-links-section {
  margin-top: var(--spacing-4);
}
.additional-links-section .form-label {
  margin-bottom: var(--spacing-2);
  display: block;
}

.additional-link-row {
  display: flex;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-2);
}
.additional-link-row .form-control {
  flex: 1;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-4);
}
@media (max-width: 768px) {
  .deliverables-grid {
    grid-template-columns: 1fr;
  }
}

.deliverable-item--wide {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .deliverable-item--wide {
    grid-column: span 1;
  }
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
}

.checkbox-chip {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-2) var(--spacing-3);
  border: 2px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: var(--font-size-base);
}
.checkbox-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.checkbox-chip:hover {
  border-color: var(--primary-400);
}
.checkbox-chip:has(input:checked) {
  background: var(--primary-400);
  border-color: var(--primary-400);
  color: black;
}

.deliverables-additional {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-4);
}

.deliverable-toggle {
  padding: var(--spacing-3);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md);
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  cursor: pointer;
}
.toggle-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-400);
}

.toggle-text {
  font-weight: 500;
  color: var(--text-primary);
  font-size: var(--font-size-base);
}

.toggle-hint {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  margin-left: auto;
}

.toggle-extra {
  margin-top: var(--spacing-3);
  padding-left: calc(18px + var(--spacing-3));
}

.usage-rights-section {
  padding: var(--spacing-3);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-4);
}

.section-hint {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-4);
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}
.section-hint i {
  color: var(--primary-400);
}

.deliverables-confirm-section {
  background: var(--bg-elevated, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md);
  padding: var(--spacing-4);
}

.deliverables-intro {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0 0 var(--spacing-4) !important;
}

.deliverables-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-4);
}
@media (max-width: 768px) {
  .deliverables-specs-grid {
    grid-template-columns: 1fr;
  }
}

.spec-display-box {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3) var(--spacing-4);
  background: var(--rich-black);
  border: 1px solid rgba(59, 211, 211, 0.3);
  border-radius: var(--radius-md);
}
.spec-display-box .spec-icon {
  color: var(--primary-400);
  font-size: var(--font-size-2xl);
}
.spec-display-box .spec-value {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--font-size-base);
}

.form-group-confirm-toggle .confirm-toggle-label {
  display: block;
  cursor: pointer;
  margin: 0;
}
.form-group-confirm-toggle .confirm-toggle-input {
  position: absolute;
  opacity: 0;
}
.form-group-confirm-toggle .confirm-toggle-input:checked + .confirm-toggle-box {
  border-color: var(--primary-400);
  background: rgba(59, 211, 211, 0.05);
}
.form-group-confirm-toggle .confirm-toggle-input:checked + .confirm-toggle-box .confirm-toggle-check {
  background: var(--primary-400);
  border-color: var(--primary-400);
}
.form-group-confirm-toggle .confirm-toggle-input:checked + .confirm-toggle-box .confirm-toggle-check i {
  color: black;
  opacity: 1;
}
.form-group-confirm-toggle .confirm-toggle-box {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3) var(--spacing-4);
  background: var(--rich-black);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.form-group-confirm-toggle .confirm-toggle-box:hover {
  border-color: rgba(59, 211, 211, 0.3);
}
.form-group-confirm-toggle .confirm-toggle-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-color, rgba(255, 255, 255, 0.15));
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.form-group-confirm-toggle .confirm-toggle-check i {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  opacity: 0;
  transition: all 0.2s ease;
}
.form-group-confirm-toggle .confirm-toggle-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.form-group-confirm-toggle .confirm-toggle-main {
  font-weight: 500;
  color: var(--text-primary);
  font-size: var(--font-size-base);
}
.form-group-confirm-toggle .confirm-toggle-sub {
  font-size: var(--font-size-base);
  color: var(--text-muted);
}
.form-group-confirm-toggle .form-help-text {
  margin-top: var(--spacing-2);
  margin-left: calc(24px + var(--spacing-4));
}

.deliverables-confirmation-section .confirmation-section-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--spacing-3) !important;
}

.usage-rights-box {
  background: rgba(59, 211, 211, 0.05);
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-md);
  padding: var(--spacing-3) var(--spacing-4);
  margin-bottom: var(--spacing-3);
}
.usage-rights-box .usage-rights-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-2);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--primary-400);
}
.usage-rights-box .usage-rights-header i {
  font-size: var(--font-size-base);
}
.usage-rights-box .usage-rights-value {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  margin: 0 !important;
}

.terms-agreement {
  padding: var(--spacing-3);
  border-radius: var(--radius-md);
}

.checkbox-item--large {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-3);
  cursor: pointer;
}
.checkbox-item--large input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.checkbox-item--large input:checked + .checkbox-check {
  background: var(--primary-400);
  border-color: var(--primary-400);
}

.checkbox-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}
.checkbox-check i {
  color: black;
  font-size: var(--font-size-base);
}

.form-group-checkbox .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-3);
  cursor: pointer;
  margin: 0;
}
.form-group-checkbox .checkbox-label input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary-400);
  flex-shrink: 0;
}

.checkbox-text {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  line-height: 1.5;
}
.checkbox-text .required {
  color: #ef4444;
  margin-left: 2px;
}

.checkbox-subtext {
  font-size: var(--font-size-base);
  color: var(--text-muted);
}

.proposal-footer-sticky {
  position: sticky;
  bottom: 0;
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  padding: var(--spacing-4) var(--spacing-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-6);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5);
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 768px) {
  .proposal-footer-sticky {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-3);
    padding: var(--spacing-4);
  }
}

.footer-summary {
  display: flex;
  align-items: center;
  gap: var(--spacing-5);
}
@media (max-width: 768px) {
  .footer-summary {
    flex-wrap: wrap;
    justify-content: space-around;
    gap: var(--spacing-3);
  }
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.summary-label {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.summary-value {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--brand-white);
}
@media (max-width: 768px) {
  .summary-value {
    font-size: var(--font-size-base);
  }
}

.summary-separator {
  width: 1px;
  height: 36px;
  background: var(--border-color, rgba(255, 255, 255, 0.08));
}
@media (max-width: 768px) {
  .summary-separator {
    display: none;
  }
}

.footer-actions {
  display: flex;
  gap: var(--spacing-3);
}
@media (max-width: 768px) {
  .footer-actions {
    width: 100%;
  }
  .footer-actions .btn {
    flex: 1;
  }
}

.proposals-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.proposals-list--employer .proposal-card {
  border-left: 4px solid transparent;
}
.proposals-list--employer .proposal-card[data-status=shortlisted] {
  border-left-color: #8b5cf6;
}
.proposals-list--employer .proposal-card[data-status=accepted] {
  border-left-color: #10b981;
}

.proposal-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-5);
  transition: box-shadow 0.2s ease;
}
.proposal-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.proposal-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-4);
  padding-bottom: var(--spacing-4);
  border-bottom: 1px solid var(--border-color);
}
@media (max-width: 768px) {
  .proposal-card__header {
    flex-direction: column;
  }
}

.proposal-card__body {
  margin-bottom: var(--spacing-4);
}

.proposal-card__actions {
  display: flex;
  gap: var(--spacing-3);
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .proposal-card__actions .btn {
    flex: 1;
    justify-content: center;
  }
}

.creator-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}

.creator-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-elevated);
}

.creator-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  color: var(--text-muted);
}

.creator-details {
  flex: 1;
}

.creator-name {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin: 0 0 var(--spacing-1) !important;
}
.creator-name a {
  color: var(--text-primary);
  text-decoration: none;
}
.creator-name a:hover {
  color: var(--primary-400);
}

.creator-rate {
  font-size: var(--font-size-base);
  color: var(--primary-400);
  font-weight: 500;
}

.proposal-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-6);
}
@media (max-width: 768px) {
  .proposal-stats-row {
    grid-template-columns: 1fr;
  }
}

.stat-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-4);
  text-align: center;
}

.stat-label {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: var(--spacing-1);
  display: block;
}

.stat-value {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--text-primary);
}
.stat-value.price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-400);
}

.proposal-details-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-5);
}

.detail-section {
  margin-bottom: var(--spacing-6);
}
.detail-section:last-child {
  margin-bottom: 0;
}
.detail-section h4 {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0 0 var(--spacing-3);
}

.detail-content {
  color: var(--text-primary);
  line-height: 1.7;
}
.detail-content p {
  margin-bottom: var(--spacing-3);
}
.detail-content p:last-child {
  margin-bottom: 0;
}
.detail-content.questions-content {
  background: var(--bg-elevated);
  border-left: 3px solid var(--primary-400);
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.rejection-section h4 {
  color: #ef4444;
}
.rejection-section .detail-content {
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid #ef4444;
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.status-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-color);
  border-left-width: 4px;
  border-radius: var(--radius-md);
  padding: var(--spacing-4) var(--spacing-5);
  margin-bottom: var(--spacing-4);
}
@media (max-width: 768px) {
  .status-banner {
    flex-direction: column;
    gap: var(--spacing-3);
    text-align: center;
  }
}

.status-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}
@media (max-width: 768px) {
  .status-info {
    flex-direction: column;
  }
}

.status-label {
  font-weight: 600;
  font-size: var(--font-size-base);
}

.status-meta {
  font-size: var(--font-size-base);
  color: var(--text-muted);
}

.status-actions {
  display: flex;
  gap: var(--spacing-2);
}

.status-tabs {
  display: flex;
  gap: var(--spacing-1);
  margin-bottom: var(--spacing-4);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--spacing-4);
}
@media (max-width: 768px) {
  .status-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.tab-item {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-4);
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.tab-item:hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
}
.tab-item.active {
  color: var(--primary-400);
  background: rgba(59, 211, 211, 0.1);
}
.tab-item .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 0 var(--spacing-1);
  font-size: var(--font-size-base);
  font-weight: 600;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
}

.empty-state {
  text-align: center;
  padding: var(--spacing-12) var(--spacing-6);
}
.empty-state__icon {
  font-size: var(--font-size-4xl);
  color: var(--text-muted);
  margin-bottom: var(--spacing-4);
}
.empty-state h3 {
  font-size: var(--font-size-xl);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-2);
}
.empty-state p {
  color: var(--text-secondary);
  margin: 0 0 var(--spacing-6);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: var(--spacing-4);
}

.modal-content {
  background: var(--bg-surface, rgba(20, 20, 20, 0.98));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-4) var(--spacing-5);
  border-bottom: 1px solid var(--border-color);
}
.modal-header h3 {
  margin: 0 !important;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

.modal-close {
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--spacing-1);
  line-height: 1;
}
.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: var(--spacing-5);
}
.modal-body p {
  margin: 0 0 var(--spacing-4) !important;
  color: var(--text-secondary);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-3);
  padding: var(--spacing-4) var(--spacing-5);
  border-top: 1px solid var(--border-color);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-3);
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portfolio-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.portfolio-preview {
  aspect-ratio: 16/9;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--font-size-xl);
}

.portfolio-link-text {
  padding: var(--spacing-2) var(--spacing-3);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proposal-actions-bar {
  display: flex;
  gap: var(--spacing-3);
  margin-top: var(--spacing-6);
  padding-top: var(--spacing-6);
  border-top: 1px solid var(--border-color);
}
@media (max-width: 768px) {
  .proposal-actions-bar {
    flex-direction: column;
  }
  .proposal-actions-bar .btn {
    justify-content: center;
  }
}

/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme .proposals-page {
  background: var(--bg-page);
}

/**
 * Employer Profile Page Styles
 * Facebook/Instagram/Fiverr/Behance inspired client profile page
 *
 * @package Dreamers_X
 * @since 1.0.0
 */
.employer-profile-wrapper {
  background: var(--rich-black);
  color: var(--brand-white);
  min-height: 100vh;
}

/* Profile Header Section (Facebook/Instagram style) */
.employer-profile-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Centered Profile Header */
.profile-header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  gap: 1rem;
}

.profile-avatar-wrapper {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.profile-avatar-wrapper .profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-avatar-wrapper .profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--rich-black);
  text-transform: uppercase;
}
.profile-avatar-wrapper .verified-badge-large {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 36px;
  height: 36px;
  background: var(--primary-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--rich-black);
}

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-white);
  margin: 0.25rem 0 0;
  line-height: 1.2;
}

.profile-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.profile-meta .meta-separator {
  color: var(--text-secondary);
  opacity: 0.5;
}
.profile-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--font-size-base);
  font-weight: 500;
}
.profile-meta .meta-item.industry {
  color: var(--gold-500);
  font-weight: 600;
}
.profile-meta .meta-item.location {
  color: var(--text-secondary);
}
.profile-meta .meta-item.location svg {
  fill: var(--gold-500);
  flex-shrink: 0;
}

/* Combined About + Stats Card */
.profile-about-stats-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.card-about-section .card-about-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 0.75rem;
}
.card-about-section .card-about-text {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.65;
}
.card-about-section .card-about-text p {
  margin-bottom: 0.75rem;
}
.card-about-section .card-about-text p:last-child {
  margin-bottom: 0;
}

.card-section-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}

.card-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.card-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  gap: 0.5rem;
}
.card-stat-item:nth-child(1) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.card-stat-item:nth-child(2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.card-stat-item:nth-child(3) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.card-stat-item .card-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(230, 190, 105, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}
.card-stat-item .card-stat-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--gold-500);
}
.card-stat-item .card-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-white);
  line-height: 1;
}
.card-stat-item .card-stat-label {
  font-size: var(--font-size-base);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.card-stat-item .card-stat-subtext {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Social Links (Instagram style) */
.profile-social-section {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.profile-social-section .social-section-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--brand-white);
  margin-bottom: 2rem;
  text-align: center;
}
.profile-social-section .social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .profile-social-section .social-links-grid {
    grid-template-columns: 1fr;
  }
}
.profile-social-section .social-link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(59, 211, 211, 0.05);
  border: 1px solid rgba(59, 211, 211, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: var(--brand-white);
  transition: all 0.3s ease;
}
.profile-social-section .social-link-item .social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(59, 211, 211, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.profile-social-section .social-link-item .social-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--gold-500);
}
.profile-social-section .social-link-item span {
  font-weight: 600;
  color: var(--text-secondary);
}
.profile-social-section .social-link-item:hover {
  background: rgba(59, 211, 211, 0.15);
  border-color: rgba(59, 211, 211, 0.3);
  transform: translateY(-2px);
}
.profile-social-section .social-link-item:hover span {
  color: var(--brand-white);
}

/* Portfolio Section (Instagram/Fiverr grid style) */
.profile-portfolio-section {
  padding: 2rem 0;
}
.profile-portfolio-section .portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .profile-portfolio-section .portfolio-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}
.profile-portfolio-section .portfolio-header .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-white);
  margin: 0;
}
.profile-portfolio-section .portfolio-header .view-all-link {
  color: var(--gold-500);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-base);
  transition: color 0.3s ease;
}
.profile-portfolio-section .portfolio-header .view-all-link:hover {
  color: var(--gold-400);
}
.profile-portfolio-section .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  width: 100%;
}
@media (max-width: 768px) {
  .profile-portfolio-section .portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}
.profile-portfolio-section .portfolio-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.profile-portfolio-section .portfolio-item:not(:has(.portfolio-link)) {
  cursor: default;
}
.profile-portfolio-section .portfolio-item:not(:has(.portfolio-link)):hover {
  transform: none;
  box-shadow: none;
}
.profile-portfolio-section .portfolio-item:not(:has(.portfolio-link)) .portfolio-title {
  opacity: 0.7;
}
.profile-portfolio-section .portfolio-item .portfolio-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.profile-portfolio-section .portfolio-item .portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.profile-portfolio-section .portfolio-item .portfolio-image .portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.profile-portfolio-section .portfolio-item .portfolio-image .portfolio-overlay .portfolio-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rich-black);
  text-decoration: none;
  transition: all 0.3s ease;
}
.profile-portfolio-section .portfolio-item .portfolio-image .portfolio-overlay .portfolio-link svg {
  width: 24px;
  height: 24px;
}
.profile-portfolio-section .portfolio-item .portfolio-image .portfolio-overlay .portfolio-link:hover {
  background: var(--gold-400);
  transform: scale(1.1);
}
.profile-portfolio-section .portfolio-item .portfolio-image:hover img {
  transform: scale(1.05);
}
.profile-portfolio-section .portfolio-item .portfolio-image:hover .portfolio-overlay {
  opacity: 1;
}
.profile-portfolio-section .portfolio-item .portfolio-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.profile-portfolio-section .portfolio-item .portfolio-content .portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  flex-shrink: 0;
}
.profile-portfolio-section .portfolio-item .portfolio-content .portfolio-budget {
  color: var(--gold-500);
  font-weight: 600;
}
.profile-portfolio-section .portfolio-item .portfolio-content .portfolio-status {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
}
.profile-portfolio-section .portfolio-item .portfolio-content .portfolio-status.status-in-progress {
  background: rgba(230, 190, 105, 0.15);
  color: var(--gold-500);
}
.profile-portfolio-section .portfolio-item .portfolio-content .portfolio-status.status-completed {
  background: rgba(76, 175, 80, 0.15);
  color: #4CAF50;
}
.profile-portfolio-section .portfolio-item .portfolio-content .portfolio-status.status-closed {
  background: rgba(158, 158, 158, 0.15);
  color: var(--text-secondary);
}
.profile-portfolio-section .portfolio-item .portfolio-content .portfolio-restricted {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(158, 158, 158, 0.15);
  color: var(--text-secondary);
}
.profile-portfolio-section .portfolio-item .portfolio-content .portfolio-restricted svg {
  opacity: 0.7;
}
.profile-portfolio-section .portfolio-item .portfolio-content .portfolio-excerpt {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: auto;
  padding-top: 0.5rem;
}
.profile-portfolio-section .empty-portfolio {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  max-width: 400px;
  margin: 0 auto;
}
.profile-portfolio-section .empty-portfolio .empty-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: 1rem;
  opacity: 0.5;
}
.profile-portfolio-section .empty-portfolio h3 {
  color: var(--brand-white);
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
}
.profile-portfolio-section .empty-portfolio p {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.5;
}

/* Reviews Section (Facebook/Instagram style) */
.profile-reviews-section {
  padding: 3rem 0;
}
.profile-reviews-section .reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .profile-reviews-section .reviews-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
.profile-reviews-section .reviews-header .section-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--brand-white);
  margin: 0;
}
.profile-reviews-section .reviews-header .reviews-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 768px) {
  .profile-reviews-section .reviews-header .reviews-summary {
    flex-direction: column;
    gap: 0.5rem;
  }
}
.profile-reviews-section .reviews-header .reviews-summary .overall-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.profile-reviews-section .reviews-header .reviews-summary .overall-rating .rating-number {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--gold-500);
}
.profile-reviews-section .reviews-header .reviews-summary .overall-rating .rating-stars {
  color: #ffa500;
  font-size: var(--font-size-base);
}
.profile-reviews-section .reviews-header .reviews-summary .overall-rating .rating-count {
  color: var(--brand-white);
  font-size: var(--font-size-base);
}
.profile-reviews-section .reviews-grid {
  display: grid;
  gap: 2rem;
}
.profile-reviews-section .review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}
.profile-reviews-section .review-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(59, 211, 211, 0.2);
}
.profile-reviews-section .review-card .review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .profile-reviews-section .review-card .review-header {
    flex-direction: column;
    gap: 1rem;
  }
}
.profile-reviews-section .review-card .review-header .reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.profile-reviews-section .review-card .review-header .reviewer-info .reviewer-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.profile-reviews-section .review-card .review-header .reviewer-info .reviewer-avatar img,
.profile-reviews-section .review-card .review-header .reviewer-info .reviewer-avatar .reviewer-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.profile-reviews-section .review-card .review-header .reviewer-info .reviewer-avatar .avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--brand-white);
}
.profile-reviews-section .review-card .review-header .reviewer-info .reviewer-details .reviewer-name {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--brand-white);
  margin-bottom: 0.25rem;
}
.profile-reviews-section .review-card .review-header .reviewer-info .reviewer-details .review-date {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
}
.profile-reviews-section .review-card .review-header .review-rating {
  text-align: right;
}
@media (max-width: 768px) {
  .profile-reviews-section .review-card .review-header .review-rating {
    text-align: left;
  }
}
.profile-reviews-section .review-card .review-header .review-rating .rating-stars {
  color: #ffa500;
  font-size: var(--font-size-base);
  margin-bottom: 0.25rem;
}
.profile-reviews-section .review-card .review-header .review-rating .rating-number {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--gold-500);
}
.profile-reviews-section .review-card .review-content {
  margin-bottom: 1.5rem;
}
.profile-reviews-section .review-card .review-content .review-text {
  color: var(--brand-white);
  line-height: 1.6;
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
}
.profile-reviews-section .review-card .review-content .review-ratings .rating-breakdown {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.profile-reviews-section .review-card .review-content .review-ratings .rating-breakdown:last-child {
  border-bottom: none;
}
.profile-reviews-section .review-card .review-content .review-ratings .rating-breakdown .rating-label {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
}
.profile-reviews-section .review-card .review-content .review-ratings .rating-breakdown .rating-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.profile-reviews-section .review-card .review-content .review-ratings .rating-breakdown .rating-value .rating-num {
  color: var(--gold-500);
  font-weight: 600;
  font-size: var(--font-size-base);
}
.profile-reviews-section .review-card .review-response {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(59, 211, 211, 0.05);
  border-left: 4px solid var(--gold-500);
  border-radius: 8px;
}
.profile-reviews-section .review-card .review-response .response-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.profile-reviews-section .review-card .review-response .response-header svg {
  color: var(--gold-500);
  flex-shrink: 0;
}
.profile-reviews-section .review-card .review-response .response-header .response-label {
  color: var(--gold-500);
  font-weight: 600;
  font-size: var(--font-size-base);
}
.profile-reviews-section .review-card .review-response .response-header .response-date {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
}
.profile-reviews-section .review-card .review-response .response-text {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: var(--font-size-base);
}
.profile-reviews-section .empty-reviews {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  max-width: 400px;
  margin: 0 auto;
}
.profile-reviews-section .empty-reviews .empty-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: 1rem;
  opacity: 0.5;
}
.profile-reviews-section .empty-reviews h3 {
  color: var(--brand-white);
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
}
.profile-reviews-section .empty-reviews p {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.5;
}

/* Contact Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}
.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal .modal-content {
  background: var(--rich-black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.modal .modal-header h3 {
  font-size: var(--font-size-lg);
  color: var(--brand-white);
  font-weight: 700;
  margin: 0;
}
.modal .modal-header .modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: var(--font-size-2xl);
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal .modal-header .modal-close:hover {
  color: var(--brand-white);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form .form-group:last-of-type {
  margin-bottom: 2rem;
}
.contact-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--brand-white);
  font-weight: 500;
  font-size: var(--font-size-base);
}
.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--brand-white);
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: all 0.3s ease;
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: rgba(59, 211, 211, 0.05);
}
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: var(--text-secondary);
}
.contact-form .form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form .form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
@media (max-width: 480px) {
  .contact-form .form-actions {
    flex-direction: column-reverse;
  }
  .contact-form .form-actions .btn {
    width: 100%;
  }
}
.contact-form .btn {
  padding: 0.875rem 1.5rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.contact-form .btn-primary {
  background: var(--gold-500);
  color: var(--rich-black);
}
.contact-form .btn-primary:hover:not(:disabled) {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 211, 211, 0.3);
}
.contact-form .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.contact-form .btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
}
.contact-form .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--brand-white);
}

/* Employer Profile Page Specific Styling */
.employer-profile-page-gold-theme .profile-portfolio-section .portfolio-item {
  border: 2px solid var(--gold-500) !important;
  box-shadow: none !important;
}
.employer-profile-page-gold-theme .profile-portfolio-section .portfolio-item:hover {
  border-color: var(--gold-400) !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}
.employer-profile-page-gold-theme .profile-portfolio-section .portfolio-item .portfolio-content .portfolio-title {
  color: var(--gold-500) !important;
}
.employer-profile-page-gold-theme .profile-portfolio-section .portfolio-item .portfolio-content .portfolio-title a {
  color: inherit !important;
}
.employer-profile-page-gold-theme .profile-portfolio-section .portfolio-item .portfolio-content .portfolio-title a:hover {
  color: var(--gold-400) !important;
}
.employer-profile-page-gold-theme .profile-portfolio-section .portfolio-item .portfolio-content .portfolio-meta .portfolio-status.status-open {
  background: var(--gold-alpha-20) !important;
}

/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme .employer-page,
body.light-theme .employer-section {
  background: var(--bg-page);
}
body.light-theme .detail-row,
body.light-theme .detail-item {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
body.light-theme .employer-info-section,
body.light-theme .employer-card-section {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
body.light-theme .profile-about-stats-card {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
body.light-theme .card-section-divider {
  border-top-color: var(--border-subtle);
}
body.light-theme .card-stat-item:nth-child(1), body.light-theme .card-stat-item:nth-child(3) {
  border-right-color: var(--border-default);
}
body.light-theme .card-stat-item:nth-child(1), body.light-theme .card-stat-item:nth-child(2) {
  border-bottom-color: var(--border-default);
}
body.light-theme .employer-profile-header {
  border-bottom-color: var(--border-subtle);
}

/**
 * Project Room Page Styles
 * Full-height layout for centralized project collaboration
 */
.project-room {
  min-height: calc(100vh - 80px);
  background: var(--bg-page);
  color: var(--text-primary);
  padding: 2rem 3rem;
}
@media (max-width: 768px) {
  .project-room {
    padding: 1rem;
  }
}
.project-room__header {
  padding-bottom: var(--spacing-5, 1.25rem);
  margin-bottom: var(--spacing-2, 0.5rem);
}
.project-room__header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-4, 1rem);
  margin-bottom: var(--spacing-3, 0.75rem);
}
@media (max-width: 768px) {
  .project-room__header-main {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-3, 0.75rem);
  }
}
.project-room__title-group {
  display: flex;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
}
.project-room__title {
  font-size: var(--font-size-4xl, 2.5rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
  color: var(--text-primary, #FCFFFF);
}
.project-room__properties {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  flex-wrap: wrap;
}
.project-room__participants {
  display: flex;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
  flex-shrink: 0;
}
.project-room__tabs {
  display: flex;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid rgba(59, 211, 211, 0.15);
  margin-bottom: var(--spacing-6, 1.5rem);
  overflow-x: auto;
  scrollbar-width: none;
}
.project-room__tabs::-webkit-scrollbar {
  display: none;
}
@media (max-width: 768px) {
  .project-room__tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-bottom: none;
    border-top: 1px solid rgba(59, 211, 211, 0.15);
    margin: 0;
    background: var(--bg-page);
    padding-bottom: max(0px, env(safe-area-inset-bottom));
    z-index: 100;
  }
}
.project-room__tab-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  padding: var(--spacing-3, 0.75rem) var(--spacing-4, 1rem);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--text-secondary, #C4CFCF);
  font-size: var(--font-size-base);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.project-room__tab-btn .tab-icon {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  width: 16px;
  height: 16px;
}
.project-room__tab-btn:hover {
  color: var(--text-primary, #FCFFFF);
}
.project-room__tab-btn:hover .tab-icon {
  opacity: 1;
}
.project-room__tab-btn:focus-visible {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}
.project-room__tab-btn--active {
  color: var(--primary-400, #0BF9EA);
  border: none !important;
  background: transparent;
}
.project-room__tab-btn--active .tab-icon {
  opacity: 1;
}
.project-room__tab-btn--active:hover {
  color: var(--primary-400, #0BF9EA);
}
@media (max-width: 768px) {
  .project-room__tab-btn {
    flex-direction: column;
    gap: var(--spacing-1, 0.25rem);
    padding: var(--spacing-2, 0.5rem) var(--spacing-3, 0.75rem);
    font-size: var(--font-size-base);
    flex: 1;
    min-width: 0;
    border-bottom: none;
    border-top: 2px solid transparent;
    margin-bottom: 0;
    margin-top: -1px;
  }
  .project-room__tab-btn--active {
    border-bottom: none;
    border-top-color: var(--primary-400, #0BF9EA);
  }
  .project-room__tab-btn .tab-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.project-room__content {
  padding-bottom: var(--spacing-8, 2rem);
}
@media (max-width: 768px) {
  .project-room__content {
    padding-bottom: 80px;
  }
}
.project-room__tab {
  animation: fadeIn 0.25s ease;
}
.project-room__tab[style*="display: none"] {
  display: none !important;
}

.project-property {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
}
.project-property__label {
  font-size: var(--font-size-base);
  color: var(--text-secondary, #C4CFCF);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.project-property__value {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary, #FCFFFF);
}
.project-property__sep {
  color: var(--text-tertiary, #768585);
  margin: 0 var(--spacing-1, 0.25rem);
}

.participant {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
}
.participant a {
  display: block;
  text-decoration: none;
  border-radius: 50%;
  line-height: 0;
  transition: opacity var(--transition-base);
}
.participant a:hover {
  opacity: 0.85;
}
.participant__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-400, #0BF9EA);
  display: block;
}
.participant__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.participant__role {
  font-size: var(--font-size-base);
  color: var(--text-secondary, #C4CFCF);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}
.participant__name {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary, #FCFFFF);
  line-height: 1.2;
}
.participant__divider {
  color: var(--text-tertiary, #768585);
  display: flex;
  align-items: center;
}

.overview-dashboard {
  display: grid;
  grid-template-columns: 2fr auto;
  gap: var(--spacing-5, 1.25rem);
  align-items: start;
}
@media (max-width: 1024px) {
  .overview-dashboard {
    grid-template-columns: 1fr;
  }
}

.overview-main {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4, 1rem);
}

.overview-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4, 1rem);
}
@media (max-width: 1024px) {
  .overview-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.overview-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--midnight-end);
  border-radius: 10px;
  overflow: hidden;
}
.overview-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-4, 1rem) var(--spacing-5, 1.25rem);
  border-bottom: 1px solid rgba(59, 211, 211, 0.08);
}
.overview-card__title {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin: 0;
  color: var(--text-secondary, #C4CFCF);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.overview-card__badge {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--primary-400, #0BF9EA);
  background: rgba(59, 211, 211, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
}
.overview-card__body {
  padding: var(--spacing-5, 1.25rem);
}
.overview-card__footer {
  padding: var(--spacing-3, 0.75rem) var(--spacing-5, 1.25rem);
  border-top: 1px solid rgba(59, 211, 211, 0.08);
  display: flex;
  gap: var(--spacing-2, 0.5rem);
}

.progress-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
  margin-bottom: var(--spacing-5, 1.25rem);
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(59, 211, 211, 0.15);
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar__fill {
  height: 100%;
  background: var(--primary-400, #0BF9EA);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.progress-label {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--primary-400, #0BF9EA);
  white-space: nowrap;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3, 0.75rem) var(--spacing-6, 1.5rem);
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.project-meta-item__label {
  font-size: var(--font-size-base);
  color: var(--text-secondary, #C4CFCF);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.project-meta-item__value {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary, #FCFFFF);
}

.contract-summary {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3, 0.75rem);
}
.contract-summary__status {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
}
.contract-summary__signatures {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2, 0.5rem);
}

.contract-version {
  font-size: var(--font-size-base);
  color: var(--text-secondary, #C4CFCF);
}

.signature-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-base);
}
.signature-item__label {
  color: var(--text-secondary, #C4CFCF);
}
.signature-item__status {
  font-weight: 500;
  color: var(--text-primary, #FCFFFF);
}

.deliverable-summary {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3, 0.75rem);
}

.next-milestone {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base);
  padding-top: var(--spacing-2, 0.5rem);
  border-top: 1px solid rgba(196, 207, 207, 0.08);
}
.next-milestone__label {
  color: var(--text-secondary, #C4CFCF);
  flex-shrink: 0;
}

.milestone-title {
  color: var(--text-primary, #FCFFFF);
  font-weight: 500;
}

.milestone-due {
  color: var(--gold-500, #e6be69);
  font-size: var(--font-size-base);
  margin-left: auto;
  flex-shrink: 0;
}

.activity-stats {
  display: flex;
  gap: var(--spacing-6, 1.5rem);
  margin-bottom: var(--spacing-3, 0.75rem);
}

.activity-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.activity-stat__value {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary, #FCFFFF);
  line-height: 1;
}
.activity-stat__label {
  font-size: var(--font-size-base);
  color: var(--text-secondary, #C4CFCF);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.last-message__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, #C4CFCF);
  margin: 0;
  font-style: italic;
  line-height: 1.5;
}

.unread-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary, #C4CFCF);
}

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2, 0.5rem);
}

.recent-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3, 0.75rem);
}

.status-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
}
.status-badge--gray {
  background: rgba(107, 114, 128, 0.2);
  color: #9CA3AF;
  border: 1px solid rgba(107, 114, 128, 0.3);
}
.status-badge--teal {
  background: rgba(59, 211, 211, 0.15);
  color: var(--primary-400, #0BF9EA);
  border: 1px solid rgba(59, 211, 211, 0.3);
}
.status-badge--blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.status-badge--green {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.status-badge--gold {
  background: rgba(230, 190, 105, 0.15);
  color: var(--gold-500, #e6be69);
  border: 1px solid rgba(230, 190, 105, 0.3);
}
.status-badge--red {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-8, 2rem);
  text-align: center;
  color: var(--text-secondary, #C4CFCF);
}
.empty-state svg {
  margin-bottom: var(--spacing-4, 1rem);
  opacity: 0.4;
}
.empty-state h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0 0 var(--spacing-2, 0.5rem);
  color: var(--text-primary, #FCFFFF);
}
.empty-state p {
  margin: 0;
  max-width: 400px;
}

.loading-message,
.error-message,
.info-message {
  padding: var(--spacing-3, 0.75rem) var(--spacing-4, 1rem);
  border-radius: var(--border-radius, 8px);
  text-align: center;
  font-size: var(--font-size-base);
}

.loading-message {
  background: rgba(59, 211, 211, 0.08);
  color: var(--primary-400, #0BF9EA);
}

.error-message {
  background: rgba(239, 68, 68, 0.08);
  color: #F87171;
}

.info-message {
  background: rgba(59, 130, 246, 0.08);
  color: #60A5FA;
}

.deliverable-stats {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3, 0.75rem);
  margin-bottom: var(--spacing-4, 1rem);
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-3, 0.75rem);
  padding: var(--spacing-2, 0.5rem) 0;
}
.stat-row--highlight {
  padding: var(--spacing-2, 0.5rem) var(--spacing-3, 0.75rem);
  background: rgba(59, 211, 211, 0.05);
  border-radius: var(--border-radius-sm, 6px);
  border-left: 3px solid var(--primary-400, #0BF9EA);
}

.stat-label {
  font-size: var(--font-size-base);
  color: var(--text-secondary, #C4CFCF);
}

.stat-value {
  font-size: var(--font-size-base);
  color: var(--text-primary, #FCFFFF);
  text-align: right;
  font-weight: 500;
}

.stat-badge {
  font-size: var(--font-size-base);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
}

.basic-deliverables-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-4, 1rem) 0 0;
}
.basic-deliverables-list li {
  padding: var(--spacing-4, 1rem);
  background: rgba(59, 211, 211, 0.05);
  border-left: 3px solid var(--primary-400, #0BF9EA);
  border-radius: var(--border-radius-sm, 6px);
  margin-bottom: var(--spacing-3, 0.75rem);
}
.basic-deliverables-list li strong {
  color: var(--primary-400, #0BF9EA);
  display: block;
  margin-bottom: var(--spacing-2, 0.5rem);
}
.basic-deliverables-list li p {
  margin: 0 0 var(--spacing-2, 0.5rem);
  color: var(--text-secondary, #C4CFCF);
}
.basic-deliverables-list li p:last-child {
  margin-bottom: 0;
}
.basic-deliverables-list li p em {
  color: var(--gold-500, #e6be69);
}

.project-summary {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4, 1rem);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--spacing-3, 0.75rem);
  border-bottom: 1px solid rgba(196, 207, 207, 0.08);
}
.summary-item__label {
  font-size: var(--font-size-base);
  color: var(--text-secondary, #C4CFCF);
}
.summary-item__value {
  font-weight: 600;
  color: var(--text-primary, #FCFFFF);
}
.summary-item__value.text-red {
  color: #F87171;
}
.summary-item__value.text-yellow {
  color: var(--gold-500, #e6be69);
}
.summary-item__value.text-green {
  color: #34D399;
}

.project-description {
  margin-top: var(--spacing-6, 1.5rem);
  padding-top: var(--spacing-6, 1.5rem);
  border-top: 1px solid rgba(196, 207, 207, 0.08);
}
.project-description h3 {
  font-size: var(--font-size-lg, 1.125rem);
  font-weight: var(--font-weight-semibold);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.project-description p {
  color: var(--text-secondary, #C4CFCF);
  line-height: 1.6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/**
 * Messages Page - Social Media Inspired Design
 *
 * Redesigned messages interface inspired by Facebook Messenger, Instagram DMs, and Twitter/X
 * Features modern layout, smooth animations, and enhanced user experience
 */
.messages-page .dashboard-main-content {
  margin-left: 280px;
  padding: 0;
  background: linear-gradient(135deg, var(--rich-black) 0%, #0a0a0a 100%);
  min-height: 100vh;
}
.messages-page .dashboard-page-header {
  display: none !important;
}
@media (max-width: 1024px) {
  .messages-page .dashboard-main-content {
    margin-left: 260px;
  }
}
@media (max-width: 768px) {
  .messages-page {
    overflow: hidden;
  }
  .messages-page .dashboard-main-content {
    margin-left: 0;
    padding: 0;
  }
  .messages-page.mobile-chat-active .dashboard-bottom-nav {
    display: none !important;
  }
}

/* ========================================
   MESSAGES CONTAINER - FACEBOOK-STYLE LAYOUT
   ======================================== */
.messages-container {
  display: flex;
  height: calc(100vh - 80px);
  background: var(--rich-black);
  overflow: hidden;
  position: relative;
}
@media (max-width: 768px) {
  .messages-container {
    height: calc(100dvh - 64px);
    width: 100%;
  }
  .admin-bar .messages-container {
    height: calc(100dvh - 64px - 46px);
  }
}
.messages-container .conversations-sidebar {
  width: 320px;
  flex-shrink: 0;
  border-right: 1px solid var(--gradient-midnight);
  background: var(--rich-black);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
}
@media (max-width: 1024px) {
  .messages-container .conversations-sidebar {
    width: 300px;
  }
}
@media (max-width: 768px) {
  .messages-container .conversations-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-right: none;
    visibility: visible;
  }
  .messages-container.chat-active .messages-container .conversations-sidebar {
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
  }
}
.messages-container .chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--rich-black);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}
@media (max-width: 768px) {
  .messages-container .chat-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    z-index: 30;
    visibility: hidden;
    pointer-events: none;
  }
  .messages-container.chat-active .messages-container .chat-area {
    transform: translateX(0);
    visibility: visible;
    pointer-events: all;
  }
}

/* ========================================
   CONVERSATIONS SIDEBAR - INSTAGRAM-STYLE
   ======================================== */
.conversations-header {
  padding: var(--spacing-6) var(--spacing-2);
  border-bottom: 1px solid var(--gradient-midnight);
  background: linear-gradient(135deg, rgba(59, 211, 211, 0.02) 0%, rgba(59, 211, 211, 0.01) 100%);
  backdrop-filter: blur(10px);
}
.conversations-header .search-box {
  position: relative;
  margin-bottom: var(--spacing-4);
}
.conversations-header .search-box i {
  position: absolute;
  left: var(--spacing-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  font-size: var(--font-size-base);
  transition: color 0.2s ease;
}
.conversations-header .search-box input {
  width: 100%;
  padding: var(--spacing-4) var(--spacing-4) var(--spacing-4) var(--spacing-10);
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}
.conversations-header .search-box input:focus {
  outline: none;
  border-color: var(--primary-400);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.1);
  transform: translateY(-1px);
}
.conversations-header .search-box input::placeholder {
  color: var(--text-tertiary);
  font-weight: 400;
}
.conversations-header .filter-tabs {
  display: flex;
  gap: var(--spacing-2);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  padding: var(--spacing-1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: var(--spacing-4);
}
.conversations-header .filter-tabs .filter-tab {
  flex: 1;
  padding: var(--spacing-2) var(--spacing-4);
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--white-70);
  font-size: var(--font-size-base) !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-1);
  min-width: 0;
}
.conversations-header .filter-tabs .filter-tab .count {
  background: var(--rich-black) !important;
  color: var(--brand-white) !important;
  padding: 2px 6px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 700;
  transition: all 0.2s ease;
}
.filter-tab.active .conversations-header .filter-tabs .filter-tab .count {
  background: var(--primary-alpha-20);
  color: var(--primary-300);
}
.conversations-header .filter-tabs .filter-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-400);
  transform: translateY(-1px);
}
.conversations-header .filter-tabs .filter-tab:hover .count {
  background: var(--primary-400);
  color: var(--rich-black);
}
.conversations-header .filter-tabs .filter-tab.active {
  background: var(--primary-400);
  color: var(--brand-white);
  transform: translateY(-1px);
  padding: var(--spacing-4) var(--spacing-8);
}
.conversations-header .filter-tabs .filter-tab.active .count {
  background: rgba(0, 0, 0, 0.2);
  color: var(--primary-400);
}
.conversations-header .filter-tabs .filter-tab:focus {
  box-shadow: none;
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

.conversations-list {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}
.conversations-list .conversation-item {
  background: var(--rich-black) !important;
}
.conversations-list .conversation-item:hover {
  background: var(--rich-black) !important;
}
.conversations-list .conversation-item.active {
  background: var(--rich-black) !important;
}
.conversations-list .conversation-item:nth-child(2n) {
  background: var(--rich-black) !important;
}
.conversations-list .conversation-item:nth-child(2n):hover, .conversations-list .conversation-item:nth-child(2n).active {
  background: var(--rich-black) !important;
}
.conversations-list::-webkit-scrollbar {
  width: 4px;
}
.conversations-list::-webkit-scrollbar-track {
  background: transparent;
}
.conversations-list::-webkit-scrollbar-thumb {
  background: rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-md);
}
.conversations-list::-webkit-scrollbar-thumb:hover {
  background: var(--primary-400);
}

/* ========================================
   CONVERSATION ITEMS - TWITTER/X STYLE CARDS
   ======================================== */
.conversation-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-4) var(--spacing-5);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background: var(--rich-black);
}
.conversation-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--primary-400), var(--primary-500));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.conversation-item:hover {
  background: var(--rich-black);
  transform: translateX(2px);
}
.conversation-item:hover::before {
  width: 4px;
}
.conversation-item:hover .conversation-avatar img {
  transform: scale(1.05);
}
.conversation-item.active {
  background: var(--rich-black);
  border-left: 3px solid var(--primary-400);
  box-shadow: inset 0 1px 0 rgba(59, 211, 211, 0.1);
}
.conversation-item.active::before {
  width: 4px;
}
.conversation-item.unread {
  background: linear-gradient(135deg, rgba(59, 211, 211, 0.05) 0%, rgba(59, 211, 211, 0.02) 100%);
}
.conversation-item.unread .conversation-name {
  font-weight: 700;
}
.conversation-item.unread .conversation-preview {
  font-weight: 500;
  color: var(--text-primary);
}
.conversation-item .conversation-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(59, 211, 211, 0.1);
  transition: all 0.2s ease;
}
.conversation-item .conversation-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.conversation-item .conversation-avatar .conversation-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  text-transform: uppercase;
}
.conversation-item .conversation-avatar .online-indicator {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  background: #10B981;
  border: 3px solid var(--rich-black);
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.3);
  animation: online-pulse 2s infinite;
}
.conversation-item .conversation-content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.conversation-item .conversation-content .conversation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-1);
}
.conversation-item .conversation-content .conversation-header .conversation-name {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
}
.conversation-item .conversation-content .conversation-header .conversation-time {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  flex-shrink: 0;
  margin-left: var(--spacing-2);
  opacity: 0.8;
}
.conversation-item .conversation-content .conversation-preview {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  opacity: 0.9;
}
.conversation-item .conversation-content .conversation-project {
  display: flex;
  align-items: center;
  gap: var(--spacing-1);
  margin-top: var(--spacing-1);
  font-size: var(--font-size-base);
  color: var(--brand-white) !important;
  opacity: 0.8;
}
.conversation-item .conversation-content .conversation-project svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.conversation-item .conversation-content .conversation-project span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.conversation-item .unread-badge {
  position: absolute;
  top: 50%;
  right: var(--spacing-4);
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
  color: var(--rich-black);
  font-size: var(--font-size-base);
  font-weight: 700;
  padding: var(--spacing-1) var(--spacing-2);
  min-width: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(59, 211, 211, 0.3);
  animation: unread-pulse 2s infinite;
}

@keyframes online-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}
@keyframes unread-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}
/* ========================================
   CHAT AREA - FACEBOOK MESSENGER STYLE
   ======================================== */
.chat-area {
  position: relative;
}
.chat-area .chat-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-5) var(--spacing-6);
  border-bottom: 1px solid var(--gradient-midnight);
  background: linear-gradient(135deg, rgba(59, 211, 211, 0.02) 0%, rgba(59, 211, 211, 0.01) 100%);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 10;
}
.chat-area .chat-header .mobile-back-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  color: var(--text-secondary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  margin-right: var(--spacing-2);
}
@media (max-width: 768px) {
  .chat-area .chat-header .mobile-back-btn {
    display: flex;
  }
}
.chat-area .chat-header .mobile-back-btn:hover {
  background: var(--primary-400);
  color: var(--rich-black);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(59, 211, 211, 0.3);
}
.chat-area .chat-header .mobile-back-btn i {
  font-size: var(--font-size-base);
}
.chat-area .chat-header .chat-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(59, 211, 211, 0.1);
  transition: all 0.2s ease;
}
.chat-area .chat-header .chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.2s ease;
}
.chat-area .chat-header .chat-avatar .chat-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
}
.chat-area .chat-header .chat-avatar:hover {
  transform: scale(1.05);
  border-color: var(--primary-400);
}
.chat-area .chat-header .chat-user-details {
  flex: 1;
  min-width: 0;
}
.chat-area .chat-header .chat-user-details .chat-user-name {
  margin: 0 0 var(--spacing-1);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
}
.chat-area .chat-header .chat-user-details .chat-user-name:hover {
  color: var(--primary-400);
}
.chat-area .chat-header .chat-user-details .chat-user-status {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  opacity: 0.8;
}
.chat-area .chat-header .chat-user-details .chat-user-status.online {
  color: #10B981;
  opacity: 1;
}
.chat-area .chat-header .chat-user-details .chat-user-status.online::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: var(--radius-md);
  margin-right: var(--spacing-1);
  animation: online-pulse 2s infinite;
}
.chat-area .chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-6);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  background: linear-gradient(180deg, rgba(59, 211, 211, 0.01) 0%, transparent 20%);
}
.chat-area .chat-messages::-webkit-scrollbar {
  width: 6px;
}
.chat-area .chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.chat-area .chat-messages::-webkit-scrollbar-thumb {
  background: rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-md);
}
.chat-area .chat-messages::-webkit-scrollbar-thumb:hover {
  background: var(--primary-400);
}

/* ========================================
   MESSAGE BUBBLES - INSTAGRAM STYLE
   ======================================== */
.message {
  display: flex;
  flex-direction: row;
  max-width: 75%;
  animation: message-slide-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 768px) {
  .message {
    max-width: 85%;
  }
}
.message.sent {
  align-self: flex-end;
  align-items: flex-end;
}
.message.sent .message-content {
  align-items: flex-end;
}
.message.sent .message-bubble {
  border-radius: var(--radius-xl) var(--radius-xl) 0 var(--radius-xl);
}
.message.sent .message-meta {
  justify-content: flex-end;
}
.message.received {
  align-self: flex-start;
  align-items: flex-start;
}
.message.received .message-content {
  align-items: flex-start;
}
.message.received .message-bubble {
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 0;
}
.message.received .message-meta {
  justify-content: flex-start;
}
.message.grouped {
  margin-top: var(--spacing-1);
}
.message.grouped .message-avatar {
  opacity: 0;
  transform: scale(0.8);
}
.message .message-avatar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-bottom: var(--spacing-1);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(59, 211, 211, 0.1);
  transition: all 0.2s ease;
}
.message .message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.message .message-avatar .message-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  font-weight: 700;
  text-transform: uppercase;
}
.message .message-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
  max-width: 100%;
}
.message .message-bubble {
  padding: var(--spacing-1) var(--spacing-4);
  word-wrap: break-word;
  position: relative;
  transition: all 0.2s ease;
}
.message .message-bubble:hover {
  transform: translateY(-1px);
}
.message .message-bubble:has(.message-image), .message .message-bubble:has(.message-images), .message .message-bubble:has(.message-images-grid) {
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.message .message-bubble:has(.message-image):hover, .message .message-bubble:has(.message-images):hover, .message .message-bubble:has(.message-images-grid):hover {
  transform: none;
}
.message .message-bubble--file, .message .message-bubble--media {
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.message .message-bubble--file:hover, .message .message-bubble--media:hover {
  transform: none;
}
.message .message-bubble--file img,
.message .message-bubble--file video,
.message .message-bubble--file audio, .message .message-bubble--media img,
.message .message-bubble--media video,
.message .message-bubble--media audio {
  display: block;
  max-width: 100%;
  max-height: 400px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.message .message-bubble--file .file-attachment, .message .message-bubble--media .file-attachment {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3) var(--spacing-4);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  min-width: 200px;
}
.message .message-bubble--file .file-attachment__icon, .message .message-bubble--media .file-attachment__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-400);
  color: var(--rich-black);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
}
.message .message-bubble--file .file-attachment__info, .message .message-bubble--media .file-attachment__info {
  flex: 1;
  min-width: 0;
}
.message .message-bubble--file .file-attachment__info__name, .message .message-bubble--media .file-attachment__info__name {
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.message .message-bubble--file .file-attachment__info__size, .message .message-bubble--media .file-attachment__info__size {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
}
.message .message-bubble--file .file-attachment__download, .message .message-bubble--media .file-attachment__download {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}
.message .message-bubble--file .file-attachment__download:hover, .message .message-bubble--media .file-attachment__download:hover {
  background: rgba(59, 211, 211, 0.1);
  color: var(--primary-400);
}
.message .message-bubble p {
  margin: 0 !important;
  font-size: var(--font-size-base);
  line-height: 1.4;
  font-weight: 400;
}
.message .message-bubble p:not(:last-child) {
  margin-bottom: var(--spacing-2);
}
.message .message-bubble .message-reactions {
  display: flex;
  gap: var(--spacing-1);
  margin-top: var(--spacing-2);
  flex-wrap: wrap;
}
.message .message-bubble .message-reactions .reaction {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--spacing-1) var(--spacing-2);
  font-size: var(--font-size-base);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: var(--spacing-1);
}
.message .message-bubble .message-reactions .reaction:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}
.message .message-bubble .message-reactions .reaction.user-reaction {
  background: var(--primary-400);
  border-color: var(--primary-400);
  color: var(--rich-black);
}
.message .message-bubble .message-reactions .reaction .reaction-count {
  font-size: var(--font-size-base);
  opacity: 0.8;
}
.message .message-bubble .message-reaction-btn {
  position: absolute;
  top: var(--spacing-1);
  right: var(--spacing-1);
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}
.message .message-bubble .message-reaction-btn:hover {
  background: var(--rich-black);
  color: var(--brand-white);
  transform: scale(1.1);
}
.message .message-bubble:hover .message-reaction-btn {
  display: flex;
}
.message .reaction-picker {
  position: absolute;
  bottom: calc(100% + var(--spacing-2));
  left: 50%;
  transform: translateX(-50%);
  background: var(--rich-black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2);
  display: flex;
  gap: var(--spacing-1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  animation: reaction-picker-appear 0.2s ease;
  z-index: 1000;
}
.message .reaction-picker .reaction-option {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: var(--radius-md);
  padding: 0 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
}
.message .reaction-picker .reaction-option:hover {
  background: rgba(59, 211, 211, 0.2);
  transform: scale(1.2);
}
.message .reaction-picker .reaction-option:active {
  transform: scale(1.1);
}
@keyframes reaction-picker-appear {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.message .message-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  margin-top: var(--spacing-1);
  opacity: 0.7;
}
.message .message-meta .message-time {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  font-weight: 500;
}
.message .message-meta .message-status {
  display: flex;
  align-items: center;
  gap: var(--spacing-1);
}
.message .message-meta .message-status i {
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
}
.message .message-meta .message-status i.fa-check-double {
  color: var(--primary-400);
}
.message .message-meta .message-status i.fa-check {
  color: var(--text-tertiary);
}

@keyframes message-slide-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ========================================
   TYPING INDICATOR - INSTAGRAM STYLE
   ======================================== */
.typing-indicator {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-3);
  animation: typing-fade-in 0.3s ease;
}
.typing-indicator .message-avatar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(59, 211, 211, 0.1);
}
.typing-indicator .message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.typing-indicator .message-content .message-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 0;
  padding: var(--spacing-3) var(--spacing-4);
  backdrop-filter: blur(10px);
}
.typing-indicator .message-content .message-bubble .typing-dots {
  display: flex;
  gap: 4px;
  padding: var(--spacing-1);
}
.typing-indicator .message-content .message-bubble .typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--text-tertiary);
  border-radius: var(--radius-md);
  animation: typing-bounce 1.4s infinite ease-in-out;
}
.typing-indicator .message-content .message-bubble .typing-dots span:nth-child(1) {
  animation-delay: 0s;
}
.typing-indicator .message-content .message-bubble .typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-indicator .message-content .message-bubble .typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes typing-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-8px);
    opacity: 1;
  }
}
/* ========================================
   CHAT INPUT AREA - MODERN DESIGN
   ======================================== */
.chat-input-area {
  padding: var(--spacing-4) var(--spacing-6);
  border-top: 1px solid var(--gradient-midnight);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  backdrop-filter: blur(10px);
  position: relative;
}
.chat-input-area .chat-input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: var(--spacing-3);
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--spacing-1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-input-area .chat-input-wrapper:focus-within {
  border-color: var(--primary-400);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.1);
  transform: translateY(-1px);
}
.chat-input-area .chat-input-wrapper .input-action-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-input-area .chat-input-wrapper .input-action-btn:hover {
  transform: scale(1.1);
}
.chat-input-area .chat-input-wrapper .input-action-btn i {
  font-size: var(--font-size-base);
}
.chat-input-area .chat-input-wrapper textarea {
  flex: 1;
  padding: var(--spacing-3) var(--spacing-4);
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-family: inherit;
  resize: none;
  max-height: 120px;
  min-height: 20px;
  line-height: 1.4;
  transition: all 0.2s ease;
}
.chat-input-area .chat-input-wrapper textarea:focus {
  outline: none;
}
.chat-input-area .chat-input-wrapper textarea::placeholder {
  color: var(--text-tertiary);
  opacity: 0.7;
}
.chat-input-area .chat-input-wrapper .send-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
  border: none;
  border-radius: var(--radius-xl);
  color: var(--rich-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(59, 211, 211, 0.3);
}
.chat-input-area .chat-input-wrapper .send-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 20px rgba(59, 211, 211, 0.4);
}
.chat-input-area .chat-input-wrapper .send-btn:active:not(:disabled) {
  transform: translateY(0) scale(1);
}
.chat-input-area .chat-input-wrapper .send-btn:disabled {
  background: var(--text-tertiary);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.chat-input-area .chat-input-wrapper .send-btn i {
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
}

/* ========================================
   EMPTY STATES - MODERN DESIGN
   ======================================== */
.no-conversation-selected {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12);
  text-align: center;
  background: linear-gradient(135deg, rgba(59, 211, 211, 0.02) 0%, rgba(59, 211, 211, 0.01) 100%);
}
.no-conversation-selected .empty-state-icon {
  font-size: var(--font-size-6xl);
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-6);
  opacity: 0.3;
  animation: empty-float 3s ease-in-out infinite;
}
.no-conversation-selected h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--spacing-3);
  letter-spacing: -0.02em;
}
.no-conversation-selected p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-secondary);
  margin: 0;
  max-width: 400px;
  line-height: 1.5;
}

@keyframes empty-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.chat-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-12);
  text-align: center;
}
.chat-empty-state .empty-icon {
  font-size: var(--font-size-4xl);
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-4);
  opacity: 0.3;
}
.chat-empty-state p {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  margin: 0;
}
.chat-empty-state p.empty-hint {
  color: var(--text-tertiary);
  font-size: var(--font-size-base);
  margin-top: var(--spacing-2);
}

.conversations-empty {
  padding: var(--spacing-12) var(--spacing-6);
  text-align: center;
  color: var(--text-tertiary);
}
.conversations-empty .empty-icon {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-4);
  opacity: 0.3;
}
.conversations-empty h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-secondary);
  margin: 0 0 var(--spacing-2);
}
.conversations-empty p {
  font-size: var(--font-size-base);
  margin: 0;
  opacity: 0.8;
}

/* ========================================
   MOBILE RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .messages-container .chat-area .chat-header {
    padding: var(--spacing-3) var(--spacing-4);
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid var(--gradient-midnight);
  }
  .messages-container .chat-area .chat-header .chat-user-name {
    font-size: var(--font-size-base);
    margin-bottom: 0;
  }
  .messages-container .chat-area .chat-header .chat-user-status {
    font-size: var(--font-size-base);
  }
  .messages-container .chat-area .chat-messages {
    padding: var(--spacing-4) var(--spacing-3);
    height: 100%;
  }
  .message {
    max-width: 85%;
  }
  .message .message-bubble {
    padding: var(--spacing-2) var(--spacing-3);
  }
  .message .message-bubble p {
    font-size: var(--font-size-base);
    line-height: 1.5;
  }
  .chat-input-area {
    padding: var(--spacing-2) var(--spacing-3) calc(var(--spacing-2) + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.98);
  }
  .chat-input-area .chat-input-wrapper {
    gap: var(--spacing-2);
    border-radius: var(--radius-lg);
  }
  .chat-input-area .chat-input-wrapper .input-action-btn {
    width: 36px;
    height: 36px;
  }
  .chat-input-area .chat-input-wrapper textarea {
    padding: var(--spacing-2);
    font-size: var(--font-size-base);
  }
  .chat-input-area .chat-input-wrapper .send-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
  }
  .no-conversation-selected {
    display: none !important;
  }
}
/* ========================================
   LOADING SKELETONS - MODERN STYLE
   ======================================== */
.conversations-loading {
  padding: var(--spacing-6);
}
.conversations-loading .loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(59, 211, 211, 0.2);
  border-top-color: var(--primary-400);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto var(--spacing-4);
}
.conversations-loading p {
  text-align: center;
  color: var(--text-tertiary);
  font-size: var(--font-size-base);
}

.conversation-skeleton {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-4) var(--spacing-5);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
.conversation-skeleton .conversation-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 2s ease-in-out infinite;
}
.conversation-skeleton .conversation-content {
  flex: 1;
}
.conversation-skeleton .conversation-content .conversation-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-2);
}
.conversation-skeleton .conversation-content .conversation-header .conversation-name {
  height: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  width: 120px;
  animation: skeleton-shimmer 2s ease-in-out infinite;
}
.conversation-skeleton .conversation-content .conversation-header .conversation-time {
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  width: 40px;
  animation: skeleton-shimmer 2s ease-in-out infinite;
}
.conversation-skeleton .conversation-content .conversation-preview {
  height: 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  width: 80%;
  animation: skeleton-shimmer 2s ease-in-out infinite;
}

@keyframes skeleton-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
/* ========================================
   MEDIA QUERIES FOR DIFFERENT SCREENS
   ======================================== */
@media (max-width: 1024px) {
  .messages-container .conversations-sidebar {
    width: 300px;
  }
}
@media (max-width: 480px) {
  .conversations-header {
    padding: var(--spacing-4);
  }
  .conversations-header .search-box input {
    padding: var(--spacing-3) var(--spacing-3) var(--spacing-3) var(--spacing-8);
  }
  .conversation-item {
    padding: var(--spacing-3) var(--spacing-4);
  }
  .conversation-item .conversation-avatar {
    width: 48px;
    height: 48px;
  }
  .conversation-item .conversation-content .conversation-header .conversation-name {
    font-size: var(--font-size-base);
  }
  .chat-header {
    padding: var(--spacing-3) var(--spacing-4);
  }
  .chat-header .chat-avatar {
    width: 40px;
    height: 40px;
  }
  .chat-header .chat-user-name {
    font-size: var(--font-size-base);
  }
  .chat-messages {
    padding: var(--spacing-3);
  }
}
/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .message,
  .conversation-item,
  .chat-input-wrapper,
  .send-btn,
  .input-action-btn,
  .filter-tab,
  .chat-actions button,
  .message-bubble:hover,
  .conversation-avatar:hover,
  .chat-avatar:hover {
    animation: none;
    transition: none;
  }
  .message {
    animation: none;
  }
  .typing-indicator {
    animation: none;
  }
  .no-conversation-selected .empty-state-icon {
    animation: none;
  }
  .conversation-skeleton {
    animation: none;
  }
}
/* High contrast mode support */
@media (prefers-contrast: high) {
  .message-bubble {
    border: 2px solid currentColor;
  }
  .conversation-item {
    border: 1px solid currentColor;
  }
  .chat-input-wrapper {
    border: 2px solid currentColor;
  }
}
.message.sent .message-bubble {
  background: var(--primary-500);
  color: #0d0d0d;
  box-shadow: none;
}

.message.received .message-bubble {
  background: #2c2c2e;
  color: #ffffff;
}

/* ============================================================================
   LIGHT THEME OVERRIDES
   ============================================================================ */
body.light-theme .messages-page .dashboard-main-content {
  background: var(--bg-page);
}
body.light-theme .messages-container {
  background: var(--bg-page);
}
body.light-theme .conversations-sidebar {
  background: var(--bg-card);
  border-right-color: var(--border-subtle);
}
body.light-theme .conversations-header {
  background: var(--bg-card);
  border-bottom-color: var(--border-subtle);
}
body.light-theme .conversations-header input {
  background: var(--bg-elevated);
  color: var(--text-primary);
}
body.light-theme .conversations-header input:focus {
  background: var(--bg-card);
}
body.light-theme .conversations-header input::placeholder {
  color: var(--text-muted);
}
body.light-theme .filter-tabs {
  background: var(--bg-elevated);
  border-color: var(--border-subtle);
}
body.light-theme .filter-tab .count {
  background: var(--bg-card) !important;
  color: var(--text-secondary) !important;
}
body.light-theme .conversations-list .conversation-item,
body.light-theme .conversations-list .conversation-item:nth-child(2n) {
  background: var(--bg-card) !important;
  border-bottom-color: var(--border-subtle);
}
body.light-theme .conversations-list .conversation-item:hover,
body.light-theme .conversations-list .conversation-item:nth-child(2n):hover {
  background: var(--bg-elevated) !important;
}
body.light-theme .conversations-list .conversation-item.active,
body.light-theme .conversations-list .conversation-item:nth-child(2n).active {
  background: var(--bg-elevated) !important;
}
body.light-theme .conversation-name {
  color: var(--text-primary) !important;
}
body.light-theme .conversation-preview {
  color: var(--text-secondary) !important;
}
body.light-theme .conversation-time {
  color: var(--text-muted) !important;
}
body.light-theme .chat-area {
  background: var(--bg-page);
}
body.light-theme .chat-header {
  background: var(--bg-card);
  border-bottom-color: var(--border-subtle);
}
body.light-theme .chat-messages {
  background: var(--bg-page);
}
body.light-theme .message-time {
  color: var(--text-muted) !important;
}
body.light-theme .message-date-divider {
  color: var(--text-muted);
}
body.light-theme .message-date-divider span {
  background: var(--bg-page);
}
body.light-theme .message-date-divider::before {
  background: var(--border-subtle);
}
body.light-theme .chat-input-area {
  background: var(--bg-card);
  border-top-color: var(--border-subtle);
}
body.light-theme .chat-input-area .chat-input-wrapper {
  background: var(--bg-elevated);
  border-color: var(--border-subtle);
}
body.light-theme .chat-input-area .chat-input-wrapper:focus-within {
  background: var(--bg-card);
  border-color: var(--primary-400);
}
body.light-theme .mobile-back-btn {
  background: var(--bg-muted) !important;
  border-color: var(--midnight-end) !important;
  color: var(--text-primary) !important;
}
body.light-theme .message.received .message-bubble {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
body.light-theme .message-reaction-btn {
  background: var(--bg-muted);
  color: var(--text-secondary);
}
body.light-theme .message-reaction-btn:hover {
  background: var(--bg-active);
  color: var(--text-primary);
}
body.light-theme .reaction-picker {
  background: var(--bg-card);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-xl);
}
body.light-theme .no-conversation-selected,
body.light-theme .chat-empty-state {
  background: var(--bg-page);
}
body.light-theme .conversation-skeleton .conversation-avatar,
body.light-theme .conversation-skeleton .conversation-name,
body.light-theme .conversation-skeleton .conversation-time,
body.light-theme .conversation-skeleton .conversation-preview {
  background: var(--bg-elevated);
}
@media (max-width: 768px) {
  body.light-theme .chat-area .chat-header {
    background: var(--bg-card);
  }
  body.light-theme .chat-input-area {
    background: var(--bg-card);
  }
}

/**
 * Contact Page Styles
 */
.contact-hero {
  padding: var(--spacing-16, 4rem) 0 var(--spacing-8, 2rem);
  text-align: center;
}
.contact-hero__title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold, 700);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-4, 1rem);
}
.contact-hero__subtitle {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-4, 1rem);
}
.contact-hero__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--spacing-3, 0.75rem);
  line-height: 1.7;
}

.contact-main {
  padding: var(--spacing-8, 2rem) 0 var(--spacing-12, 3rem);
}
.contact-main__card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) {
  .contact-main__card {
    grid-template-columns: 420px 1fr;
  }
}
.contact-main__info {
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--spacing-8, 2rem) var(--spacing-6, 1.5rem);
  background: var(--bg-elevated);
}
@media (min-width: 900px) {
  .contact-main__info {
    border-bottom: none;
    border-right: 1px solid var(--border-subtle);
    padding: var(--spacing-10, 2.5rem) var(--spacing-8, 2rem);
  }
}
.contact-main__form {
  padding: var(--spacing-8, 2rem) var(--spacing-6, 1.5rem);
}
@media (min-width: 900px) {
  .contact-main__form {
    padding: var(--spacing-10, 2.5rem) var(--spacing-8, 2rem);
  }
}

.contact-info-panel__header {
  display: flex;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
  margin-bottom: var(--spacing-4, 1rem);
}
.contact-info-panel__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(59, 211, 211, 0.12);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-500);
}
.contact-info-panel__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary);
  margin: 0;
}
.contact-info-panel__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 var(--spacing-5, 1.25rem);
}
.contact-info-panel__email {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1, 0.25rem);
  padding: var(--spacing-4, 1rem);
  background: rgba(59, 211, 211, 0.08);
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-md, 8px);
  margin-bottom: var(--spacing-6, 1.5rem);
}
.contact-info-panel__email-label {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary);
}
.contact-info-panel__email-link {
  color: var(--primary-500) !important;
  text-decoration: none;
  font-size: var(--font-size-base);
}
.contact-info-panel__email-link:hover {
  text-decoration: underline;
}
.contact-info-panel__items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-5, 1.25rem);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-3, 0.75rem);
}
.contact-info-item__icon {
  flex-shrink: 0;
  color: var(--primary-500);
  margin-top: 2px;
}
.contact-info-item__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-1, 0.25rem);
}
.contact-info-item__desc {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.contact-form-header__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-2, 0.5rem);
}
.contact-form-header__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 var(--spacing-6, 1.5rem);
}

.contact-form__row {
  margin-bottom: var(--spacing-5, 1.25rem);
}
.contact-form__row--two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-4, 1rem);
}
@media (min-width: 560px) {
  .contact-form__row--two-col {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-form__col {
  min-width: 0;
}
.contact-form__actions {
  margin-top: var(--spacing-6, 1.5rem);
}
.contact-form__submit {
  width: 100%;
  padding: var(--spacing-3, 0.75rem) var(--spacing-8, 2rem);
  font-weight: var(--font-weight-semibold, 600);
  font-size: var(--font-size-base);
  background: var(--primary-400, #0BF9EA);
  color: #000;
  border: none;
  border-radius: var(--radius-md, 8px);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.contact-form__submit:hover {
  background: var(--primary-500);
  transform: translateY(-1px);
}
.contact-form__submit:active {
  transform: translateY(0);
}
.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.contact-form__response {
  margin-top: var(--spacing-4, 1rem);
  padding: var(--spacing-4, 1rem);
  border-radius: var(--radius-md, 8px);
  text-align: center;
}
.contact-form__response.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success-color, #10b981);
}
.contact-form__response.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger-color, #ef4444);
}
.contact-form .form-group {
  margin-bottom: 0;
}
.contact-form .form-label {
  display: block;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary);
  margin-bottom: var(--spacing-2, 0.5rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}
.contact-form .form-label .required {
  color: var(--danger-color, #ef4444);
  margin-left: 2px;
}
.contact-form .form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 8px);
  padding: var(--spacing-3, 0.75rem) var(--spacing-4, 1rem);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form .form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(59, 211, 211, 0.15);
}
.contact-form .form-control::placeholder {
  color: var(--text-tertiary);
}
.contact-form textarea.form-control {
  resize: vertical;
  min-height: 150px;
}
.contact-form select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--spacing-10, 2.5rem);
}
.contact-form select.form-control option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.support-categories {
  padding: var(--spacing-12, 3rem) 0;
}
.support-categories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .support-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .support-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 12px);
  padding: var(--spacing-6, 1.5rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.support-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-500);
}
.support-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-500);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.support-card__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-3, 0.75rem);
}
.support-card__hint {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  font-style: italic;
  margin-bottom: var(--spacing-2, 0.5rem);
}
.support-card__list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-3, 0.75rem) 0;
  flex-grow: 1;
}
.support-card__list li {
  position: relative;
  padding-left: var(--spacing-5, 1.25rem);
  margin-bottom: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}
.support-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-500);
  font-weight: bold;
}
.support-card__contact {
  margin-top: auto;
  padding-top: var(--spacing-4, 1rem);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2, 0.5rem);
}
.support-card__label {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-tertiary);
}
.support-card__link {
  font-size: var(--font-size-base);
  color: var(--text-primary) !important;
  text-decoration: none;
  font-weight: var(--font-weight-medium, 500);
}
.support-card__link:hover {
  color: var(--primary-500) !important;
  text-decoration: underline;
}
.support-card__subject {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  margin-top: var(--spacing-1, 0.25rem);
}
.support-card__subject em {
  font-style: italic;
}

.response-times {
  padding: var(--spacing-10, 2.5rem) 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.response-times__content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.response-times__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-500);
  margin: 0 0 var(--spacing-4, 1rem);
}
.response-times__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-6, 1.5rem);
  line-height: 1.6;
}
.response-times__subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.response-times__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
  text-align: left;
}
.response-times__list li {
  position: relative;
  padding-left: var(--spacing-6, 1.5rem);
  margin-bottom: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}
.response-times__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-500);
  font-weight: bold;
}

.business-info {
  padding: var(--spacing-12, 3rem) 0 var(--spacing-16, 4rem);
}
.business-info__content {
  text-align: center;
}
.business-info__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-tertiary);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.business-info__text {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-2, 0.5rem);
}
.business-info__company {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary);
  margin: 0;
}

.contact-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .contact-page .container {
    padding: 0 var(--spacing-8, 2rem);
  }
}

/**
 * Enterprise Page Styles
 * AI Creative Solutions for Modern Brands
 */
body.page-template-page-enterprise,
body.page-enterprise {
  background: var(--rich-black, #000000);
  color: var(--text-primary, #fcffff);
  min-height: 100vh;
}

.enterprise-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .enterprise-page .container {
    padding: 0 var(--spacing-8, 2rem);
  }
}

.enterprise-hero {
  padding: var(--spacing-16, 4rem) 0 var(--spacing-12, 3rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(59, 211, 211, 0.08) 0%, transparent 60%);
}
.enterprise-hero__eyebrow {
  display: inline-block;
  font-size: var(--font-size-base, 1rem);
  font-weight: var(--font-weight-semibold, 600);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary-400, #0BF9EA);
  margin-bottom: var(--spacing-4, 1rem);
}
.enterprise-hero__title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold, 700);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-4, 1rem);
  line-height: 1.2;
}
.enterprise-hero__subtitle {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-6, 1.5rem);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.enterprise-hero__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  max-width: 750px;
  margin: 0 auto var(--spacing-4, 1rem);
  line-height: 1.7;
}
.enterprise-hero__tagline {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.65));
  margin: 0 0 var(--spacing-8, 2rem);
}
.enterprise-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-4, 1rem);
}

.enterprise-trusted {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.enterprise-trusted__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  text-align: center;
  margin: 0 0 var(--spacing-4, 1rem);
}
.enterprise-trusted__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-8, 2rem);
  line-height: 1.7;
}

.enterprise-use-cases {
  max-width: 800px;
  margin: 0 auto;
}
.enterprise-use-cases__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  text-align: center;
  margin: 0 0 var(--spacing-6, 1.5rem);
}
.enterprise-use-cases__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-3, 0.75rem);
}

.use-case-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-2, 0.5rem) var(--spacing-4, 1rem);
  background: rgba(59, 211, 211, 0.1);
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-md, 8px);
  font-size: var(--font-size-base);
  color: var(--text-primary, #fcffff);
  transition: all 0.2s ease;
}
.use-case-tag:hover {
  background: rgba(59, 211, 211, 0.15);
  border-color: rgba(59, 211, 211, 0.3);
}

.enterprise-section-header {
  text-align: center;
  margin-bottom: var(--spacing-10, 2.5rem);
}
.enterprise-section-header__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.enterprise-section-header__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.enterprise-why {
  padding: var(--spacing-12, 3rem) 0;
}

.enterprise-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .enterprise-features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .enterprise-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.enterprise-feature-card {
  background: rgba(21, 31, 31, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  padding: var(--spacing-6, 1.5rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.enterprise-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 211, 211, 0.2);
}
.enterprise-feature-card--highlight {
  border-color: rgba(59, 211, 211, 0.3);
  background: rgba(59, 211, 211, 0.08);
}
.enterprise-feature-card--highlight .enterprise-feature-card__icon {
  background: var(--primary-400, #0BF9EA);
  color: var(--rich-black, #000000);
}
.enterprise-feature-card--highlight:hover {
  border-color: var(--primary-400, #0BF9EA);
}
.enterprise-feature-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 211, 211, 0.1);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-4, 1rem);
  color: var(--primary-400, #0BF9EA);
}
.enterprise-feature-card__icon svg {
  width: 24px;
  height: 24px;
}
.enterprise-feature-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.enterprise-feature-card__description {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.enterprise-services {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.enterprise-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .enterprise-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .enterprise-services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 12px);
  padding: var(--spacing-6, 1.5rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 211, 211, 0.2);
}
@media (min-width: 768px) {
  .service-card--full {
    grid-column: 1/-1;
    max-width: 600px;
    margin: 0 auto;
  }
}
.service-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 211, 211, 0.1);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-4, 1rem);
  color: var(--primary-400, #0BF9EA);
}
.service-card__icon svg {
  width: 24px;
  height: 24px;
}
.service-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.service-card__description {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.enterprise-audience {
  padding: var(--spacing-12, 3rem) 0;
}
.enterprise-audience__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-3, 0.75rem);
  max-width: 900px;
  margin: 0 auto;
}

.audience-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-2, 0.5rem) var(--spacing-4, 1rem);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md, 8px);
  font-size: var(--font-size-base);
  color: var(--text-primary, #fcffff);
  transition: all 0.2s ease;
}
.audience-badge:hover {
  background: rgba(59, 211, 211, 0.1);
  border-color: rgba(59, 211, 211, 0.3);
  color: var(--primary-400, #0BF9EA);
}

.enterprise-process {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  text-align: center;
  padding: var(--spacing-6, 1.5rem);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  transition: transform 0.2s ease;
}
.process-step:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 211, 211, 0.2);
}
.process-step__number {
  width: 48px;
  height: 48px;
  background: var(--primary-400, #0BF9EA);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-4, 1rem);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold, 700);
  color: var(--rich-black, #000000);
}
.process-step__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.process-step__description {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.enterprise-options {
  padding: var(--spacing-12, 3rem) 0;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.option-card {
  background: rgba(21, 31, 31, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  padding: var(--spacing-6, 1.5rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.option-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 211, 211, 0.2);
}
.option-card--highlight {
  border-color: rgba(59, 211, 211, 0.3);
  background: rgba(59, 211, 211, 0.08);
}
.option-card--highlight .option-card__icon {
  background: var(--primary-400, #0BF9EA);
  color: var(--rich-black, #000000);
}
.option-card--highlight:hover {
  border-color: var(--primary-400, #0BF9EA);
}
.option-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 211, 211, 0.1);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-4, 1rem);
  color: var(--primary-400, #0BF9EA);
}
.option-card__icon svg {
  width: 24px;
  height: 24px;
}
.option-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.option-card__description {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.enterprise-why-ai {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.why-ai-content {
  max-width: 700px;
  margin: 0 auto;
}
.why-ai-content__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  text-align: center;
  margin: 0 0 var(--spacing-6, 1.5rem);
}
.why-ai-content__intro {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-primary, #fcffff);
  text-align: center;
  margin-bottom: var(--spacing-4, 1rem);
}
.why-ai-content__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  text-align: center;
  margin-bottom: var(--spacing-6, 1.5rem);
}
.why-ai-content__subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: var(--spacing-6, 1.5rem) 0 var(--spacing-4, 1rem);
  text-align: center;
}
.why-ai-content__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-8, 2rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3, 0.75rem);
}
@media (min-width: 640px) {
  .why-ai-content__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.why-ai-content__list li {
  position: relative;
  padding-left: var(--spacing-6, 1.5rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
}
.why-ai-content__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-400, #0BF9EA);
  font-weight: bold;
}
.why-ai-content__highlight {
  padding: var(--spacing-5, 1.25rem) var(--spacing-6, 1.5rem);
  background: rgba(59, 211, 211, 0.08);
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-md, 8px);
  text-align: center;
}
.why-ai-content__highlight p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--primary-400, #0BF9EA);
  margin: 0;
}

.enterprise-collaboration {
  padding: var(--spacing-12, 3rem) 0;
}

.collaboration-content {
  max-width: 700px;
  margin: 0 auto;
}
.collaboration-content__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  text-align: center;
  margin: 0 0 var(--spacing-6, 1.5rem);
}
.collaboration-content__intro {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-primary, #fcffff);
  text-align: center;
  margin-bottom: var(--spacing-4, 1rem);
}
.collaboration-content__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  text-align: center;
  margin-bottom: var(--spacing-6, 1.5rem);
}
.collaboration-content__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-6, 1.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3, 0.75rem);
}
@media (min-width: 640px) {
  .collaboration-content__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.collaboration-content__list li {
  position: relative;
  padding-left: var(--spacing-6, 1.5rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
}
.collaboration-content__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-400, #0BF9EA);
  font-weight: bold;
}
.collaboration-content__note {
  font-size: var(--font-size-base);
  font-style: italic;
  color: var(--text-muted, rgba(252, 255, 255, 0.5));
  text-align: center;
  margin: 0;
}

.enterprise-use-cases-section {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3, 0.75rem);
}
@media (min-width: 640px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .use-cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.use-case-item {
  padding: var(--spacing-3, 0.75rem) var(--spacing-4, 1rem);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  transition: all 0.2s ease;
}
.use-case-item:hover {
  border-color: rgba(59, 211, 211, 0.2);
  background: rgba(59, 211, 211, 0.05);
}

.enterprise-for-agencies {
  padding: var(--spacing-12, 3rem) 0;
}

.for-agencies-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  padding: var(--spacing-8, 2rem);
  background: rgba(0, 0, 0, 0.2);
}
.for-agencies-content__icon {
  width: 64px;
  height: 64px;
  background: rgba(59, 211, 211, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-6, 1.5rem);
  color: var(--primary-400, #0BF9EA);
}
.for-agencies-content__icon svg {
  width: 32px;
  height: 32px;
}
.for-agencies-content__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-4, 1rem);
}
.for-agencies-content__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-4, 1rem);
  line-height: 1.7;
}
.for-agencies-content__subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: var(--spacing-6, 1.5rem) 0 var(--spacing-4, 1rem);
}
.for-agencies-content__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-6, 1.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2, 0.5rem);
}
@media (min-width: 640px) {
  .for-agencies-content__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.for-agencies-content__list li {
  position: relative;
  padding-left: var(--spacing-5, 1.25rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  text-align: left;
}
.for-agencies-content__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-400, #0BF9EA);
  font-weight: bold;
}
.for-agencies-content__highlight {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--primary-400, #0BF9EA);
  margin: var(--spacing-4, 1rem) 0 0;
  padding-top: var(--spacing-4, 1rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.enterprise-for-brands {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.for-brands-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  padding: var(--spacing-8, 2rem);
  background: rgba(0, 0, 0, 0.2);
}
.for-brands-content__icon {
  width: 64px;
  height: 64px;
  background: rgba(59, 211, 211, 0.1);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-6, 1.5rem);
  color: var(--primary-400, #0BF9EA);
}
.for-brands-content__icon svg {
  width: 32px;
  height: 32px;
}
.for-brands-content__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-4, 1rem);
}
.for-brands-content__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-4, 1rem);
  line-height: 1.7;
}
.for-brands-content__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
  line-height: 1.7;
}

.enterprise-benefits {
  padding: var(--spacing-12, 3rem) 0;
}

.benefits-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-4, 1rem);
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .benefits-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  align-items: flex-start;
  gap: var(--spacing-4, 1rem);
  padding: var(--spacing-4, 1rem);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
}
.benefit-item__label {
  flex-shrink: 0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold, 700);
  color: var(--primary-400, #0BF9EA);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 80px;
}
.benefit-item__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.enterprise-faq {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-4, 1rem);
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .faq-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-item {
  padding: var(--spacing-5, 1.25rem);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  transition: border-color 0.2s ease;
}
.faq-item:hover {
  border-color: rgba(59, 211, 211, 0.2);
}
.faq-item__question {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.faq-item__answer {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.enterprise-cta {
  padding: var(--spacing-16, 4rem) 0;
}
.enterprise-cta__wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-md, 8px);
  padding: var(--spacing-10, 2.5rem) var(--spacing-8, 2rem);
  background: rgba(0, 0, 0, 0.4);
}
@media (min-width: 640px) {
  .enterprise-cta__wrapper {
    padding: var(--spacing-12, 3rem) var(--spacing-10, 2.5rem);
  }
}
.enterprise-cta__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-4, 1rem);
}
.enterprise-cta__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-6, 1.5rem);
  line-height: 1.7;
}
.enterprise-cta__tagline {
  margin-bottom: var(--spacing-8, 2rem);
}
.enterprise-cta__tagline p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-2, 0.5rem);
}
.enterprise-cta__tagline p:last-child {
  margin-bottom: 0;
}
.enterprise-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-4, 1rem);
}
.enterprise-cta__button {
  min-width: 200px;
}

.enterprise-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3, 0.75rem) var(--spacing-6, 1.5rem);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  text-decoration: none;
  border-radius: var(--radius-md, 8px);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  color: var(--brand-white) !important;
}
.enterprise-page .btn--primary {
  background: var(--primary-400, #0BF9EA) !important;
  color: var(--brand-white) !important;
}
.enterprise-page .btn--primary:hover {
  background: var(--primary-300, #54ecec) !important;
  box-shadow: 0 4px 12px rgba(59, 211, 211, 0.3);
  transform: translateY(-1px);
}
.enterprise-page .btn--secondary {
  background: rgba(59, 211, 211, 0.15);
  color: var(--primary-400, #0BF9EA);
  border: 1px solid rgba(59, 211, 211, 0.3);
}
.enterprise-page .btn--secondary:hover {
  background: rgba(59, 211, 211, 0.25);
  transform: translateY(-1px);
}
.enterprise-page .btn--outline {
  background: transparent;
  color: var(--text-primary, #fcffff);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.enterprise-page .btn--outline:hover {
  border-color: var(--primary-400, #0BF9EA);
  background: rgba(59, 211, 211, 0.1);
  transform: translateY(-1px);
}
.enterprise-page .btn--lg {
  padding: var(--spacing-4, 1rem) var(--spacing-8, 2rem);
  font-size: var(--font-size-base);
}

@media (max-width: 640px) {
  .enterprise-hero {
    padding: var(--spacing-12, 3rem) 0 var(--spacing-8, 2rem);
  }
  .enterprise-hero__actions {
    flex-direction: column;
    align-items: center;
  }
  .enterprise-hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }
  .enterprise-cta__actions {
    flex-direction: column;
    align-items: center;
  }
  .enterprise-cta__actions .enterprise-cta__button {
    width: 100%;
    max-width: 280px;
  }
  .for-agencies-content,
  .for-brands-content {
    padding: var(--spacing-6, 1.5rem);
  }
  .benefit-item {
    flex-direction: column;
    gap: var(--spacing-2, 0.5rem);
  }
}
/**
 * How It Works Page Styles
 * Guide for clients and creators
 */
body.page-template-page-how-it-works,
body.page-how-it-works {
  background: var(--rich-black, #000000);
  color: var(--text-primary, #fcffff);
  min-height: 100vh;
}

.how-it-works-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .how-it-works-page .container {
    padding: 0 var(--spacing-8, 2rem);
  }
}

.hiw-hero {
  padding: var(--spacing-16, 4rem) 0 var(--spacing-12, 3rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(59, 211, 211, 0.08) 0%, transparent 60%);
}
.hiw-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--font-weight-bold, 700);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-4, 1rem);
}
.hiw-hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: var(--font-weight-medium, 500);
  color: var(--primary-400, #0BF9EA);
  margin: 0 auto var(--spacing-4, 1rem);
  max-width: 700px;
  line-height: 1.5;
}
.hiw-hero__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  max-width: 600px;
  margin: 0 auto var(--spacing-8, 2rem);
  line-height: 1.7;
}
.hiw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-4, 1rem);
}

.hiw-section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  text-align: center;
  margin: 0 0 var(--spacing-10, 2.5rem);
}

.hiw-section-header {
  text-align: center;
  margin-bottom: var(--spacing-10, 2.5rem);
}
.hiw-section-header__badge {
  display: inline-block;
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: var(--font-weight-semibold, 600);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-500, #e6be69);
  padding: var(--spacing-1, 0.25rem) var(--spacing-4, 1rem);
  background: rgba(230, 190, 105, 0.1);
  border-radius: var(--radius-md, 8px);
  margin-bottom: var(--spacing-4, 1rem);
}
.hiw-section-header__badge--creators {
  background: rgba(59, 211, 211, 0.1);
  color: var(--primary-400, #0BF9EA);
}
.hiw-section-header__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0;
}

.hiw-concept {
  padding: var(--spacing-12, 3rem) 0;
}
.hiw-concept__wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hiw-concept__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-6, 1.5rem);
}
.hiw-concept__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-8, 2rem);
  line-height: 1.7;
}
.hiw-concept__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .hiw-concept__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.concept-card {
  background: rgba(21, 31, 31, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 12px);
  padding: var(--spacing-6, 1.5rem);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.concept-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.concept-card:first-child {
  border-color: rgba(230, 190, 105, 0.2);
}
.concept-card:first-child:hover {
  border-color: rgba(230, 190, 105, 0.4);
}
.concept-card:first-child .concept-card__icon {
  background: rgba(230, 190, 105, 0.1);
  color: var(--gold-500, #e6be69);
}
.concept-card:last-child {
  border-color: rgba(59, 211, 211, 0.2);
}
.concept-card:last-child:hover {
  border-color: rgba(59, 211, 211, 0.4);
}
.concept-card:last-child .concept-card__icon {
  background: rgba(59, 211, 211, 0.1);
  color: var(--primary-400, #0BF9EA);
}
.concept-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-4, 1rem);
}
.concept-card__icon svg {
  width: 28px;
  height: 28px;
}
.concept-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.concept-card__text {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.hiw-paths {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hiw-paths__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hiw-paths__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.path-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl, 16px);
  padding: var(--spacing-8, 2rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.path-card--clients {
  border-color: rgba(230, 190, 105, 0.2);
}
.path-card--clients:hover {
  border-color: rgba(230, 190, 105, 0.4);
}
.path-card--clients .path-card__icon {
  background: rgba(230, 190, 105, 0.15);
  color: var(--gold-500, #e6be69);
}
.path-card--creators {
  border-color: rgba(59, 211, 211, 0.2);
}
.path-card--creators:hover {
  border-color: rgba(59, 211, 211, 0.4);
}
.path-card--creators .path-card__icon {
  background: rgba(59, 211, 211, 0.15);
  color: var(--primary-400, #0BF9EA);
}
.path-card__header {
  display: flex;
  align-items: center;
  gap: var(--spacing-4, 1rem);
  margin-bottom: var(--spacing-4, 1rem);
}
.path-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.path-card__icon svg {
  width: 24px;
  height: 24px;
}
.path-card__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0;
}
.path-card__description {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0 0 var(--spacing-4, 1rem);
}
.path-card__link {
  display: inline-flex;
  align-items: center;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  text-decoration: none;
  transition: color 0.2s ease;
}
.path-card--clients .path-card__link {
  color: var(--gold-500, #e6be69);
}
.path-card--clients .path-card__link:hover {
  color: var(--gold-400, #f9d654);
}
.path-card--creators .path-card__link {
  color: var(--primary-400, #0BF9EA);
}
.path-card--creators .path-card__link:hover {
  color: var(--primary-300, #54ecec);
}

.hiw-for-clients,
.hiw-for-creators {
  padding: var(--spacing-16, 4rem) 0;
}

.hiw-for-creators {
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hiw-for-clients {
  background: rgba(230, 190, 105, 0.03);
}

.hiw-steps {
  max-width: 800px;
  margin: 0 auto;
}
.hiw-steps .hiw-step__number {
  background: var(--gold-500, #e6be69);
  color: var(--rich-black, #000000);
}
.hiw-steps--creators .hiw-step__number {
  background: var(--primary-400, #0BF9EA);
  color: var(--rich-black, #000000);
}

.hiw-step {
  display: flex;
  gap: var(--spacing-6, 1.5rem);
  padding: var(--spacing-6, 1.5rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hiw-step:first-child {
  padding-top: 0;
}
.hiw-step:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.hiw-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold, 700);
}
.hiw-step__content {
  flex: 1;
}
.hiw-step__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-2, 0.5rem);
}
.hiw-step__description {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.hiw-why {
  padding: var(--spacing-12, 3rem) 0;
}
.hiw-why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hiw-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .hiw-why__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  background: rgba(21, 31, 31, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 12px);
  padding: var(--spacing-6, 1.5rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 211, 211, 0.2);
}
@media (min-width: 768px) {
  .why-card--full {
    grid-column: 1/-1;
    max-width: 400px;
    margin: 0 auto;
  }
}
@media (min-width: 1024px) {
  .why-card--full {
    grid-column: auto;
  }
}
.why-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 211, 211, 0.1);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-4, 1rem);
  color: var(--primary-400, #0BF9EA);
}
.why-card__icon svg {
  width: 24px;
  height: 24px;
}
.why-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.why-card__description {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.hiw-categories {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-4, 1rem);
}
@media (min-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
  padding: var(--spacing-5, 1.25rem) var(--spacing-4, 1rem);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 12px);
  transition: all 0.2s ease;
}
.category-item:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 211, 211, 0.3);
  background: rgba(59, 211, 211, 0.05);
}
.category-item__icon {
  width: 40px;
  height: 40px;
  color: var(--primary-400, #0BF9EA);
}
.category-item__icon svg {
  width: 100%;
  height: 100%;
}
.category-item__label {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-primary, #fcffff);
  text-align: center;
}

.hiw-trust {
  padding: var(--spacing-12, 3rem) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-4, 1rem);
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-4, 1rem);
  padding: var(--spacing-4, 1rem);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  transition: all 0.2s ease;
}
.trust-item:hover {
  border-color: rgba(59, 211, 211, 0.2);
}
.trust-item__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold, 700);
  color: var(--primary-400, #0BF9EA);
  flex-shrink: 0;
}
.trust-item__label {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-primary, #fcffff);
}

.hiw-cta {
  padding: var(--spacing-16, 4rem) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(59, 211, 211, 0.08) 50%, transparent 100%);
}
.hiw-cta__wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-xl, 16px);
  padding: var(--spacing-10, 2.5rem) var(--spacing-8, 2rem);
  background: rgba(0, 0, 0, 0.4);
}
@media (min-width: 640px) {
  .hiw-cta__wrapper {
    padding: var(--spacing-12, 3rem) var(--spacing-10, 2.5rem);
  }
}
.hiw-cta__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-4, 1rem);
}
.hiw-cta__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-8, 2rem);
  line-height: 1.7;
}
.hiw-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-4, 1rem);
}

.how-it-works-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3, 0.75rem) var(--spacing-6, 1.5rem);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  text-decoration: none;
  border-radius: var(--radius-md, 8px);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  color: var(--brand-white) !important;
}
.how-it-works-page .btn--primary {
  background: var(--primary-400, #0BF9EA) !important;
  color: var(--brand-white, #ffffff) !important;
}
.how-it-works-page .btn--primary:hover {
  background: var(--primary-300, #54ecec) !important;
  box-shadow: 0 4px 12px rgba(59, 211, 211, 0.3);
  transform: translateY(-1px);
}
.how-it-works-page .btn--outline {
  background: transparent;
  color: var(--text-primary, #fcffff);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.how-it-works-page .btn--outline:hover {
  border-color: var(--primary-400, #0BF9EA);
  background: rgba(59, 211, 211, 0.1);
  transform: translateY(-1px);
}
.how-it-works-page .btn--lg {
  padding: var(--spacing-4, 1rem) var(--spacing-8, 2rem);
  font-size: var(--font-size-base);
}

@media (max-width: 640px) {
  .hiw-hero {
    padding: var(--spacing-12, 3rem) 0 var(--spacing-8, 2rem);
  }
  .hiw-hero__actions {
    flex-direction: column;
    align-items: center;
  }
  .hiw-hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }
  .hiw-step {
    flex-direction: column;
    gap: var(--spacing-4, 1rem);
    text-align: center;
  }
  .hiw-step__number {
    margin: 0 auto;
  }
  .path-card {
    padding: var(--spacing-6, 1.5rem);
  }
  .hiw-cta__actions {
    flex-direction: column;
    align-items: center;
  }
  .hiw-cta__actions .btn {
    width: 100%;
    max-width: 280px;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/**
 * Pricing Page Styles
 * Transparent marketplace pricing for clients and creators
 */
body.page-template-page-pricing,
body.page-pricing {
  background: var(--rich-black, #000000);
  color: var(--text-primary, #fcffff);
  min-height: 100vh;
}

.pricing-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .pricing-page .container {
    padding: 0 var(--spacing-8, 2rem);
  }
}

.pricing-hero {
  padding: var(--spacing-16, 4rem) 0 var(--spacing-12, 3rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(59, 211, 211, 0.08) 0%, transparent 60%);
}
.pricing-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--font-weight-bold, 700);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-4, 1rem);
  line-height: 1.2;
}
.pricing-hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: var(--font-weight-medium, 500);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-4, 1rem);
}
.pricing-hero__tagline {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0 0 var(--spacing-8, 2rem);
  line-height: 1.7;
}
.pricing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-4, 1rem);
}

.pricing-overview {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pricing-overview__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  text-align: center;
  margin: 0 0 var(--spacing-2, 0.5rem);
}
.pricing-overview__intro {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  text-align: center;
  margin: 0 0 var(--spacing-8, 2rem);
}
.pricing-overview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .pricing-overview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.overview-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-4, 1rem);
  padding: var(--spacing-5, 1.25rem);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  transition: all 0.2s ease;
}
.overview-item:hover {
  border-color: rgba(59, 211, 211, 0.2);
  transform: translateY(-2px);
}
.overview-item__icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 211, 211, 0.1);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-400, #0BF9EA);
}
.overview-item__icon svg {
  width: 24px;
  height: 24px;
}
.overview-item__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.6;
  margin: 0;
}

.pricing-cards {
  padding: var(--spacing-16, 4rem) 0;
}
.pricing-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .pricing-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  background: rgba(21, 31, 31, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  padding: var(--spacing-8, 2rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.pricing-card--clients {
  border-color: rgba(230, 190, 105, 0.2);
}
.pricing-card--clients:hover {
  border-color: rgba(230, 190, 105, 0.4);
}
.pricing-card--clients .pricing-card__badge {
  background: rgba(230, 190, 105, 0.15);
  color: var(--gold-500, #e6be69);
}
.pricing-card--clients .pricing-feature__icon {
  color: var(--gold-500, #e6be69);
}
.pricing-card--clients .pricing-card__fee-value {
  color: var(--gold-500, #e6be69);
}
.pricing-card--creators {
  border-color: rgba(59, 211, 211, 0.2);
}
.pricing-card--creators:hover {
  border-color: rgba(59, 211, 211, 0.4);
}
.pricing-card--creators .pricing-card__badge {
  background: rgba(59, 211, 211, 0.15);
  color: var(--primary-400, #0BF9EA);
}
.pricing-card--creators .pricing-feature__icon {
  color: var(--primary-400, #0BF9EA);
}
.pricing-card--creators .pricing-card__fee-value {
  color: var(--primary-400, #0BF9EA);
}
.pricing-card__header {
  margin-bottom: var(--spacing-6, 1.5rem);
}
.pricing-card__badge {
  display: inline-block;
  font-size: var(--font-size-xs, 0.75rem);
  font-weight: var(--font-weight-semibold, 600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--spacing-1, 0.25rem) var(--spacing-3, 0.75rem);
  border-radius: var(--radius-md, 8px);
  margin-bottom: var(--spacing-3, 0.75rem);
}
.pricing-card__title {
  font-size: var(--font-size-xl, 1.25rem);
  font-weight: var(--font-weight-bold, 700);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-1, 0.25rem);
}
.pricing-card__subtitle {
  font-size: var(--font-size-base);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.65));
  margin: 0;
}
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3, 0.75rem);
  margin-bottom: var(--spacing-6, 1.5rem);
  flex-grow: 1;
}
.pricing-card__fee {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-2, 0.5rem);
  flex-wrap: wrap;
  padding: var(--spacing-4, 1rem);
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md, 8px);
  margin-bottom: var(--spacing-4, 1rem);
}
.pricing-card__fee-label {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.65));
}
.pricing-card__fee-value {
  font-size: 2rem;
  font-weight: var(--font-weight-bold, 700);
}
.pricing-card__fee-note {
  font-size: var(--font-size-base);
  color: var(--text-muted, rgba(252, 255, 255, 0.5));
}
.pricing-card__best-for {
  padding: var(--spacing-4, 1rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: var(--spacing-6, 1.5rem);
}
.pricing-card__best-for-label {
  display: block;
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.65));
  margin-bottom: var(--spacing-2, 0.5rem);
}
.pricing-card__best-for-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
  line-height: 1.5;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-3, 0.75rem);
}
.pricing-feature__icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold, 700);
  flex-shrink: 0;
}
.pricing-feature__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
}

.pricing-why {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pricing-why__wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.pricing-why__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-4, 1rem);
}
.pricing-why__intro {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-2, 0.5rem);
}
.pricing-why__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0 0 var(--spacing-6, 1.5rem);
}
.pricing-why__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
  text-align: left;
}
.pricing-why__list li {
  position: relative;
  padding-left: var(--spacing-6, 1.5rem);
  margin-bottom: var(--spacing-3, 0.75rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
}
.pricing-why__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-400, #0BF9EA);
  font-weight: bold;
}
.pricing-why__list li:last-child {
  margin-bottom: 0;
}

.pricing-included {
  padding: var(--spacing-12, 3rem) 0;
}
.pricing-included__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  text-align: center;
  margin: 0 0 var(--spacing-10, 2.5rem);
}
.pricing-included__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-4, 1rem);
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .pricing-included__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .pricing-included__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.included-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-4, 1rem);
  padding: var(--spacing-4, 1rem);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  transition: all 0.2s ease;
}
.included-item:hover {
  border-color: rgba(59, 211, 211, 0.2);
}
@media (min-width: 640px) {
  .included-item--full {
    grid-column: 1/-1;
    max-width: 400px;
    margin: 0 auto;
  }
}
@media (min-width: 1024px) {
  .included-item--full {
    grid-column: auto;
  }
}
.included-item__icon {
  width: 40px;
  height: 40px;
  background: rgba(59, 211, 211, 0.1);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-400, #0BF9EA);
}
.included-item__icon svg {
  width: 20px;
  height: 20px;
}
.included-item__text {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-primary, #fcffff);
}

.pricing-final-cta {
  padding: var(--spacing-16, 4rem) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(59, 211, 211, 0.08) 50%, transparent 100%);
}
.pricing-final-cta__wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-md, 8px);
  padding: var(--spacing-10, 2.5rem) var(--spacing-8, 2rem);
  background: rgba(0, 0, 0, 0.4);
}
@media (min-width: 640px) {
  .pricing-final-cta__wrapper {
    padding: var(--spacing-12, 3rem) var(--spacing-10, 2.5rem);
  }
}
.pricing-final-cta__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-4, 1rem);
}
.pricing-final-cta__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-8, 2rem);
  line-height: 1.7;
}
.pricing-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-4, 1rem);
}

.pricing-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3, 0.75rem) var(--spacing-6, 1.5rem);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  text-decoration: none;
  border-radius: var(--radius-md, 8px);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  color: var(--brand-white) !important;
}
.pricing-page .btn--primary {
  background: var(--primary-400, #0BF9EA) !important;
  color: var(--brand-white, #ffffff) !important;
}
.pricing-page .btn--primary:hover {
  background: var(--primary-300, #54ecec) !important;
  box-shadow: 0 4px 12px rgba(59, 211, 211, 0.3);
  transform: translateY(-1px);
}
.pricing-page .btn--clients {
  background: var(--gold-500, #e6be69) !important;
  color: var(--rich-black, #000000) !important;
}
.pricing-page .btn--clients:hover {
  background: var(--gold-400, #f9d654) !important;
  box-shadow: 0 4px 12px rgba(230, 190, 105, 0.3);
  transform: translateY(-1px);
}
.pricing-page .btn--outline {
  background: transparent;
  color: var(--text-primary, #fcffff);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.pricing-page .btn--outline:hover {
  border-color: var(--primary-400, #0BF9EA);
  background: rgba(59, 211, 211, 0.1);
  transform: translateY(-1px);
}
.pricing-page .btn--lg {
  padding: var(--spacing-4, 1rem) var(--spacing-8, 2rem);
  font-size: var(--font-size-base);
}
.pricing-page .btn--full {
  width: 100%;
}

@media (max-width: 640px) {
  .pricing-hero {
    padding: var(--spacing-12, 3rem) 0 var(--spacing-8, 2rem);
  }
  .pricing-hero__actions {
    flex-direction: column;
    align-items: center;
  }
  .pricing-hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }
  .pricing-card {
    padding: var(--spacing-6, 1.5rem);
  }
  .pricing-card__fee {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .pricing-final-cta__actions {
    flex-direction: column;
    align-items: center;
  }
  .pricing-final-cta__actions .btn {
    width: 100%;
    max-width: 280px;
  }
}
/**
 * Creator Guidelines Page Styles
 * Standards and requirements for platform creators
 */
body.page-template-page-creator-guidelines,
body.page-creator-guidelines {
  background: var(--rich-black, #000000);
  color: var(--text-primary, #fcffff);
  min-height: 100vh;
}

.creator-guidelines-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0 var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .creator-guidelines-page .container {
    padding: 0 var(--spacing-8, 2rem);
  }
}

.guidelines-hero {
  padding: var(--spacing-16, 4rem) 0 var(--spacing-8, 2rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(59, 211, 211, 0.05) 0%, transparent 100%);
}
.guidelines-hero__title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold, 700);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.guidelines-hero__subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.guidelines-intro {
  padding: var(--spacing-8, 2rem) 0;
}
.guidelines-intro__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.guidelines-intro__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.7;
  margin-bottom: var(--spacing-4, 1rem);
}
.guidelines-intro__text:last-of-type {
  margin-bottom: var(--spacing-6, 1.5rem);
}
.guidelines-intro__warning {
  padding: var(--spacing-5, 1.25rem) var(--spacing-6, 1.5rem);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-left: 3px solid var(--danger-color, #ef4444);
  border-radius: var(--radius-md, 8px);
  text-align: left;
}
.guidelines-intro__warning p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--danger-light, #f87171);
  margin: 0 !important;
}

.guidelines-content {
  padding: var(--spacing-12, 3rem) 0;
}

.guidelines-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.guideline-item {
  margin-bottom: var(--spacing-10, 2.5rem);
  padding-bottom: var(--spacing-10, 2.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.guideline-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.guideline-item__header {
  display: flex;
  align-items: center;
  gap: var(--spacing-4, 1rem);
  margin-bottom: var(--spacing-5, 1.25rem);
}
.guideline-item__number {
  width: 48px;
  height: 48px;
  background: var(--primary-400, #0BF9EA);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold, 700);
  color: #000;
  flex-shrink: 0;
}
.guideline-item__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0;
}
.guideline-item__intro {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.7;
  margin-bottom: var(--spacing-4, 1rem);
}
.guideline-item__subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: var(--spacing-4, 1rem) 0 var(--spacing-3, 0.75rem);
}
.guideline-item__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.7;
  margin-bottom: var(--spacing-4, 1rem);
}
.guideline-item__list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-3, 0.75rem) 0 var(--spacing-4, 1rem);
}
.guideline-item__list li {
  position: relative;
  padding-left: var(--spacing-6, 1.5rem);
  margin-bottom: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.6;
}
.guideline-item__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-400, #0BF9EA);
  font-weight: bold;
}
.guideline-item__note {
  padding: var(--spacing-4, 1rem) var(--spacing-5, 1.25rem);
  background: rgba(59, 211, 211, 0.08);
  border: 1px solid rgba(59, 211, 211, 0.15);
  border-radius: var(--radius-md, 8px);
  margin-top: var(--spacing-4, 1rem);
}
.guideline-item__note p {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0 !important;
}
.guideline-item__warning {
  padding: var(--spacing-4, 1rem) var(--spacing-5, 1.25rem);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-md, 8px);
  margin-top: var(--spacing-4, 1rem);
}
.guideline-item__warning p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--danger-light, #f87171);
  margin: 0 !important;
}
.guideline-item__highlight {
  padding: var(--spacing-4, 1rem) var(--spacing-5, 1.25rem);
  background: rgba(59, 211, 211, 0.1);
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-left: 3px solid var(--primary-400, #0BF9EA);
  border-radius: var(--radius-md, 8px);
  margin: var(--spacing-4, 1rem) 0;
}
.guideline-item__highlight p {
  font-size: var(--font-size-base);
  color: var(--text-primary, #fcffff);
  margin: 0 !important;
}
.guideline-item__highlight p strong {
  color: var(--primary-400, #0BF9EA);
}

.guidelines-contact {
  padding: var(--spacing-12, 3rem) 0 var(--spacing-16, 4rem);
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.guidelines-contact__content {
  max-width: 600px;
  margin: 0 auto !important;
  text-align: center;
}
.guidelines-contact__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-4, 1rem);
}
.guidelines-contact__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-3, 0.75rem);
}
.guidelines-contact__email {
  display: inline-block;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--brand-white);
  text-decoration: none;
  transition: color 0.2s ease;
}
.guidelines-contact__email:hover {
  color: var(--primary-300, #54ecec);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .guidelines-hero {
    padding: var(--spacing-12, 3rem) 0 var(--spacing-6, 1.5rem);
  }
  .guideline-item {
    margin-bottom: var(--spacing-8, 2rem);
    padding-bottom: var(--spacing-8, 2rem);
  }
  .guideline-item__header {
    gap: var(--spacing-3, 0.75rem);
  }
  .guideline-item__number {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-base);
  }
  .guideline-item__title {
    font-size: var(--font-size-base);
  }
  .guidelines-intro__warning,
  .guideline-item__note,
  .guideline-item__warning,
  .guideline-item__highlight {
    padding: var(--spacing-3, 0.75rem) var(--spacing-4, 1rem);
  }
}
/**
 * Client Guidelines Page Styles
 * Standards and expectations for platform clients
 */
body.page-template-page-client-guidelines,
body.page-client-guidelines {
  background: var(--rich-black, #000000);
  color: var(--text-primary, #fcffff);
  min-height: 100vh;
}

.client-guidelines-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .client-guidelines-page .container {
    padding: 0 var(--spacing-8, 2rem);
  }
}

.client-guidelines-page .guidelines-hero {
  padding: var(--spacing-16, 4rem) 0 var(--spacing-8, 2rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(230, 190, 105, 0.05) 0%, transparent 100%);
}
.client-guidelines-page .guidelines-hero__title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold, 700);
  color: var(--gold-500, #e6be69);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.client-guidelines-page .guidelines-hero__subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.client-guidelines-page .guidelines-intro {
  padding: var(--spacing-8, 2rem) 0;
}
.client-guidelines-page .guidelines-intro__content {
  max-width: 800px;
  margin: 0 auto !important;
  text-align: center;
}
.client-guidelines-page .guidelines-intro__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.7;
  margin-bottom: var(--spacing-4, 1rem);
}
.client-guidelines-page .guidelines-intro__text:last-of-type {
  margin-bottom: var(--spacing-6, 1.5rem);
}
.client-guidelines-page .guidelines-intro__warning {
  padding: var(--spacing-5, 1.25rem) var(--spacing-6, 1.5rem);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-left: 3px solid var(--danger-color, #ef4444);
  border-radius: var(--radius-md, 8px);
  text-align: left;
}
.client-guidelines-page .guidelines-intro__warning p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--danger-light, #f87171);
  margin: 0;
}

.client-guidelines-page .guidelines-content {
  padding: var(--spacing-12, 3rem) 0;
}

.client-guidelines-page .guidelines-wrapper {
  max-width: 800px;
  margin: 0 auto !important;
}

.client-guidelines-page .guideline-item {
  margin-bottom: var(--spacing-10, 2.5rem);
  padding-bottom: var(--spacing-10, 2.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.client-guidelines-page .guideline-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.client-guidelines-page .guideline-item__header {
  display: flex;
  align-items: center;
  gap: var(--spacing-4, 1rem);
  margin-bottom: var(--spacing-5, 1.25rem);
}
.client-guidelines-page .guideline-item__number {
  width: 48px;
  height: 48px;
  background: var(--gold-500, #e6be69);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold, 700);
  color: #000;
  flex-shrink: 0;
}
.client-guidelines-page .guideline-item__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0;
}
.client-guidelines-page .guideline-item__intro {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.7;
  margin-bottom: var(--spacing-4, 1rem);
}
.client-guidelines-page .guideline-item__subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: var(--spacing-4, 1rem) 0 var(--spacing-3, 0.75rem);
}
.client-guidelines-page .guideline-item__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.7;
  margin-bottom: var(--spacing-4, 1rem);
}
.client-guidelines-page .guideline-item__list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-3, 0.75rem) 0 var(--spacing-4, 1rem);
}
.client-guidelines-page .guideline-item__list li {
  position: relative;
  padding-left: var(--spacing-6, 1.5rem);
  margin-bottom: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.6;
}
.client-guidelines-page .guideline-item__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold-500, #e6be69);
  font-weight: bold;
}
.client-guidelines-page .guideline-item__note {
  padding: var(--spacing-4, 1rem) var(--spacing-5, 1.25rem);
  background: rgba(230, 190, 105, 0.08);
  border: 1px solid rgba(230, 190, 105, 0.15);
  border-radius: var(--radius-md, 8px);
  margin-top: var(--spacing-4, 1rem);
}
.client-guidelines-page .guideline-item__note p {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0 !important;
}
.client-guidelines-page .guideline-item__warning {
  padding: var(--spacing-4, 1rem) var(--spacing-5, 1.25rem);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-md, 8px);
  margin-top: var(--spacing-4, 1rem);
}
.client-guidelines-page .guideline-item__warning p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--danger-light, #f87171);
  margin: 0 !important;
}
.client-guidelines-page .guideline-item__highlight {
  padding: var(--spacing-4, 1rem) var(--spacing-5, 1.25rem);
  background: rgba(230, 190, 105, 0.1);
  border: 1px solid rgba(230, 190, 105, 0.2);
  border-left: 3px solid var(--gold-500, #e6be69);
  border-radius: var(--radius-md, 8px);
  margin: var(--spacing-4, 1rem) 0;
}
.client-guidelines-page .guideline-item__highlight p {
  font-size: var(--font-size-base);
  color: var(--text-primary, #fcffff);
  margin: 0 !important;
}
.client-guidelines-page .guideline-item__highlight p strong {
  color: var(--gold-500, #e6be69);
}

.client-guidelines-page .guidelines-contact {
  padding: var(--spacing-12, 3rem) 0 var(--spacing-16, 4rem);
  background: rgba(230, 190, 105, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.client-guidelines-page .guidelines-contact__content {
  max-width: 600px;
  margin: 0 auto !important;
  text-align: center;
}
.client-guidelines-page .guidelines-contact__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--gold-500, #e6be69);
  margin: 0 0 var(--spacing-4, 1rem);
}
.client-guidelines-page .guidelines-contact__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-3, 0.75rem);
}
.client-guidelines-page .guidelines-contact__email {
  display: inline-block;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--brand-white);
  text-decoration: none;
  transition: color 0.2s ease;
}
.client-guidelines-page .guidelines-contact__email:hover {
  color: var(--gold-400, #f9d654);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .client-guidelines-page .guidelines-hero {
    padding: var(--spacing-12, 3rem) 0 var(--spacing-6, 1.5rem);
  }
  .client-guidelines-page .guideline-item {
    margin-bottom: var(--spacing-8, 2rem);
    padding-bottom: var(--spacing-8, 2rem);
  }
  .client-guidelines-page .guideline-item__header {
    gap: var(--spacing-3, 0.75rem);
  }
  .client-guidelines-page .guideline-item__number {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-base);
  }
  .client-guidelines-page .guideline-item__title {
    font-size: var(--font-size-base);
  }
  .client-guidelines-page .guidelines-intro__warning,
  .client-guidelines-page .guideline-item__note,
  .client-guidelines-page .guideline-item__warning,
  .client-guidelines-page .guideline-item__highlight {
    padding: var(--spacing-3, 0.75rem) var(--spacing-4, 1rem);
  }
}
/**
 * Creator Resources Page Styles
 * Tools, guidance, and support for AI creators
 */
body.page-template-page-creator-resources,
body.page-creator-resources {
  background: var(--rich-black, #000000);
  color: var(--text-primary, #fcffff);
  min-height: 100vh;
}

.creator-resources-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .creator-resources-page .container {
    padding: 0 var(--spacing-8, 2rem);
  }
}

.resources-hero {
  padding: var(--spacing-16, 4rem) 0 var(--spacing-8, 2rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(59, 211, 211, 0.08) 0%, transparent 100%);
}
.resources-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--font-weight-bold, 700);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-4, 1rem);
}
.resources-hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.resources-intro {
  padding: var(--spacing-8, 2rem) 0;
}
.resources-intro__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.resources-intro__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.7;
  margin-bottom: var(--spacing-4, 1rem);
}
.resources-intro__text:last-child {
  margin-bottom: 0;
}

.resources-content {
  padding: var(--spacing-12, 3rem) 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.resource-card {
  background: rgba(21, 31, 31, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl, 16px);
  padding: var(--spacing-6, 1.5rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-color: rgba(59, 211, 211, 0.2);
}
.resource-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(59, 211, 211, 0.1);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-4, 1rem);
  color: var(--primary-400, #0BF9EA);
}
.resource-card__icon svg {
  width: 28px;
  height: 28px;
}
.resource-card__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.resource-card__intro {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.6;
  margin-bottom: var(--spacing-4, 1rem);
}
.resource-card__subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: var(--spacing-4, 1rem) 0 var(--spacing-2, 0.5rem);
}
.resource-card__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.6;
  margin-bottom: var(--spacing-3, 0.75rem);
}
.resource-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-4, 1rem);
}
.resource-card__list li {
  position: relative;
  padding-left: var(--spacing-6, 1.5rem);
  margin-bottom: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.5;
}
.resource-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-400, #0BF9EA);
  font-weight: bold;
}
.resource-card__list li a {
  color: var(--primary-400, #0BF9EA);
  text-decoration: none;
}
.resource-card__list li a:hover {
  text-decoration: underline;
}
.resource-card__tip {
  padding: var(--spacing-4, 1rem);
  background: rgba(59, 211, 211, 0.08);
  border: 1px solid rgba(59, 211, 211, 0.15);
  border-radius: var(--radius-md, 8px);
  margin-top: var(--spacing-4, 1rem);
}
.resource-card__tip p {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
  font-style: italic;
}
.resource-card__tip--highlight {
  background: rgba(59, 211, 211, 0.12);
  border-color: rgba(59, 211, 211, 0.25);
}
.resource-card__tip--highlight p {
  color: var(--primary-400, #0BF9EA);
  font-style: normal;
}
.resource-card__note {
  padding: var(--spacing-3, 0.75rem) var(--spacing-4, 1rem);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md, 8px);
  margin-top: var(--spacing-3, 0.75rem);
}
.resource-card__note p {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}
.resource-card__note a {
  color: var(--primary-400, #0BF9EA);
  text-decoration: none;
}
.resource-card__note a:hover {
  text-decoration: underline;
}
.resource-card__warning {
  padding: var(--spacing-4, 1rem);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-md, 8px);
  margin-top: var(--spacing-4, 1rem);
}
.resource-card__warning p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--danger-light, #f87171);
  margin: 0;
}

.resources-audience {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.resources-audience__wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.resources-audience__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  text-align: center;
  margin: 0 0 var(--spacing-6, 1.5rem);
}
.resources-audience__intro {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-primary, #fcffff);
  text-align: center;
  margin-bottom: var(--spacing-4, 1rem);
}
.resources-audience__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-6, 1.5rem);
  text-align: center;
}
.resources-audience__list li {
  position: relative;
  display: inline-block;
  padding-left: var(--spacing-5, 1.25rem);
  margin: 0 var(--spacing-4, 1rem) var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  text-align: left;
}
.resources-audience__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-400, #0BF9EA);
  font-weight: bold;
}
.resources-audience__subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.65));
  text-align: center;
  margin-bottom: var(--spacing-4, 1rem);
}
.resources-audience__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-3, 0.75rem);
}

.audience-tag {
  display: inline-flex;
  padding: var(--spacing-2, 0.5rem) var(--spacing-4, 1rem);
  background: rgba(59, 211, 211, 0.1);
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-md, 8px);
  font-size: var(--font-size-base);
  color: var(--text-primary, #fcffff);
  transition: all 0.2s ease;
}
.audience-tag:hover {
  background: rgba(59, 211, 211, 0.15);
  border-color: rgba(59, 211, 211, 0.3);
}

.resources-getting-started {
  padding: var(--spacing-12, 3rem) 0;
}

.getting-started__wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-xl, 16px);
  padding: var(--spacing-8, 2rem) var(--spacing-6, 1.5rem);
  background: rgba(0, 0, 0, 0.3);
}

.getting-started__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-4, 1rem);
}

.getting-started__intro {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-6, 1.5rem);
}

.getting-started__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-6, 1.5rem);
  text-align: left;
  display: inline-block;
}
.getting-started__list li {
  position: relative;
  padding-left: var(--spacing-8, 2rem);
  margin-bottom: var(--spacing-3, 0.75rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  counter-increment: step;
}
.getting-started__list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  background: var(--primary-400, #0BF9EA);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold, 700);
  color: var(--rich-black, #000000);
}
.getting-started__list li a {
  color: var(--primary-400, #0BF9EA);
  text-decoration: none;
}
.getting-started__list li a:hover {
  text-decoration: underline;
}

.getting-started__tip {
  padding: var(--spacing-4, 1rem) var(--spacing-5, 1.25rem);
  background: rgba(59, 211, 211, 0.1);
  border-left: 3px solid var(--primary-400, #0BF9EA);
  border-radius: var(--radius-md, 8px);
  text-align: left;
}
.getting-started__tip p {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
  font-style: italic;
}

.resources-help {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.help__wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.help__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-4, 1rem);
}

.help__intro {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-4, 1rem);
  line-height: 1.6;
}

.help__subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin-bottom: var(--spacing-3, 0.75rem);
}

.help__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-6, 1.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2, 0.5rem);
}
@media (min-width: 640px) {
  .help__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.help__list li {
  position: relative;
  padding-left: var(--spacing-5, 1.25rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  text-align: left;
}
.help__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-400, #0BF9EA);
  font-weight: bold;
}

.help__contact {
  margin-top: var(--spacing-6, 1.5rem);
}

.help__contact-label {
  font-size: var(--font-size-base);
  color: var(--text-tertiary, rgba(252, 255, 255, 0.65));
  margin-bottom: var(--spacing-2, 0.5rem);
}

.help__contact-email {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  text-decoration: none;
  transition: color 0.2s ease;
}
.help__contact-email:hover {
  color: var(--primary-300, #54ecec);
  text-decoration: underline;
}

.resources-cta {
  padding: var(--spacing-16, 4rem) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(59, 211, 211, 0.08) 50%, transparent 100%);
}

.cta__wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-xl, 16px);
  padding: var(--spacing-10, 2.5rem) var(--spacing-8, 2rem);
  background: rgba(0, 0, 0, 0.4);
}

.cta__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-4, 1rem);
}

.cta__intro {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-3, 0.75rem);
  line-height: 1.6;
}

.cta__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-6, 1.5rem);
  line-height: 1.6;
}

.cta__tagline {
  margin-bottom: var(--spacing-8, 2rem);
}
.cta__tagline p {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium, 500);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-2, 0.5rem);
}
.cta__tagline p:last-child {
  margin-bottom: 0;
}

.creator-resources-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3, 0.75rem) var(--spacing-6, 1.5rem);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  text-decoration: none;
  border-radius: var(--radius-md, 8px);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  color: var(--brand-white) !important;
}
.creator-resources-page .btn--primary {
  background: var(--primary-400, #0BF9EA) !important;
  color: var(--rich-black, #000000) !important;
}
.creator-resources-page .btn--primary:hover {
  background: var(--primary-300, #54ecec) !important;
  box-shadow: 0 4px 12px rgba(59, 211, 211, 0.3);
  transform: translateY(-1px);
}
.creator-resources-page .btn--lg {
  padding: var(--spacing-4, 1rem) var(--spacing-8, 2rem);
  font-size: var(--font-size-base);
}

@media (max-width: 640px) {
  .resources-hero {
    padding: var(--spacing-12, 3rem) 0 var(--spacing-6, 1.5rem);
  }
  .resource-card {
    padding: var(--spacing-5, 1.25rem);
  }
  .resource-card__icon {
    width: 48px;
    height: 48px;
  }
  .resource-card__icon svg {
    width: 24px;
    height: 24px;
  }
  .getting-started__wrapper,
  .cta__wrapper {
    padding: var(--spacing-6, 1.5rem);
  }
  .resources-audience__list li {
    display: block;
    text-align: center;
  }
  .cta__tagline p {
    font-size: var(--font-size-base);
  }
}
/**
 * Earnings Page Styles
 * How creators earn on The Dreamers platform
 * All classes prefixed with 'earnings-' to avoid conflicts
 */
body.page-template-page-earnings,
body.page-earnings {
  background: var(--bg-page);
  color: var(--text-primary);
  min-height: 100vh;
}

.earnings-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .earnings-page .container {
    padding: 0 2rem;
  }
}

.earnings-section-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #3bd3d3;
  text-align: center;
  margin: 0 0 1rem;
}

.earnings-section-intro {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.earnings-hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(59, 211, 211, 0.08) 0%, transparent 60%);
}
.earnings-hero__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: #3bd3d3;
  margin: 0 0 0.5rem;
}
.earnings-hero__subtitle {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #fcffff;
  margin: 0 0 1.5rem;
}
.earnings-hero__description {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  max-width: 750px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}
.earnings-hero__text {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.65);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.earnings-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.earnings-process-section {
  padding: 3rem 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.earnings-process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.earnings-process-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.earnings-process-step:first-child {
  padding-top: 0;
}
.earnings-process-step:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.earnings-process-step__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: #3bd3d3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #000000;
}
.earnings-process-step__content {
  flex: 1;
}
.earnings-process-step__title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #fcffff;
  margin: 0 0 0.75rem;
}
.earnings-process-step__description {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}
.earnings-process-step__note {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.65);
  font-style: italic;
  margin: 0;
}

.earnings-ways-section {
  padding: 3rem 0;
}

.earnings-ways-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .earnings-ways-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.earnings-way-card {
  background: rgba(21, 31, 31, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.earnings-way-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-color: rgba(59, 211, 211, 0.2);
}
.earnings-way-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(59, 211, 211, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #3bd3d3;
}
.earnings-way-card__icon svg {
  width: 28px;
  height: 28px;
}
.earnings-way-card__title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #fcffff;
  margin: 0 0 0.75rem;
}
.earnings-way-card__intro {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.earnings-way-card__subtitle {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #fcffff;
  margin: 0 0 0.5rem;
}
.earnings-way-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.earnings-way-card__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
}
.earnings-way-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3bd3d3;
  font-weight: bold;
}
.earnings-way-card__benefit {
  padding: 0.75rem 1rem;
  background: rgba(59, 211, 211, 0.1);
  border-left: 3px solid #3bd3d3;
  border-radius: 8px;
}
.earnings-way-card__benefit p {
  font-size: var(--font-size-base);
  color: #3bd3d3;
  margin: 0;
  font-style: italic;
}

.earnings-offerings-section {
  padding: 3rem 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.earnings-offerings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}
@media (min-width: 640px) {
  .earnings-offerings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .earnings-offerings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.earnings-offering-item {
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  text-align: center;
  transition: all 0.2s ease;
}
.earnings-offering-item:hover {
  border-color: rgba(59, 211, 211, 0.2);
  background: rgba(59, 211, 211, 0.05);
}

.earnings-offerings-note {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem;
  background: rgba(59, 211, 211, 0.08);
  border-radius: 8px;
}
.earnings-offerings-note p {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin: 0;
  font-style: italic;
}

.earnings-pricing-section {
  padding: 3rem 0;
}

.earnings-pricing-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.earnings-pricing-content__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #3bd3d3;
  margin: 0 0 1rem;
}
.earnings-pricing-content__intro {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}
.earnings-pricing-content__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .earnings-pricing-content__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.earnings-pricing-content__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  text-align: left;
}
.earnings-pricing-content__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3bd3d3;
  font-weight: bold;
}
.earnings-pricing-content__highlight {
  padding: 1rem 1.25rem;
  background: rgba(59, 211, 211, 0.1);
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: 8px;
}
.earnings-pricing-content__highlight p {
  font-size: var(--font-size-base);
  color: #fcffff;
  margin: 0;
}

.earnings-payments-section {
  padding: 3rem 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.earnings-payments-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.earnings-payments-content__icon {
  width: 64px;
  height: 64px;
  background: rgba(59, 211, 211, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #3bd3d3;
}
.earnings-payments-content__icon svg {
  width: 32px;
  height: 32px;
}
.earnings-payments-content__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #3bd3d3;
  margin: 0 0 1rem;
}
.earnings-payments-content__intro {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.earnings-payments-content__text {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.65);
  margin-bottom: 1rem;
}
.earnings-payments-content__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}
.earnings-payments-content__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  max-width: 500px;
}
.earnings-payments-content__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3bd3d3;
  font-weight: bold;
}
.earnings-payments-content__list li:last-child {
  margin-bottom: 0;
}

.earnings-fees-section {
  padding: 3rem 0;
}

.earnings-fees-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
@media (min-width: 640px) {
  .earnings-fees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.earnings-fee-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(21, 31, 31, 0.5);
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: 16px;
}
.earnings-fee-card__label {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: rgba(252, 255, 255, 0.65);
  margin-bottom: 0.5rem;
}
.earnings-fee-card__value {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #3bd3d3;
  margin-bottom: 0.75rem;
}
.earnings-fee-card__description {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin: 0;
}

.earnings-fees-note {
  max-width: 700px;
  margin: 0 auto 1rem;
  text-align: center;
}
.earnings-fees-note p {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin: 0;
}

.earnings-fees-highlight {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 1.25rem;
  background: rgba(59, 211, 211, 0.1);
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: 8px;
}
.earnings-fees-highlight p {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: #3bd3d3;
  margin: 0;
}

.earnings-why-section {
  padding: 3rem 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.earnings-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .earnings-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.earnings-why-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.earnings-why-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 211, 211, 0.2);
}
@media (min-width: 768px) {
  .earnings-why-card--full {
    grid-column: 1/-1;
    max-width: 500px;
    margin: 0 auto;
  }
}
.earnings-why-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 211, 211, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #3bd3d3;
}
.earnings-why-card__icon svg {
  width: 24px;
  height: 24px;
}
.earnings-why-card__title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #fcffff;
  margin: 0 0 0.75rem;
}
.earnings-why-card__description {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

.earnings-tips-section {
  padding: 3rem 0;
}

.earnings-tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .earnings-tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.earnings-tip-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
}
.earnings-tip-item:hover {
  border-color: rgba(59, 211, 211, 0.2);
}
@media (min-width: 768px) {
  .earnings-tip-item--full {
    grid-column: 1/-1;
  }
}
.earnings-tip-item__number {
  width: 36px;
  height: 36px;
  background: #3bd3d3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #000000;
  flex-shrink: 0;
}
.earnings-tip-item__title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #fcffff;
  margin: 0 0 0.5rem;
}
.earnings-tip-item__text {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0;
}

.earnings-potential-section {
  padding: 3rem 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.earnings-potential-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.earnings-potential-content__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #3bd3d3;
  margin: 0 0 1rem;
}
.earnings-potential-content__intro {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}
.earnings-potential-content__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .earnings-potential-content__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.earnings-potential-content__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  text-align: left;
}
.earnings-potential-content__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3bd3d3;
  font-weight: bold;
}
.earnings-potential-content__highlight {
  padding: 1rem 1.25rem;
  background: rgba(59, 211, 211, 0.1);
  border-left: 3px solid #3bd3d3;
  border-radius: 8px;
  text-align: left;
}
.earnings-potential-content__highlight p {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin: 0;
  font-style: italic;
}

.earnings-cta-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(59, 211, 211, 0.08) 50%, transparent 100%);
}

.earnings-cta-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  background: rgba(0, 0, 0, 0.4);
}
.earnings-cta-wrapper__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #fcffff;
  margin: 0 0 1rem;
}
.earnings-cta-wrapper__intro {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.earnings-cta-wrapper__text {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.65);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.earnings-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md, 8px);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.earnings-page .btn--primary {
  background: #3bd3d3;
  color: var(--brand-white) !important;
}
.earnings-page .btn--primary:hover {
  background: #54ecec;
  box-shadow: 0 4px 12px rgba(59, 211, 211, 0.3);
  transform: translateY(-1px);
}
.earnings-page .btn--outline {
  background: transparent;
  color: #fcffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.earnings-page .btn--outline:hover {
  border-color: var(--primary-400);
  background: rgba(59, 211, 211, 0.1);
  transform: translateY(-1px);
}
.earnings-page .btn--lg {
  padding: 1rem 2rem;
  font-size: var(--font-size-base);
}

@media (max-width: 640px) {
  .earnings-hero {
    padding: 3rem 0 2rem;
  }
  .earnings-hero__actions {
    flex-direction: column;
    align-items: center;
  }
  .earnings-hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }
  .earnings-process-step {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .earnings-process-step__number {
    margin: 0 auto;
  }
  .earnings-way-card {
    padding: 1.25rem;
  }
  .earnings-fee-card__value {
    font-size: var(--font-size-lg);
  }
  .earnings-tip-item {
    flex-direction: column;
    text-align: center;
  }
  .earnings-tip-item__number {
    margin: 0 auto;
  }
  .earnings-cta-wrapper {
    padding: 1.5rem;
  }
}
/**
 * Support Page Styles
 * Help center for creators and clients
 * All classes prefixed with 'support-' to avoid conflicts
 */
body.page-template-page-support,
body.page-support {
  background: var(--bg-page);
  color: var(--text-primary);
  min-height: 100vh;
}

.support-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .support-page .container {
    padding: 0 2rem;
  }
}

.support-section-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #3bd3d3;
  text-align: center;
  margin: 0 0 1rem;
}

.support-section-intro {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.support-hero {
  padding: 4rem 0 0;
  text-align: center;
  background: linear-gradient(180deg, rgba(59, 211, 211, 0.08) 0%, transparent 100%);
}
.support-hero__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #e6be69;
  margin: 0 0 0.5rem;
}
.support-hero__subtitle {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: rgba(252, 255, 255, 0.85);
  margin: 0;
}

.support-welcome {
  padding: 0 0;
}
.support-welcome__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.support-welcome__text {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.support-welcome__text:last-child {
  margin-bottom: 0;
}

.support-contact-section {
  padding: 2rem 0;
}

.support-contact-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(230, 190, 105, 0.3);
  border-radius: 16px;
  padding: 2rem;
  background: rgba(230, 190, 105, 0.05);
}
.support-contact-card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #e6be69;
  margin: 0 0 1rem;
}
.support-contact-card__intro {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}
.support-contact-card__email {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.support-contact-card__label {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: rgba(252, 255, 255, 0.65);
}
.support-contact-card__link {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #e6be69;
  text-decoration: none;
}
.support-contact-card__link:hover {
  text-decoration: underline;
}
.support-contact-card__response {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.65);
  margin-bottom: 1rem;
}
.support-contact-card__urgent {
  padding: 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md, 8px);
}
.support-contact-card__urgent p {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin: 0;
}
.support-contact-card__urgent p strong {
  color: #f87171;
}

.support-help-with {
  padding: 3rem 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.support-help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}
@media (min-width: 640px) {
  .support-help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.support-help-item {
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  transition: all 0.2s ease;
}
.support-help-item:hover {
  border-color: rgba(59, 211, 211, 0.2);
  background: rgba(59, 211, 211, 0.05);
}

.support-help-note {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 1.25rem;
  background: rgba(59, 211, 211, 0.08);
  border-radius: var(--radius-md, 8px);
}
.support-help-note p {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin: 0;
}
.support-help-note p strong {
  color: #3bd3d3;
}

.support-creators {
  padding: 3rem 0;
}
.support-creators__content {
  max-width: 800px;
  margin: 0 auto;
}
.support-creators__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #3bd3d3;
  margin: 0 0 1rem;
  text-align: center;
}
.support-creators__intro {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin-bottom: 1rem;
  text-align: center;
}
.support-creators__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .support-creators__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.support-creators__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
}
.support-creators__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3bd3d3;
  font-weight: bold;
}
.support-creators__highlight {
  padding: 1.25rem;
  background: rgba(59, 211, 211, 0.1);
  border-left: 3px solid #3bd3d3;
  border-radius: var(--radius-md, 8px);
}
.support-creators__highlight p {
  font-size: var(--font-size-base);
  color: #fcffff;
  margin: 0 0 0.75rem;
}
.support-creators__highlight ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.support-creators__highlight ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
}
.support-creators__highlight ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3bd3d3;
}

.support-clients {
  padding: 3rem 0;
  background: rgba(230, 190, 105, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.support-clients__content {
  max-width: 800px;
  margin: 0 auto;
}
.support-clients__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #e6be69;
  margin: 0 0 1rem;
  text-align: center;
}
.support-clients__intro {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin-bottom: 1rem;
  text-align: center;
}
.support-clients__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .support-clients__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.support-clients__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
}
.support-clients__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e6be69;
  font-weight: bold;
}
.support-clients__highlight {
  padding: 1.25rem;
  background: rgba(230, 190, 105, 0.1);
  border-left: 3px solid #e6be69;
  border-radius: var(--radius-md, 8px);
}
.support-clients__highlight p {
  font-size: var(--font-size-base);
  color: #fcffff;
  margin: 0 0 0.75rem;
}
.support-clients__highlight ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.support-clients__highlight ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
}
.support-clients__highlight ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #e6be69;
}

.support-technical {
  padding: 3rem 0;
}
.support-technical__content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.support-technical__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #fcffff;
  margin: 0 0 1rem;
}
.support-technical__intro {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.support-technical__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  display: inline-block;
}
.support-technical__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
}
.support-technical__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3bd3d3;
  font-weight: bold;
}
.support-technical__note {
  padding: 1rem 1.25rem;
  background: rgba(59, 211, 211, 0.08);
  border-radius: var(--radius-md, 8px);
}
.support-technical__note p {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin: 0;
  font-style: italic;
}

.support-payments {
  padding: 3rem 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.support-payments__content {
  max-width: 700px;
  margin: 0 auto;
}
.support-payments__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #3bd3d3;
  margin: 0 0 1rem;
  text-align: center;
}
.support-payments__intro {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.6;
}
.support-payments__text {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin-bottom: 0.75rem;
  text-align: center;
}
.support-payments__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .support-payments__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.support-payments__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  text-align: left;
}
.support-payments__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3bd3d3;
  font-weight: bold;
}
.support-payments__note {
  padding: 1rem 1.25rem;
  background: rgba(59, 211, 211, 0.08);
  border-radius: var(--radius-md, 8px);
  text-align: center;
}
.support-payments__note p {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin: 0;
}

.support-report {
  padding: 3rem 0;
}
.support-report__content {
  max-width: 700px;
  margin: 0 auto;
}
.support-report__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #f87171;
  margin: 0 0 1rem;
  text-align: center;
}
.support-report__intro {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.6;
}
.support-report__subtitle {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #fcffff;
  margin-bottom: 0.75rem;
  text-align: center;
}
.support-report__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .support-report__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.support-report__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
}
.support-report__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f87171;
  font-weight: bold;
}
.support-report__note {
  padding: 1rem 1.25rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-md, 8px);
  text-align: center;
}
.support-report__note p {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin: 0;
}

.support-security {
  padding: 3rem 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.support-security__content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.support-security__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #fcffff;
  margin: 0 0 1rem;
}
.support-security__intro {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.support-security__subtitle {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #fcffff;
  margin-bottom: 0.75rem;
}
.support-security__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  display: inline-block;
}
.support-security__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: var(--font-size-base);
  color: var(--brand-white);
}
.support-security__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3bd3d3;
  font-weight: bold;
}
.support-security__note {
  padding: 1rem 1.25rem;
  background: rgba(59, 211, 211, 0.08);
  border-radius: var(--radius-md, 8px);
}
.support-security__note p {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin: 0;
}

.support-resources {
  padding: 3rem 0;
}

.support-resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}
@media (min-width: 640px) {
  .support-resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .support-resources-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.support-resource-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  text-decoration: none;
  transition: all 0.2s ease;
}
.support-resource-link:hover {
  border-color: rgba(59, 211, 211, 0.3);
  background: rgba(59, 211, 211, 0.05);
}
.support-resource-link__icon {
  width: 40px;
  height: 40px;
  background: rgba(59, 211, 211, 0.1);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #3bd3d3;
}
.support-resource-link__icon svg {
  width: 20px;
  height: 20px;
}
.support-resource-link__text {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: #fcffff;
}

.support-resources-note {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md, 8px);
}
.support-resources-note p {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.65);
  margin: 0;
  font-style: italic;
}

.support-response {
  padding: 3rem 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.support-response__content {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
.support-response__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #3bd3d3;
  margin: 0 0 1rem;
}
.support-response__label {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  margin-bottom: 0.75rem;
}
.support-response__time {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #3bd3d3;
  margin-bottom: 1rem;
}
.support-response__note {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.65);
  margin: 0;
}

.support-mission {
  padding: 4rem 0;
}
.support-mission__content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.support-mission__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #fcffff;
  margin: 0 0 1.5rem;
}
.support-mission__text {
  font-size: var(--font-size-base);
  color: rgba(252, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.support-mission__text:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .support-hero {
    padding: 3rem 0 0;
  }
  .support-contact-card {
    padding: 1.5rem;
  }
  .support-help-grid,
  .support-resources-grid {
    grid-template-columns: 1fr;
  }
  .support-creators__list,
  .support-clients__list,
  .support-payments__list,
  .support-report__list {
    grid-template-columns: 1fr;
  }
  .support-response__time {
    font-size: var(--font-size-lg);
  }
}
/**
 * About Page Styles
 * Following Contact page design patterns
 */
body.page-template-page-about,
body.page-about {
  background: var(--rich-black, #000000);
  color: var(--text-primary, #fcffff);
  min-height: 100vh;
}

.about-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .about-page .container {
    padding: 0 var(--spacing-8, 2rem);
  }
}

.about-hero {
  padding: var(--spacing-16, 4rem) 0 var(--spacing-8, 2rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(59, 211, 211, 0.05) 0%, transparent 100%);
}
.about-hero__title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: var(--font-weight-bold, 700);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-4, 1rem);
}
.about-hero__subtitle {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-4, 1rem);
}
.about-hero__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-intro {
  padding: var(--spacing-8, 2rem) 0;
}
.about-intro__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about-intro__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.7;
  margin-bottom: var(--spacing-4, 1rem);
}
.about-intro__text--lead {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-primary, #fcffff);
}
.about-intro__text:last-of-type {
  margin-bottom: var(--spacing-6, 1.5rem);
}
.about-intro__highlight {
  margin-top: var(--spacing-6, 1.5rem);
  padding: var(--spacing-5, 1.25rem) var(--spacing-6, 1.5rem);
  background: rgba(59, 211, 211, 0.08);
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-md, 8px);
  text-align: left;
}
.about-intro__highlight p {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0 !important;
}

.about-content-section {
  padding: var(--spacing-12, 3rem) 0;
}
.about-content-section--alt {
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.about-content-section__wrapper {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl, 16px);
  padding: var(--spacing-8, 2rem) var(--spacing-6, 1.5rem);
  background: rgba(0, 0, 0, 0.2);
}
@media (min-width: 640px) {
  .about-content-section__wrapper {
    padding: var(--spacing-10, 2.5rem) var(--spacing-8, 2rem);
  }
}
.about-content-section__header {
  margin-bottom: var(--spacing-6, 1.5rem);
  text-align: center;
}
.about-content-section__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.about-content-section__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
  line-height: 1.6;
}
.about-content-section__description--large {
  font-size: var(--font-size-lg);
}
.about-content-section__body {
  margin-bottom: var(--spacing-6, 1.5rem);
}
.about-content-section__text {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0 0 var(--spacing-4, 1rem);
}
.about-content-section__text:last-child {
  margin-bottom: 0;
}
.about-content-section__text--footer {
  margin-top: var(--spacing-4, 1rem);
  padding-top: var(--spacing-4, 1rem);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-highlight-box {
  margin: var(--spacing-6, 1.5rem) 0;
  padding: var(--spacing-4, 1rem) var(--spacing-5, 1.25rem);
  background: rgba(59, 211, 211, 0.08);
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-md, 8px);
  border-left: 3px solid var(--primary-400, #0BF9EA);
}
.about-highlight-box p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--primary-400, #0BF9EA);
  margin: 0 !important;
}
.about-highlight-box--alt {
  background: rgba(230, 190, 105, 0.05);
  border-color: rgba(230, 190, 105, 0.2);
  border-left-color: var(--gold-500, #e6be69);
}
.about-highlight-box--alt p {
  color: var(--gold-500, #e6be69);
}

.about-section-header {
  text-align: center;
  margin-bottom: var(--spacing-10, 2.5rem);
}
.about-section-header__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.about-section-header__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.about-audience {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.about-audience__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .about-audience__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.audience-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 12px);
  padding: var(--spacing-6, 1.5rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.2);
}
.audience-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 211, 211, 0.2);
}
.audience-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 211, 211, 0.1);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-4, 1rem);
  color: var(--primary-400, #0BF9EA);
}
.audience-card__icon svg {
  width: 24px;
  height: 24px;
}
.audience-card__icon--creator {
  background: rgba(230, 190, 105, 0.1);
  color: var(--gold-500, #e6be69);
}
.audience-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.audience-card__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.6;
  margin-bottom: var(--spacing-3, 0.75rem);
}
.audience-card__list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-3, 0.75rem) 0;
  flex-grow: 1;
}
.audience-card__list li {
  position: relative;
  padding-left: var(--spacing-5, 1.25rem);
  margin-bottom: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
}
.audience-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-400, #0BF9EA);
  font-weight: bold;
}
.audience-card__footer {
  margin-top: auto;
  padding-top: var(--spacing-4, 1rem);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--font-size-base);
  font-style: italic;
  color: var(--text-tertiary, rgba(252, 255, 255, 0.65));
}

.about-differentiators {
  padding: var(--spacing-12, 3rem) 0;
}
.about-differentiators__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .about-differentiators__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.differentiator-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 12px);
  padding: var(--spacing-6, 1.5rem);
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: calc(var(--spacing-6, 1.5rem) + 50px);
}
@media (min-width: 640px) {
  .differentiator-card--full {
    grid-column: 1/-1;
    max-width: 600px;
    margin: 0 auto;
  }
}
.differentiator-card__number {
  position: absolute;
  left: var(--spacing-5, 1.25rem);
  top: var(--spacing-6, 1.5rem);
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: var(--font-weight-bold, 700);
  color: var(--primary-400, #0BF9EA);
  font-family: var(--font-family-mono, monospace);
  opacity: 0.6;
}
.differentiator-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-3, 0.75rem);
}
.differentiator-card__description {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.about-vision {
  padding: var(--spacing-12, 3rem) 0;
  background: rgba(59, 211, 211, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.about-vision__wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about-vision__header {
  margin-bottom: var(--spacing-8, 2rem);
}
.about-vision__eyebrow {
  display: block;
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: var(--font-weight-medium, 500);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary-400, #0BF9EA);
  margin-bottom: var(--spacing-3, 0.75rem);
}
.about-vision__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-6, 1.5rem);
  line-height: 1.3;
}
.about-vision__description {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}
.about-vision__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-3, 0.75rem);
}
.about-vision__tag {
  border: 1px solid rgba(59, 211, 211, 0.2);
  border-radius: var(--radius-md, 8px);
  padding: var(--spacing-3, 0.75rem) var(--spacing-5, 1.25rem);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-primary, #fcffff);
}

.about-mission-list {
  margin-top: var(--spacing-8, 2rem);
  display: grid;
  gap: var(--spacing-4, 1rem);
}

.about-mission-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-4, 1rem);
}
.about-mission-item__check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-400, #0BF9EA);
  font-weight: var(--font-weight-bold, 700);
  font-size: var(--font-size-base);
  flex-shrink: 0;
  margin-top: 2px;
}
.about-mission-item__text {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0;
}

.about-quote-section {
  padding: var(--spacing-12, 3rem) 0;
}
.about-quote-section__wrapper {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl, 16px);
  padding: var(--spacing-10, 2.5rem) var(--spacing-8, 2rem);
  background: rgba(0, 0, 0, 0.2);
}
@media (min-width: 640px) {
  .about-quote-section__wrapper {
    padding: var(--spacing-12, 3rem) var(--spacing-10, 2.5rem);
  }
}
.about-quote-section__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--primary-400, #0BF9EA);
  margin: 0 0 var(--spacing-8, 2rem);
}
.about-quote-section__body {
  margin-top: var(--spacing-8, 2rem);
}
.about-quote-section__text {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0 0 var(--spacing-4, 1rem);
}
.about-quote-section__text:last-child {
  margin-bottom: 0;
}

.about-quote {
  margin: var(--spacing-8, 2rem) 0;
  padding: var(--spacing-8, 2rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.about-quote::before {
  content: '"';
  position: absolute;
  top: -0.1em;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--font-size-5xl);
  color: var(--primary-400, #0BF9EA);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}
.about-quote__text {
  font-size: var(--font-size-base);
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary, #fcffff);
  margin: 0;
  position: relative;
  z-index: 1;
}

.about-cta {
  padding: var(--spacing-12, 3rem) 0 var(--spacing-20, 5rem);
  background: linear-gradient(180deg, transparent 0%, rgba(59, 211, 211, 0.05) 100%);
}
.about-cta__wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl, 16px);
  padding: var(--spacing-10, 2.5rem) var(--spacing-8, 2rem);
  background: linear-gradient(180deg, rgba(59, 211, 211, 0.05) 0%, transparent 100%);
}
@media (min-width: 640px) {
  .about-cta__wrapper {
    padding: var(--spacing-12, 3rem) var(--spacing-10, 2.5rem);
  }
}
.about-cta__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-4, 1rem);
}
.about-cta__description {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin: 0 0 var(--spacing-8, 2rem);
}
.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-4, 1rem);
  margin-bottom: var(--spacing-8, 2rem);
}
.about-cta__button {
  min-width: 180px;
}
.about-cta__tagline {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-light, 300);
  color: var(--primary-400, #0BF9EA);
  margin: 0;
  letter-spacing: 0.05em;
}

.about-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3, 0.75rem) var(--spacing-6, 1.5rem);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  text-decoration: none;
  border-radius: var(--radius-md, 8px);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  color: var(--brand-white) !important;
}
.about-page .btn--primary {
  background: var(--primary-400, #0BF9EA) !important;
  color: var(--brand-white) !important;
}
.about-page .btn--primary:hover {
  background: var(--primary-300, #54ecec);
  box-shadow: 0 4px 12px rgba(59, 211, 211, 0.3);
  transform: translateY(-1px);
}
.about-page .btn--outline {
  background: transparent;
  color: var(--text-primary, #fcffff);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.about-page .btn--outline:hover {
  border-color: var(--primary-400, #0BF9EA);
  background: rgba(59, 211, 211, 0.1);
  transform: translateY(-1px);
}
.about-page .btn--lg {
  padding: var(--spacing-4, 1rem) var(--spacing-8, 2rem);
  font-size: var(--font-size-base);
}

@media (max-width: 640px) {
  .about-content-section__wrapper,
  .about-quote-section__wrapper,
  .about-vision__wrapper,
  .about-cta__wrapper {
    padding: var(--spacing-6, 1.5rem);
  }
  .differentiator-card {
    padding-left: var(--spacing-14, 3.5rem);
  }
  .differentiator-card__number {
    left: var(--spacing-4, 1rem);
  }
  .about-cta__actions {
    flex-direction: column;
  }
  .about-cta__actions .about-cta__button {
    width: 100%;
  }
  .about-vision__tags {
    flex-direction: column;
    align-items: center;
  }
}
/**
 * Client Guide Page Styles
 * Card-based design matching the contact page layout
 */
body.page-template-page-client-guide,
body.page-client-guide {
  background: var(--rich-black, #000000);
  color: var(--text-primary, #fcffff);
  min-height: 100vh;
}

.client-guide-hero {
  padding: var(--spacing-16, 4rem) 0 var(--spacing-8, 2rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(230, 190, 105, 0.05) 0%, transparent 100%);
}
.client-guide-hero__title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold, 700);
  color: var(--gold-400, #e6be69);
  margin: 0 0 var(--spacing-4, 1rem);
}
.client-guide-hero__subtitle {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #fcffff);
  margin: 0 0 var(--spacing-4, 1rem);
}
.client-guide-hero__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  max-width: 700px;
  margin: 0 auto;
}

.client-guide-intro {
  padding: var(--spacing-8, 2rem) 0;
}
.client-guide-intro__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.client-guide-intro__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.7;
  margin: 0;
}

.guide-categories {
  padding: var(--spacing-12, 3rem) 0;
}
.guide-categories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .guide-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .guide-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guide-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 12px);
  padding: var(--spacing-6, 1.5rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
}
.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(230, 190, 105, 0.25);
  background: rgba(255, 255, 255, 0.04);
}
.guide-card--featured {
  border-color: rgba(230, 190, 105, 0.2);
  background: rgba(230, 190, 105, 0.05);
}
.guide-card--featured:hover {
  border-color: rgba(230, 190, 105, 0.4);
  background: rgba(230, 190, 105, 0.08);
}
.guide-card--featured .guide-card__title {
  color: var(--gold-400, #e6be69);
}
.guide-card--warning {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.05);
}
.guide-card--warning:hover {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.08);
}
.guide-card--warning .guide-card__title {
  color: var(--danger-color, #ef4444);
}
.guide-card--highlight {
  border-color: rgba(59, 211, 211, 0.2);
  background: rgba(59, 211, 211, 0.05);
}
.guide-card--highlight:hover {
  border-color: rgba(59, 211, 211, 0.4);
  background: rgba(59, 211, 211, 0.08);
}
.guide-card--highlight .guide-card__title {
  color: var(--primary-400, #0BF9EA);
}
.guide-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--gold-400, #e6be69);
  margin: 0 0 var(--spacing-3, 0.75rem);
  line-height: 1.4;
}
.guide-card__description {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.6;
  margin-bottom: var(--spacing-3, 0.75rem);
}
.guide-card__list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-3, 0.75rem) 0 0;
  flex-grow: 1;
}
.guide-card__list li {
  position: relative;
  padding-left: var(--spacing-5, 1.25rem);
  margin-bottom: var(--spacing-2, 0.5rem);
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  line-height: 1.5;
}
.guide-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold-400, #e6be69);
  font-weight: bold;
}
.guide-card__list li strong {
  color: var(--text-primary, #fcffff);
  font-weight: var(--font-weight-semibold, 600);
}
.guide-card__example {
  margin-top: var(--spacing-4, 1rem);
  padding: var(--spacing-3, 0.75rem);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md, 8px);
}
.guide-card__example-bad {
  font-size: var(--font-size-base);
  color: var(--danger-color, #ef4444);
  margin-bottom: var(--spacing-2, 0.5rem);
  font-style: italic;
}
.guide-card__example-good {
  font-size: var(--font-size-base);
  color: var(--success-color, #10b981);
}

.final-note {
  padding: var(--spacing-10, 2.5rem) 0;
  background: rgba(230, 190, 105, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.final-note__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.final-note__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--gold-400, #e6be69);
  margin: 0 0 var(--spacing-4, 1rem);
}
.final-note__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-6, 1.5rem);
  line-height: 1.6;
}
.final-note__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-3, 0.75rem);
}
.final-note__point {
  border: 1px solid var(--gold-400, #e6be69);
  border-radius: var(--radius-md, 8px);
  padding: var(--spacing-2, 0.5rem) var(--spacing-5, 1.25rem);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-primary, #fcffff);
}

.guide-cta {
  padding: var(--spacing-12, 3rem) 0 var(--spacing-16, 4rem);
}
.guide-cta__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.guide-cta__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--gold-400, #e6be69);
  margin: 0 0 var(--spacing-4, 1rem);
}
.guide-cta__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary, rgba(252, 255, 255, 0.85));
  margin-bottom: var(--spacing-6, 1.5rem);
}
.guide-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-4, 1rem);
}
.guide-cta__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3, 0.75rem) var(--spacing-8, 2rem);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold, 600);
  text-decoration: none;
  border-radius: var(--radius-md, 8px);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  min-width: 180px;
  color: var(--brand-white) !important;
}
.guide-cta__actions .btn--primary {
  background: var(--gold-400, #e6be69);
  color: var(--rich-black, #000000) !important;
}
.guide-cta__actions .btn--primary:hover {
  background: var(--gold-300, #f9d654);
  transform: translateY(-1px);
}
.guide-cta__actions .btn--outline {
  background: transparent;
  color: var(--text-primary, #fcffff);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.guide-cta__actions .btn--outline:hover {
  border-color: var(--gold-400, #e6be69);
  background: rgba(230, 190, 105, 0.1);
}
.guide-cta__actions .btn--lg {
  padding: var(--spacing-4, 1rem) var(--spacing-8, 2rem);
}

.client-guide-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-6, 1.5rem);
}
@media (min-width: 768px) {
  .client-guide-page .container {
    padding: 0 var(--spacing-8, 2rem);
  }
}

@media (max-width: 768px) {
  .client-guide-hero {
    padding: var(--spacing-12, 3rem) 0 var(--spacing-6, 1.5rem);
  }
  .client-guide-hero__title {
    font-size: var(--font-size-4xl);
  }
  .guide-categories__grid {
    gap: var(--spacing-4, 1rem);
  }
  .guide-card {
    padding: var(--spacing-4, 1rem);
  }
  .final-note__points {
    flex-direction: column;
    align-items: center;
  }
  .guide-cta__actions {
    flex-direction: column;
    align-items: center;
  }
  .guide-cta__actions .btn {
    width: 100%;
    max-width: 300px;
  }
}
/**
 * Visual Depth System
 * Shadows, elevations, and layering for modern UI
 */
/* ========================================
   SHADOW UTILITIES
   Apply shadows to elements for depth
   ======================================== */
.shadow-none {
  box-shadow: none !important;
}

.shadow-xs {
  box-shadow: var(--shadow-xs) !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
  box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.shadow-xl {
  box-shadow: var(--shadow-xl) !important;
}

.shadow-2xl {
  box-shadow: var(--shadow-2xl) !important;
}

.shadow-primary {
  box-shadow: var(--shadow-primary) !important;
}

.shadow-primary-lg {
  box-shadow: var(--shadow-primary-lg) !important;
}

/* ========================================
   ELEVATION CLASSES
   Complete card/surface elevation
   ======================================== */
.elevation-0 {
  box-shadow: none;
  transform: translateY(0);
  transition: all var(--transition-base);
}

.elevation-1 {
  box-shadow: var(--shadow-sm);
  transform: translateY(0);
  transition: all var(--transition-base);
}
.elevation-1:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.elevation-2 {
  box-shadow: var(--shadow-md);
  transform: translateY(0);
  transition: all var(--transition-base);
}
.elevation-2:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.elevation-3 {
  box-shadow: var(--shadow-lg);
  transform: translateY(0);
  transition: all var(--transition-base);
}
.elevation-3:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.elevation-4 {
  box-shadow: var(--shadow-xl);
  transform: translateY(0);
  transition: all var(--transition-base);
}
.elevation-4:hover {
  box-shadow: var(--shadow-2xl);
  transform: translateY(-8px);
}

/* ========================================
   LAYERING SYSTEM
   Z-index management for stacked elements
   ======================================== */
.layer-base {
  z-index: 0;
}

.layer-dropdown {
  z-index: var(--z-dropdown);
}

.layer-sticky {
  z-index: var(--z-sticky);
}

.layer-fixed {
  z-index: var(--z-fixed);
}

.layer-modal-backdrop {
  z-index: var(--z-modal-backdrop);
}

.layer-modal {
  z-index: var(--z-modal);
}

.layer-popover {
  z-index: var(--z-popover);
}

.layer-tooltip {
  z-index: var(--z-tooltip);
}

/* ========================================
   GLASS MORPHISM
   Modern frosted glass effect
   ======================================== */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-lg);
}

.glass-dark {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  color: var(--text-white);
}

.glass-brand {
  background: rgba(59, 211, 211, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 211, 211, 0.3);
  box-shadow: var(--shadow-primary);
}

/* ========================================
   BACKGROUNDS
   Solid brand backgrounds
   ======================================== */
.gradient-primary {
  background: var(--primary-500);
}

.gradient-primary-soft {
  background: var(--primary-100);
}

.gradient-brand {
  background: var(--primary-500);
}

.gradient-brand-vibrant {
  background: var(--primary-500);
}

.gradient-midnight {
  background: var(--gradient-midnight);
}

.gradient-overlay {
  position: relative;
}
.gradient-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}
.gradient-overlay > * {
  position: relative;
  z-index: 2;
}

.gradient-overlay-brand {
  position: relative;
}
.gradient-overlay-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-alpha-30);
  z-index: 1;
}
.gradient-overlay-brand > * {
  position: relative;
  z-index: 2;
}

/* ========================================
   SURFACE STYLES
   Different surface types with depth
   ======================================== */
.surface-flat {
  background: var(--bg-surface);
  border: 1px solid var(--gradient-midnight);
}

.surface-raised {
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gradient-midnight);
}

.surface-elevated {
  background: transparent !important;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gradient-midnight);
}

.surface-floating {
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
  border: none;
}

/* ========================================
   GLOW EFFECTS
   Brand-colored glows for emphasis
   ======================================== */
.glow-primary {
  box-shadow: 0 0 20px rgba(59, 211, 211, 0.5);
}

.glow-primary-sm {
  box-shadow: 0 0 10px rgba(59, 211, 211, 0.3);
}

.glow-primary-lg {
  box-shadow: 0 0 40px rgba(59, 211, 211, 0.6);
}

.glow-success {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.glow-danger {
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.glow-warning {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

/* ========================================
   HOVER LIFT EFFECT
   Subtle lift on hover for interactive elements
   ======================================== */
.hover-lift {
  transition: all var(--transition-base);
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hover-lift-sm {
  transition: all var(--transition-base);
}
.hover-lift-sm:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hover-lift-lg {
  transition: all var(--transition-base);
}
.hover-lift-lg:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* ========================================
   BORDER GLOW
   Animated border glow effect
   ======================================== */
.border-glow {
  position: relative;
  border: 1px solid var(--primary-alpha-20);
  transition: border-color var(--transition-base);
}
.border-glow::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--primary-500);
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-base);
}
.border-glow:hover {
  border-color: var(--primary-alpha-40);
}
.border-glow:hover::before {
  opacity: 0.2;
}

/* ========================================
   INNER SHADOWS
   Inset shadows for depth
   ======================================== */
.shadow-inner {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.shadow-inner-lg {
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ========================================
   SOFT BORDERS
   Borders with subtle shadows instead of hard lines
   ======================================== */
.border-soft {
  border: none;
  box-shadow: 0 0 0 1px var(--gradient-midnight), var(--shadow-xs);
}

.border-soft-primary {
  border: none;
  box-shadow: 0 0 0 1px var(--primary-alpha-30), var(--shadow-primary);
}

/* ========================================
   STACKED LAYERS EFFECT
   Multiple layers for depth
   ======================================== */
.layers-2 {
  position: relative;
}
.layers-2::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: -4px;
  bottom: -4px;
  background: var(--primary-400);
  border-radius: inherit;
  z-index: -1;
}

.layers-3 {
  position: relative;
}
.layers-3::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: -4px;
  bottom: -4px;
  background: var(--primary-400);
  border-radius: inherit;
  z-index: -1;
}
.layers-3::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: -8px;
  bottom: -8px;
  background: var(--primary-alpha-5);
  border-radius: inherit;
  z-index: -2;
}

/**
 * Brand Accent Utilities
 * Increase cyan presence throughout the design
 */
/* ========================================
   BRAND BACKGROUNDS
   Subtle tints for sections
   ======================================== */
.bg-brand-subtle {
  background-color: var(--primary-25);
}

.bg-brand-light {
  background-color: var(--primary-50);
}

.bg-brand-tint {
  background: var(--primary-25);
}

.bg-brand-gradient {
  background: var(--primary-500);
  color: var(--text-white);
}

.bg-brand-gradient-radial {
  background: var(--primary-100);
}

/* Animated background */
.bg-brand-animated {
  background: var(--primary-50);
}

/* ========================================
   BRAND BORDERS & DIVIDERS
   ======================================== */
.border-brand {
  border-color: var(--primary-500) !important;
}

.border-brand-light {
  border-color: var(--primary-alpha-20) !important;
}

.border-brand-gradient {
  border: 2px solid var(--primary-500);
}

/* Divider with brand accent */
.divider-brand {
  height: 1px;
  background: var(--primary-500);
  margin: var(--spacing-8) 0;
}

.divider-brand-glow {
  height: 2px;
  background: var(--primary-500);
  box-shadow: 0 0 10px var(--primary-alpha-50);
  margin: var(--spacing-8) 0;
}

/* ========================================
   BRAND TEXT STYLES
   ======================================== */
.text-brand-gradient {
  color: var(--primary-500);
}

.text-brand-glow {
  color: var(--primary-500);
  text-shadow: 0 0 20px var(--primary-alpha-50);
}

/* ========================================
   BRAND ACCENTS
   Decorative elements
   ======================================== */
.accent-dot-brand {
  position: relative;
}
.accent-dot-brand::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary-500);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-alpha-50);
}

.accent-line-brand {
  position: relative;
  padding-left: var(--spacing-4);
}
.accent-line-brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-500);
  border-radius: 2px;
}

.accent-corner-brand {
  position: relative;
}
.accent-corner-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-top: 3px solid var(--primary-500);
  border-left: 3px solid var(--primary-500);
  border-radius: 4px 0 0 0;
}
.accent-corner-brand::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border-bottom: 3px solid var(--primary-500);
  border-right: 3px solid var(--primary-500);
  border-radius: 0 0 4px 0;
}

/* ========================================
   BRAND ICONS & BADGES
   ======================================== */
.icon-brand {
  color: var(--primary-500);
}
.icon-brand:hover {
  color: var(--primary-700);
}

.icon-brand-glow {
  color: var(--primary-500);
  filter: drop-shadow(0 2px 8px var(--primary-alpha-40));
}
.icon-brand-glow:hover {
  filter: drop-shadow(0 4px 12px var(--primary-alpha-60));
}

.badge-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1);
  padding: var(--spacing-1) var(--spacing-3);
  background: var(--primary-500);
  color: var(--text-white);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  box-shadow: var(--shadow-primary);
}

.badge-brand-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1);
  padding: var(--spacing-1) var(--spacing-3);
  background: transparent;
  color: var(--primary-600);
  border: 1.5px solid var(--primary-500);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
}

/* ========================================
   BRAND HOVER EFFECTS
   ======================================== */
.hover-brand {
  transition: all var(--transition-base);
}
.hover-brand:hover {
  color: var(--primary-500);
  transform: translateX(4px);
}

.hover-brand-glow {
  transition: all var(--transition-base);
}
.hover-brand-glow:hover {
  color: var(--primary-500);
  text-shadow: 0 0 20px var(--primary-alpha-50);
  filter: drop-shadow(0 4px 12px var(--primary-alpha-40));
}

.hover-brand-lift {
  transition: all var(--transition-base);
}
.hover-brand-lift:hover {
  border-color: var(--primary-500);
  box-shadow: var(--shadow-primary-lg);
  transform: translateY(-4px);
}

/* ========================================
   SECTION DECORATIONS
   ======================================== */
.section-brand-top {
  position: relative;
  padding-top: var(--spacing-16);
}
.section-brand-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-500);
}

.section-brand-glow {
  position: relative;
}
.section-brand-glow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-400) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ========================================
   LINK UNDERLINE EFFECTS
   ======================================== */
.link-brand-underline {
  position: relative;
  text-decoration: none;
}
.link-brand-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-500);
  transition: width var(--transition-base);
}
.link-brand-underline:hover::after {
  width: 100%;
}

.link-brand-underline-active {
  position: relative;
  text-decoration: none;
}
.link-brand-underline-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-500);
}

/* ========================================
   SCROLLBAR BRANDING
   ======================================== */
.scrollbar-brand::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.scrollbar-brand::-webkit-scrollbar-track {
  background: var(--primary-400);
  border-radius: 4px;
}
.scrollbar-brand::-webkit-scrollbar-thumb {
  background: var(--primary-500);
  border-radius: 4px;
}
.scrollbar-brand::-webkit-scrollbar-thumb:hover {
  background: var(--primary-500);
}

/* ========================================
   PULSE ANIMATIONS
   ======================================== */
.pulse-brand {
  animation: pulse-brand 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-brand {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.pulse-brand-ring {
  position: relative;
}
.pulse-brand-ring::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--primary-500);
  border-radius: inherit;
  opacity: 0;
  animation: pulse-ring 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
/* ========================================
   FLOATING ELEMENTS
   ======================================== */
.float-brand {
  animation: float-brand 3s ease-in-out infinite;
}

@keyframes float-brand {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
/* ========================================
   PROGRESS & LOADING
   ======================================== */
.progress-brand {
  height: 4px;
  background: var(--neutral-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.progress-brand .progress-bar {
  height: 100%;
  background: var(--primary-500);
  transition: width var(--transition-base);
  position: relative;
  overflow: hidden;
}
.progress-brand .progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progress-shimmer 1.5s infinite;
}

@keyframes progress-shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
/**
 * Accessibility Utilities
 * WCAG AAA compliant styles
 */
/* ========================================
   SKIP LINKS
   ======================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-600);
  color: var(--text-white);
  padding: var(--spacing-2) var(--spacing-4);
  text-decoration: none;
  border-radius: var(--radius-md);
  z-index: 100000;
  transition: top 0.2s ease;
  font-weight: var(--font-weight-semibold);
  box-shadow: var(--shadow-lg);
}
.skip-link:focus {
  top: 6px;
  outline: 3px solid var(--primary-alpha-40);
  outline-offset: 2px;
}

/* ========================================
   FOCUS STATES
   Strong, visible focus for keyboard navigation
   ======================================== */
*:focus-visible {
  outline: 3px solid var(--primary-500) !important;
  outline-offset: 2px !important;
  border-radius: 2px;
}

/* Enhanced focus for interactive elements */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--primary-500) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 3px var(--primary-alpha-20) !important;
}

/* Remove default outline for mouse users */
body:not(.keyboard-navigation) *:focus {
  outline: none;
}

/* ========================================
   TOUCH TARGETS
   Minimum 44x44px for mobile
   ======================================== */
button,
a,
input[type=submit],
input[type=button],
input[type=reset],
[role=button],
[tabindex="0"] {
  min-height: 44px;
  min-width: 44px;
}
@media (pointer: fine) {
  button,
  a,
  input[type=submit],
  input[type=button],
  input[type=reset],
  [role=button],
  [tabindex="0"] {
    min-height: 40px;
    min-width: 40px;
  }
}

/* Exceptions for text links in paragraphs */
p a,
li a {
  min-height: auto;
  min-width: auto;
}

/* ========================================
   SCREEN READER ONLY CONTENT
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only-focusable:focus,
.sr-only-focusable:active {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ========================================
   HIGH CONTRAST COLORS
   Ensure WCAG AAA compliance
   ======================================== */
/* Text on white backgrounds */
.text-accessible-dark {
  color: #1a1a1a !important; /* 17.7:1 contrast */
}

/* Text on colored backgrounds */
.text-on-primary {
  color: #ffffff !important;
}

/* Links with sufficient contrast */
.link-accessible {
  color: #0056b3;
  text-decoration: underline;
}
.link-accessible:hover, .link-accessible:focus {
  color: #003d82;
}

/* ========================================
   REDUCED MOTION
   Respect user preference
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Keep essential loading indicators */
  .loading,
  .spinner,
  [aria-busy=true] {
    animation-duration: 1s !important;
  }
}
/* ========================================
   FORM ACCESSIBILITY
   ======================================== */
/* Required field indicator */
.required-field::after {
  content: " *";
  color: var(--danger-color);
  font-weight: var(--font-weight-bold);
  speak: literal;
}

/* Error states */
.error-message {
  color: var(--danger-dark);
  font-size: var(--font-size-base);
  margin-top: var(--spacing-1);
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-2);
}
.error-message::before {
  content: "⚠";
  flex-shrink: 0;
}

input[aria-invalid=true],
textarea[aria-invalid=true],
select[aria-invalid=true] {
  border-color: var(--danger-color) !important;
  border-width: 2px !important;
}
input[aria-invalid=true]:focus,
textarea[aria-invalid=true]:focus,
select[aria-invalid=true]:focus {
  outline-color: var(--danger-color) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

/* Success states */
.success-message {
  color: var(--success-dark);
  font-size: var(--font-size-base);
  margin-top: var(--spacing-1);
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-2);
}
.success-message::before {
  content: "✓";
  flex-shrink: 0;
}

/* ========================================
   ARIA LIVE REGIONS
   ======================================== */
[aria-live] {
  position: relative;
}

.status-message {
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: var(--radius-md);
  border-left: 4px solid;
}
.status-message[role=alert] {
  border-left-color: var(--danger-color);
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--danger-dark);
}
.status-message[role=status] {
  border-left-color: var(--info-color);
  background-color: var(--primary-400);
  color: var(--primary-700);
}

/* ========================================
   KEYBOARD NAVIGATION INDICATORS
   ======================================== */
.keyboard-navigation {
  /* Visible focus rings when using keyboard */
}
.keyboard-navigation button:focus,
.keyboard-navigation a:focus,
.keyboard-navigation input:focus,
.keyboard-navigation textarea:focus,
.keyboard-navigation select:focus,
.keyboard-navigation [tabindex="0"]:focus {
  outline: 3px solid var(--primary-500);
  outline-offset: 2px;
}

/* ========================================
   LINK UNDERLINES
   Always visible for accessibility
   ======================================== */
.accessible-links a:not(.btn):not(.button) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.accessible-links a:not(.btn):not(.button):hover, .accessible-links a:not(.btn):not(.button):focus {
  text-decoration-thickness: 2px;
}

/* ========================================
   COLOR CONTRAST UTILITIES
   Force high contrast
   ======================================== */
.high-contrast {
  --text-primary: #000000;
  --text-secondary: #1a1a1a;
  --text-muted: #4d4d4d;
  --border-default: #000000;
}

/* ========================================
   LOADING STATES
   Accessible loading indicators
   ======================================== */
[aria-busy=true] {
  position: relative;
  pointer-events: none;
}
[aria-busy=true]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 3px solid var(--neutral-300);
  border-top-color: var(--primary-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* ========================================
   FOCUS TRAP
   For modals and dialogs
   ======================================== */
[role=dialog][aria-modal=true] {
  position: fixed;
  z-index: var(--z-modal);
  /* Ensure first focusable element receives focus */
}
[role=dialog][aria-modal=true][data-focus-trap] {
  outline: none;
}

/* ========================================
   DISABLED STATES
   Clear visual indication
   ======================================== */
[disabled],
[aria-disabled=true] {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* ========================================
   TOOLTIP ACCESSIBILITY
   ======================================== */
[role=tooltip] {
  position: absolute;
  z-index: var(--z-tooltip);
  padding: var(--spacing-2) var(--spacing-3);
  background: var(--neutral-900);
  color: var(--text-white);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  max-width: 200px;
  /* Arrow */
}
[role=tooltip]::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--neutral-900);
}

/* ========================================
   PRINT ACCESSIBILITY
   ======================================== */
@media print {
  /* Ensure links are visible */
  a[href]::after {
    content: " (" attr(href) ")";
  }
  /* Hide non-essential elements */
  nav,
  header,
  footer,
  .no-print {
    display: none !important;
  }
  /* Ensure good contrast */
  * {
    color: #000000 !important;
    background: #ffffff !important;
  }
}
/* ========================================
   RESPONSIVE TEXT
   Ensure readability at all sizes
   ======================================== */
@media (max-width: 640px) {
  body {
    font-size: 16px !important; /* Never smaller than 16px on mobile */
  }
  /* Touch targets on mobile */
  button,
  a,
  [role=button] {
    min-height: 48px !important;
    min-width: 48px !important;
    padding: var(--spacing-3) var(--spacing-4) !important;
  }
}
/* ========================================
   FOCUS WITHIN
   Highlight parent when child has focus
   ======================================== */
.form-field:focus-within {
  outline: 2px solid var(--primary-alpha-30);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

/* ========================================
   VISUALLY HIDDEN BUT ACCESSIBLE
   ======================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

/**
 * Animations - Keyframes and Transitions
 */
@keyframes spotlight-glow {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
@keyframes avatar-ring-pulse {
  0%, 100% {
    box-shadow: 0 8px 30px rgba(59, 211, 211, 0.5), 0 0 0 8px rgba(59, 211, 211, 0.15);
  }
  50% {
    box-shadow: 0 8px 30px rgba(59, 211, 211, 0.7), 0 0 0 12px rgba(59, 211, 211, 0.25);
  }
}
@keyframes badge-pulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(59, 211, 211, 0.4), 0 0 8px rgba(59, 211, 211, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 4px 12px rgba(59, 211, 211, 0.6), 0 0 15px rgba(59, 211, 211, 0.3);
    transform: scale(1.02);
  }
}
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes scale-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.5s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.5s ease-out;
}

.animate-bounce {
  animation: bounce 1s ease-in-out;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-pulse {
  animation: scale-pulse 2s ease-in-out infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.transition-all {
  transition: all 0.3s ease;
}

.transition-fast {
  transition: all 0.15s ease;
}

.transition-slow {
  transition: all 0.6s ease;
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}
.hover-glow:hover {
  box-shadow: 0 0 20px rgba(59, 211, 211, 0.6), 0 0 40px rgba(59, 211, 211, 0.3);
}

.hover-scale {
  transition: transform 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.05);
}

/* ========================================
   SCROLL-TRIGGERED ANIMATIONS
   Add data-animate attribute to elements
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes revealLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes revealRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
[data-animate] {
  opacity: 0;
}
[data-animate].animated {
  animation-fill-mode: both;
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
[data-animate].animated-fade-up {
  animation-name: fadeInUp;
}
[data-animate].animated-fade-down {
  animation-name: fadeInDown;
}
[data-animate].animated-scale {
  animation-name: scaleIn;
}
[data-animate].animated-reveal-left {
  animation-name: revealLeft;
}
[data-animate].animated-reveal-right {
  animation-name: revealRight;
}

[data-animate-delay="100"].animated {
  animation-delay: 100ms;
}

[data-animate-delay="200"].animated {
  animation-delay: 200ms;
}

[data-animate-delay="300"].animated {
  animation-delay: 300ms;
}

[data-animate-delay="400"].animated {
  animation-delay: 400ms;
}

[data-animate-delay="500"].animated {
  animation-delay: 500ms;
}

/* ========================================
   PARALLAX EFFECTS
   ======================================== */
.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}
.parallax-layer[data-speed=slow] {
  transform: translateY(var(--parallax-offset, 0));
}
.parallax-layer[data-speed=medium] {
  transform: translateY(calc(var(--parallax-offset, 0) * 0.5));
}
.parallax-layer[data-speed=fast] {
  transform: translateY(calc(var(--parallax-offset, 0) * 0.3));
}

/* ========================================
   PAGE TRANSITIONS
   ======================================== */
.page-transition {
  animation: pageEnter 0.4s ease-out;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-exit {
  animation: pageExit 0.3s ease-in forwards;
}

@keyframes pageExit {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}
/* ========================================
   LOADING ANIMATIONS
   ======================================== */
.skeleton {
  background: linear-gradient(90deg, var(--neutral-800) 25%, transparent 50%, var(--neutral-800) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.dots-loader {
  display: inline-flex;
  gap: 6px;
}
.dots-loader span {
  width: 8px;
  height: 8px;
  background: var(--primary-500);
  border-radius: 50%;
  animation: dots-bounce 1.4s infinite ease-in-out both;
}
.dots-loader span:nth-child(1) {
  animation-delay: -0.32s;
}
.dots-loader span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes dots-bounce {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
.progress-loader {
  width: 100%;
  height: 4px;
  background: var(--neutral-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.progress-loader::before {
  content: "";
  display: block;
  height: 100%;
  background: var(--primary-500);
  animation: progress-indeterminate 1.5s infinite;
}

@keyframes progress-indeterminate {
  0% {
    width: 0;
    margin-left: 0;
  }
  50% {
    width: 40%;
    margin-left: 30%;
  }
  100% {
    width: 0;
    margin-left: 100%;
  }
}
/* ========================================
   ADVANCED GLASSMORPHISM
   ======================================== */
.glass-card {
  background: rgba(45, 58, 58, 0.6);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--gradient-midnight);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-base);
}
.glass-card:hover {
  background: rgba(45, 58, 58, 0.7);
  border-color: var(--gradient-midnight);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), var(--glow-subtle);
  transform: translateY(-2px);
}

.glass-card-dark {
  background: rgba(4, 15, 15, 0.8);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--gradient-midnight);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  color: var(--text-white);
}
.glass-card-dark:hover {
  background: rgba(4, 15, 15, 0.9);
  border-color: var(--gradient-midnight);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), var(--glow-subtle);
}

.glass-card-brand {
  background: rgba(59, 211, 211, 0.15);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(59, 211, 211, 0.3);
  box-shadow: 0 8px 32px rgba(59, 211, 211, 0.3);
}
.glass-card-brand:hover {
  background: rgba(59, 211, 211, 0.2);
  border-color: var(--primary-500);
  box-shadow: 0 12px 40px rgba(59, 211, 211, 0.4), var(--glow-medium);
}

/* ========================================
   MORPHING ANIMATIONS
   ======================================== */
.morph {
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 60% 70% 40%/50% 60% 30% 60%;
  }
  50% {
    border-radius: 50% 60% 30% 60%/30% 60% 70% 40%;
  }
  75% {
    border-radius: 60% 40% 60% 30%/70% 30% 60% 40%;
  }
}
/* ========================================
   TEXT REVEAL ANIMATIONS
   ======================================== */
.text-reveal {
  position: relative;
  overflow: hidden;
}
.text-reveal::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-500);
  transform: translateX(-100%);
  animation: text-reveal-wipe 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes text-reveal-wipe {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}
/* ========================================
   ENTRANCE ANIMATIONS
   ======================================== */
.entrance-fade {
  animation: entrance-fade 0.6s ease-out;
}

@keyframes entrance-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.entrance-zoom {
  animation: entrance-zoom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes entrance-zoom {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.entrance-rotate {
  animation: entrance-rotate 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes entrance-rotate {
  from {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}
/* ========================================
   ATTENTION SEEKERS
   ======================================== */
.shake {
  animation: shake 0.5s;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}
.wiggle {
  animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-3deg);
  }
  75% {
    transform: rotate(3deg);
  }
}
.heartbeat {
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.1);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.1);
  }
  56% {
    transform: scale(1);
  }
}
/* ========================================
   REDUCED MOTION PREFERENCES
   Respects user's accessibility preferences
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-fade-in,
  .animate-slide-in-left,
  .animate-slide-in-right,
  .animate-bounce,
  .animate-spin,
  .animate-pulse,
  .animate-float,
  .shake,
  .wiggle,
  .heartbeat,
  .morph,
  [data-animate] {
    animation: none !important;
    opacity: 1 !important;
  }
  .hover-lift,
  .hover-glow,
  .hover-scale {
    transition: opacity 0.1s ease !important;
  }
  .hover-lift:hover,
  .hover-glow:hover,
  .hover-scale:hover {
    transform: none !important;
  }
}
/* ========================================
   MOBILE ANIMATION OPTIMIZATION
   Reduce heavy animations on small screens
   ======================================== */
@media (max-width: 768px) {
  .spotlight-card:hover, .spotlight-card.is-hovered {
    transform: translateY(-3px) !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .dreamers-provider-card:hover {
    transform: translateY(-1px) !important;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }
  .hover-lift:hover {
    transform: translateY(-2px) !important;
  }
  .hover-glow:hover {
    box-shadow: 0 0 15px rgba(59, 211, 211, 0.4) !important;
  }
  .parallax-layer {
    transform: none !important;
    animation: none !important;
  }
  .glass-card,
  .glass-card-dark,
  .glass-card-brand {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
  .morph {
    animation: none !important;
    border-radius: var(--radius-lg) !important;
  }
  .skeleton {
    animation-duration: 2s !important;
  }
  .entrance-fade,
  .entrance-zoom,
  .entrance-rotate {
    animation-duration: 0.3s !important;
  }
  .shake,
  .wiggle,
  .heartbeat {
    animation: none !important;
  }
}
/* ========================================
   PERFORMANCE-FIRST MOBILE ANIMATIONS
   Use GPU acceleration where beneficial
   ======================================== */
@media (max-width: 768px) {
  .spotlight-card,
  .dreamers-provider-card,
  .dreamers-nav-menu,
  .dreamers-mobile-menu {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  .spotlight-card:not(:hover),
  .dreamers-provider-card:not(:hover) {
    will-change: auto;
  }
}
/* ========================================
   LOW-POWER MODE DETECTION (iOS)
   Further reduce animations on low battery
   ======================================== */
@media (prefers-reduced-motion: reduce), (prefers-contrast: more), (max-width: 768px) and (max-resolution: 1dppx) {
  * {
    animation-duration: 0.2s !important;
    transition-duration: 0.15s !important;
  }
  .spotlight-card:hover, .spotlight-card.is-hovered,
  .dreamers-provider-card:hover,
  .dreamers-provider-card.is-hovered {
    transform: none !important;
    box-shadow: none !important;
  }
}
/**
 * Spacing Utilities
 * 8px base grid system for consistent spacing
 */
/* ========================================
   MARGIN UTILITIES
   ======================================== */
/* Margin all sides */
.m-0 {
  margin: 0 !important;
}

.m-1 {
  margin: var(--spacing-1) !important;
}

.m-2 {
  margin: var(--spacing-2) !important;
}

.m-3 {
  margin: var(--spacing-3) !important;
}

.m-4 {
  margin: var(--spacing-4) !important;
}

.m-5 {
  margin: var(--spacing-5) !important;
}

.m-6 {
  margin: var(--spacing-6) !important;
}

.m-8 {
  margin: var(--spacing-8) !important;
}

.m-10 {
  margin: var(--spacing-10) !important;
}

.m-12 {
  margin: var(--spacing-12) !important;
}

.m-16 {
  margin: var(--spacing-16) !important;
}

.m-20 {
  margin: var(--spacing-20) !important;
}

.m-24 {
  margin: var(--spacing-24) !important;
}

.m-auto {
  margin: auto !important;
}

/* Margin top */
.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: var(--spacing-1) !important;
}

.mt-2 {
  margin-top: var(--spacing-2) !important;
}

.mt-3 {
  margin-top: var(--spacing-3) !important;
}

.mt-4 {
  margin-top: var(--spacing-4) !important;
}

.mt-5 {
  margin-top: var(--spacing-5) !important;
}

.mt-6 {
  margin-top: var(--spacing-6) !important;
}

.mt-8 {
  margin-top: var(--spacing-8) !important;
}

.mt-10 {
  margin-top: var(--spacing-10) !important;
}

.mt-12 {
  margin-top: var(--spacing-12) !important;
}

.mt-16 {
  margin-top: var(--spacing-16) !important;
}

.mt-20 {
  margin-top: var(--spacing-20) !important;
}

.mt-24 {
  margin-top: var(--spacing-24) !important;
}

.mt-auto {
  margin-top: auto !important;
}

/* Margin bottom */
.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: var(--spacing-1) !important;
}

.mb-2 {
  margin-bottom: var(--spacing-2) !important;
}

.mb-3 {
  margin-bottom: var(--spacing-3) !important;
}

.mb-4 {
  margin-bottom: var(--spacing-4) !important;
}

.mb-5 {
  margin-bottom: var(--spacing-5) !important;
}

.mb-6 {
  margin-bottom: var(--spacing-6) !important;
}

.mb-8 {
  margin-bottom: var(--spacing-8) !important;
}

.mb-10 {
  margin-bottom: var(--spacing-10) !important;
}

.mb-12 {
  margin-bottom: var(--spacing-12) !important;
}

.mb-16 {
  margin-bottom: var(--spacing-16) !important;
}

.mb-20 {
  margin-bottom: var(--spacing-20) !important;
}

.mb-24 {
  margin-bottom: var(--spacing-24) !important;
}

.mb-auto {
  margin-bottom: auto !important;
}

/* Margin left */
.ml-0 {
  margin-left: 0 !important;
}

.ml-1 {
  margin-left: var(--spacing-1) !important;
}

.ml-2 {
  margin-left: var(--spacing-2) !important;
}

.ml-3 {
  margin-left: var(--spacing-3) !important;
}

.ml-4 {
  margin-left: var(--spacing-4) !important;
}

.ml-5 {
  margin-left: var(--spacing-5) !important;
}

.ml-6 {
  margin-left: var(--spacing-6) !important;
}

.ml-8 {
  margin-left: var(--spacing-8) !important;
}

.ml-auto {
  margin-left: auto !important;
}

/* Margin right */
.mr-0 {
  margin-right: 0 !important;
}

.mr-1 {
  margin-right: var(--spacing-1) !important;
}

.mr-2 {
  margin-right: var(--spacing-2) !important;
}

.mr-3 {
  margin-right: var(--spacing-3) !important;
}

.mr-4 {
  margin-right: var(--spacing-4) !important;
}

.mr-5 {
  margin-right: var(--spacing-5) !important;
}

.mr-6 {
  margin-right: var(--spacing-6) !important;
}

.mr-8 {
  margin-right: var(--spacing-8) !important;
}

.mr-auto {
  margin-right: auto !important;
}

/* Margin horizontal (left + right) */
.mx-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mx-1 {
  margin-left: var(--spacing-1) !important;
  margin-right: var(--spacing-1) !important;
}

.mx-2 {
  margin-left: var(--spacing-2) !important;
  margin-right: var(--spacing-2) !important;
}

.mx-3 {
  margin-left: var(--spacing-3) !important;
  margin-right: var(--spacing-3) !important;
}

.mx-4 {
  margin-left: var(--spacing-4) !important;
  margin-right: var(--spacing-4) !important;
}

.mx-5 {
  margin-left: var(--spacing-5) !important;
  margin-right: var(--spacing-5) !important;
}

.mx-6 {
  margin-left: var(--spacing-6) !important;
  margin-right: var(--spacing-6) !important;
}

.mx-8 {
  margin-left: var(--spacing-8) !important;
  margin-right: var(--spacing-8) !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Margin vertical (top + bottom) */
.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.my-1 {
  margin-top: var(--spacing-1) !important;
  margin-bottom: var(--spacing-1) !important;
}

.my-2 {
  margin-top: var(--spacing-2) !important;
  margin-bottom: var(--spacing-2) !important;
}

.my-3 {
  margin-top: var(--spacing-3) !important;
  margin-bottom: var(--spacing-3) !important;
}

.my-4 {
  margin-top: var(--spacing-4) !important;
  margin-bottom: var(--spacing-4) !important;
}

.my-5 {
  margin-top: var(--spacing-5) !important;
  margin-bottom: var(--spacing-5) !important;
}

.my-6 {
  margin-top: var(--spacing-6) !important;
  margin-bottom: var(--spacing-6) !important;
}

.my-8 {
  margin-top: var(--spacing-8) !important;
  margin-bottom: var(--spacing-8) !important;
}

.my-10 {
  margin-top: var(--spacing-10) !important;
  margin-bottom: var(--spacing-10) !important;
}

.my-12 {
  margin-top: var(--spacing-12) !important;
  margin-bottom: var(--spacing-12) !important;
}

.my-16 {
  margin-top: var(--spacing-16) !important;
  margin-bottom: var(--spacing-16) !important;
}

.my-20 {
  margin-top: var(--spacing-20) !important;
  margin-bottom: var(--spacing-20) !important;
}

.my-24 {
  margin-top: var(--spacing-24) !important;
  margin-bottom: var(--spacing-24) !important;
}

.my-auto {
  margin-top: auto !important;
  margin-bottom: auto !important;
}

/* ========================================
   PADDING UTILITIES
   ======================================== */
/* Padding all sides */
.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: var(--spacing-1) !important;
}

.p-2 {
  padding: var(--spacing-2) !important;
}

.p-3 {
  padding: var(--spacing-3) !important;
}

.p-4 {
  padding: var(--spacing-4) !important;
}

.p-5 {
  padding: var(--spacing-5) !important;
}

.p-6 {
  padding: var(--spacing-6) !important;
}

.p-8 {
  padding: var(--spacing-8) !important;
}

.p-10 {
  padding: var(--spacing-10) !important;
}

.p-12 {
  padding: var(--spacing-12) !important;
}

.p-16 {
  padding: var(--spacing-16) !important;
}

.p-20 {
  padding: var(--spacing-20) !important;
}

.p-24 {
  padding: var(--spacing-24) !important;
}

/* Padding top */
.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: var(--spacing-1) !important;
}

.pt-2 {
  padding-top: var(--spacing-2) !important;
}

.pt-3 {
  padding-top: var(--spacing-3) !important;
}

.pt-4 {
  padding-top: var(--spacing-4) !important;
}

.pt-5 {
  padding-top: var(--spacing-5) !important;
}

.pt-6 {
  padding-top: var(--spacing-6) !important;
}

.pt-8 {
  padding-top: var(--spacing-8) !important;
}

.pt-10 {
  padding-top: var(--spacing-10) !important;
}

.pt-12 {
  padding-top: var(--spacing-12) !important;
}

.pt-16 {
  padding-top: var(--spacing-16) !important;
}

.pt-20 {
  padding-top: var(--spacing-20) !important;
}

.pt-24 {
  padding-top: var(--spacing-24) !important;
}

/* Padding bottom */
.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: var(--spacing-1) !important;
}

.pb-2 {
  padding-bottom: var(--spacing-2) !important;
}

.pb-3 {
  padding-bottom: var(--spacing-3) !important;
}

.pb-4 {
  padding-bottom: var(--spacing-4) !important;
}

.pb-5 {
  padding-bottom: var(--spacing-5) !important;
}

.pb-6 {
  padding-bottom: var(--spacing-6) !important;
}

.pb-8 {
  padding-bottom: var(--spacing-8) !important;
}

.pb-10 {
  padding-bottom: var(--spacing-10) !important;
}

.pb-12 {
  padding-bottom: var(--spacing-12) !important;
}

.pb-16 {
  padding-bottom: var(--spacing-16) !important;
}

.pb-20 {
  padding-bottom: var(--spacing-20) !important;
}

.pb-24 {
  padding-bottom: var(--spacing-24) !important;
}

/* Padding left */
.pl-0 {
  padding-left: 0 !important;
}

.pl-1 {
  padding-left: var(--spacing-1) !important;
}

.pl-2 {
  padding-left: var(--spacing-2) !important;
}

.pl-3 {
  padding-left: var(--spacing-3) !important;
}

.pl-4 {
  padding-left: var(--spacing-4) !important;
}

.pl-5 {
  padding-left: var(--spacing-5) !important;
}

.pl-6 {
  padding-left: var(--spacing-6) !important;
}

.pl-8 {
  padding-left: var(--spacing-8) !important;
}

/* Padding right */
.pr-0 {
  padding-right: 0 !important;
}

.pr-1 {
  padding-right: var(--spacing-1) !important;
}

.pr-2 {
  padding-right: var(--spacing-2) !important;
}

.pr-3 {
  padding-right: var(--spacing-3) !important;
}

.pr-4 {
  padding-right: var(--spacing-4) !important;
}

.pr-5 {
  padding-right: var(--spacing-5) !important;
}

.pr-6 {
  padding-right: var(--spacing-6) !important;
}

.pr-8 {
  padding-right: var(--spacing-8) !important;
}

/* Padding horizontal (left + right) */
.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.px-1 {
  padding-left: var(--spacing-1) !important;
  padding-right: var(--spacing-1) !important;
}

.px-2 {
  padding-left: var(--spacing-2) !important;
  padding-right: var(--spacing-2) !important;
}

.px-3 {
  padding-left: var(--spacing-3) !important;
  padding-right: var(--spacing-3) !important;
}

.px-4 {
  padding-left: var(--spacing-4) !important;
  padding-right: var(--spacing-4) !important;
}

.px-5 {
  padding-left: var(--spacing-5) !important;
  padding-right: var(--spacing-5) !important;
}

.px-6 {
  padding-left: var(--spacing-6) !important;
  padding-right: var(--spacing-6) !important;
}

.px-8 {
  padding-left: var(--spacing-8) !important;
  padding-right: var(--spacing-8) !important;
}

/* Padding vertical (top + bottom) */
.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.py-1 {
  padding-top: var(--spacing-1) !important;
  padding-bottom: var(--spacing-1) !important;
}

.py-2 {
  padding-top: var(--spacing-2) !important;
  padding-bottom: var(--spacing-2) !important;
}

.py-3 {
  padding-top: var(--spacing-3) !important;
  padding-bottom: var(--spacing-3) !important;
}

.py-4 {
  padding-top: var(--spacing-4) !important;
  padding-bottom: var(--spacing-4) !important;
}

.py-5 {
  padding-top: var(--spacing-5) !important;
  padding-bottom: var(--spacing-5) !important;
}

.py-6 {
  padding-top: var(--spacing-6) !important;
  padding-bottom: var(--spacing-6) !important;
}

.py-8 {
  padding-top: var(--spacing-8) !important;
  padding-bottom: var(--spacing-8) !important;
}

.py-10 {
  padding-top: var(--spacing-10) !important;
  padding-bottom: var(--spacing-10) !important;
}

.py-12 {
  padding-top: var(--spacing-12) !important;
  padding-bottom: var(--spacing-12) !important;
}

.py-16 {
  padding-top: var(--spacing-16) !important;
  padding-bottom: var(--spacing-16) !important;
}

.py-20 {
  padding-top: var(--spacing-20) !important;
  padding-bottom: var(--spacing-20) !important;
}

.py-24 {
  padding-top: var(--spacing-24) !important;
  padding-bottom: var(--spacing-24) !important;
}

/* ========================================
   GAP UTILITIES (for flex/grid)
   ======================================== */
.gap-0 {
  gap: 0 !important;
}

.gap-1 {
  gap: var(--spacing-1) !important;
}

.gap-2 {
  gap: var(--spacing-2) !important;
}

.gap-3 {
  gap: var(--spacing-3) !important;
}

.gap-4 {
  gap: var(--spacing-4) !important;
}

.gap-5 {
  gap: var(--spacing-5) !important;
}

.gap-6 {
  gap: var(--spacing-6) !important;
}

.gap-8 {
  gap: var(--spacing-8) !important;
}

.gap-10 {
  gap: var(--spacing-10) !important;
}

.gap-12 {
  gap: var(--spacing-12) !important;
}

/* Row and column gaps */
.gap-x-2 {
  column-gap: var(--spacing-2) !important;
}

.gap-x-3 {
  column-gap: var(--spacing-3) !important;
}

.gap-x-4 {
  column-gap: var(--spacing-4) !important;
}

.gap-x-6 {
  column-gap: var(--spacing-6) !important;
}

.gap-x-8 {
  column-gap: var(--spacing-8) !important;
}

.gap-y-2 {
  row-gap: var(--spacing-2) !important;
}

.gap-y-3 {
  row-gap: var(--spacing-3) !important;
}

.gap-y-4 {
  row-gap: var(--spacing-4) !important;
}

.gap-y-6 {
  row-gap: var(--spacing-6) !important;
}

.gap-y-8 {
  row-gap: var(--spacing-8) !important;
}

/* ========================================
   SECTION SPACING
   Generous spacing for sections
   ======================================== */
.section-sm {
  padding-top: var(--spacing-16);
  padding-bottom: var(--spacing-16);
}

.section {
  padding-top: var(--spacing-20);
  padding-bottom: var(--spacing-20);
}
@media (min-width: 768px) {
  .section {
    padding-top: var(--spacing-24);
    padding-bottom: var(--spacing-24);
  }
}

.section-lg {
  padding-top: var(--spacing-24);
  padding-bottom: var(--spacing-24);
}
@media (min-width: 768px) {
  .section-lg {
    padding-top: var(--spacing-32);
    padding-bottom: var(--spacing-32);
  }
}

/* ========================================
   FIRST SECTION AFTER HEADER - NO TOP PADDING
   ======================================== */
/* Remove top padding from first section after header */
#content > .section:first-of-type,
.site-content > .section:first-of-type {
  padding-top: 0;
}

#content > .section-sm:first-of-type,
.site-content > .section-sm:first-of-type {
  padding-top: 0;
}

#content > .section-lg:first-of-type,
.site-content > .section-lg:first-of-type {
  padding-top: 0;
}

/* Handle generic section elements */
#content > section:first-of-type,
.site-content > section:first-of-type {
  margin-top: 0;
  padding-top: 0;
}

/* ========================================
   CONTAINER UTILITIES
   ======================================== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-4);
  padding-right: var(--spacing-4);
}
@media (min-width: 640px) {
  .container {
    max-width: 640px;
    padding-left: var(--spacing-6);
    padding-right: var(--spacing-6);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
    padding-left: var(--spacing-8);
    padding-right: var(--spacing-8);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {
  .container {
    max-width: 1440px;
  }
}

.container-fluid {
  width: 100%;
  padding-left: var(--spacing-4);
  padding-right: var(--spacing-4);
}
@media (min-width: 768px) {
  .container-fluid {
    padding-left: var(--spacing-6);
    padding-right: var(--spacing-6);
  }
}
@media (min-width: 1024px) {
  .container-fluid {
    padding-left: var(--spacing-8);
    padding-right: var(--spacing-8);
  }
}

.container-narrow {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-4);
  padding-right: var(--spacing-4);
}
@media (min-width: 768px) {
  .container-narrow {
    padding-left: var(--spacing-6);
    padding-right: var(--spacing-6);
  }
}

/* ========================================
   SPACE BETWEEN ELEMENTS
   ======================================== */
.space-y-2 > * + * {
  margin-top: var(--spacing-2) !important;
}

.space-y-3 > * + * {
  margin-top: var(--spacing-3) !important;
}

.space-y-4 > * + * {
  margin-top: var(--spacing-4) !important;
}

.space-y-6 > * + * {
  margin-top: var(--spacing-6) !important;
}

.space-y-8 > * + * {
  margin-top: var(--spacing-8) !important;
}

.space-y-12 > * + * {
  margin-top: var(--spacing-12) !important;
}

.space-x-2 > * + * {
  margin-left: var(--spacing-2) !important;
}

.space-x-3 > * + * {
  margin-left: var(--spacing-3) !important;
}

.space-x-4 > * + * {
  margin-left: var(--spacing-4) !important;
}

.space-x-6 > * + * {
  margin-left: var(--spacing-6) !important;
}

.space-x-8 > * + * {
  margin-left: var(--spacing-8) !important;
}

/**
 * Responsive Utilities
 * Touch targets, accessibility, and mobile-first utilities
 */
/* ========================================
   TOUCH TARGET OPTIMIZATION
   Minimum 44x44px for WCAG 2.1 AA compliance
   ======================================== */
@media (max-width: 768px) {
  button,
  a.dreamers-become-btn,
  .dreamers-view-profile-btn,
  .dreamers-mobile-toggle,
  .dreamers-search-toggle,
  .dreamers-profile-btn {
    min-height: 44px;
    min-width: 44px;
  }
  .dreamers-profile-section {
    min-width: 44px;
    min-height: 44px;
  }
  .dreamers-sidebar-nav a {
    display: flex;
    align-items: center;
  }
  .mobile-menu-nav a {
    min-height: 48px;
    padding: 0.875rem 1rem;
  }
  input[type=text],
  input[type=email],
  input[type=password],
  input[type=search],
  input[type=tel],
  input[type=url],
  input[type=number],
  textarea,
  select {
    min-height: 44px;
    padding: 0.75rem 1rem;
  }
  .footer-social a {
    min-width: 44px;
    min-height: 44px;
  }
}
/* ========================================
   RESPONSIVE VISIBILITY UTILITIES
   ======================================== */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hide-tablet {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .hide-desktop {
    display: none !important;
  }
}

.show-mobile-only {
  display: none !important;
}
@media (max-width: 767px) {
  .show-mobile-only {
    display: block !important;
  }
}

.show-tablet-only {
  display: none !important;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .show-tablet-only {
    display: block !important;
  }
}

.show-desktop-only {
  display: none !important;
}
@media (min-width: 1024px) {
  .show-desktop-only {
    display: block !important;
  }
}

/* ========================================
   RESPONSIVE SPACING UTILITIES
   ======================================== */
.mt-fluid {
  margin-top: clamp(1rem, 3vw, 2rem) !important;
}

.mb-fluid {
  margin-bottom: clamp(1rem, 3vw, 2rem) !important;
}

.my-fluid {
  margin-top: clamp(1rem, 3vw, 2rem) !important;
  margin-bottom: clamp(1rem, 3vw, 2rem) !important;
}

.pt-fluid {
  padding-top: clamp(1rem, 3vw, 2rem) !important;
}

.pb-fluid {
  padding-bottom: clamp(1rem, 3vw, 2rem) !important;
}

.py-fluid {
  padding-top: clamp(1rem, 3vw, 2rem) !important;
  padding-bottom: clamp(1rem, 3vw, 2rem) !important;
}

/* ========================================
   RESPONSIVE CONTAINER UTILITIES
   ======================================== */
.container-fluid {
  width: 100%;
  max-width: 100%;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
  margin: 0 auto;
  box-sizing: border-box;
}

.container-constrained {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}

.container-narrow {
  max-width: 768px;
  margin: 0 auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}

/* ========================================
   RESPONSIVE GRID UTILITIES
   ======================================== */
.grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}
@media (max-width: 640px) {
  .grid-2-col {
    grid-template-columns: 1fr;
  }
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 768px) {
  .grid-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .grid-3-col {
    grid-template-columns: 1fr;
  }
}

.grid-4-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 1024px) {
  .grid-4-col {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-4-col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .grid-4-col {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   RESPONSIVE TEXT UTILITIES
   ======================================== */
@media (max-width: 767px) {
  .text-center-mobile {
    text-align: center !important;
  }
}

@media (min-width: 768px) {
  .text-left-desktop {
    text-align: left !important;
  }
}

@media (max-width: 767px) {
  .text-mobile-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ========================================
   RESPONSIVE IMAGE UTILITIES
   ======================================== */
.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

.aspect-ratio-16-9 {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.aspect-ratio-16-9 img, .aspect-ratio-16-9 video, .aspect-ratio-16-9 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aspect-ratio-4-3 {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}
.aspect-ratio-4-3 img, .aspect-ratio-4-3 video, .aspect-ratio-4-3 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aspect-ratio-1-1 {
  position: relative;
  padding-bottom: 100%;
  height: 0;
  overflow: hidden;
}
.aspect-ratio-1-1 img, .aspect-ratio-1-1 video, .aspect-ratio-1-1 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   STACK/INLINE LAYOUT UTILITIES
   ======================================== */
.stack-mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .stack-mobile {
    flex-direction: row;
    align-items: center;
  }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 2vw, 1rem);
}

.inline-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 2vw, 1rem);
  align-items: center;
}

/* ========================================
   OVERFLOW PREVENTION
   ======================================== */
.no-overflow-x {
  overflow-x: hidden;
  max-width: 100vw;
}

.no-overflow {
  overflow: hidden;
  max-width: 100vw;
  max-height: 100vh;
}

.scroll-touch {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/**
 * Browser-Specific Fixes
 * Targeted fixes for Safari, Firefox, and other browsers
 */
/* ========================================
   SAFARI FIXES
   ======================================== */
/* Safari backdrop-filter fallback */
@supports (-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px)) {
  .dreamers-custom-header {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}
/* Safari flexbox gap fallback for older versions */
@supports not (gap: 1rem) {
  .dreamers-header-container > * + * {
    margin-left: var(--spacing-2, 0.5rem);
  }
  .dreamers-nav-menu > * + * {
    margin-left: var(--spacing-4, 1rem);
  }
  .dreamers-header-actions > * + * {
    margin-left: var(--spacing-3, 0.75rem);
  }
}
/* Safari smooth scrolling */
@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) {
    html {
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
    }
  }
}
/* Safari button fixes */
@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) {
    button,
    .dreamers-mobile-toggle,
    .dreamers-search-toggle {
      -webkit-appearance: none;
      -webkit-tap-highlight-color: transparent;
    }
  }
}
/* ========================================
   FIREFOX FIXES
   ======================================== */
/* Firefox flexbox bugs */
@-moz-document url-prefix() {
  /* Fix flex shrinking issues */
  .dreamers-logo-section,
  .dreamers-search-section,
  .dreamers-header-actions {
    flex-shrink: 0;
    min-width: 0;
  }
  /* Fix flex basis calculation */
  .dreamers-search-section {
    flex-basis: auto;
  }
  /* Fix line-height rendering */
  body {
    line-height: 1.5;
  }
  /* Firefox button padding fix */
  button::-moz-focus-inner {
    border: 0;
    padding: 0;
  }
  /* Fix select dropdown arrow */
  select {
    text-indent: 0.01px;
    text-overflow: "";
  }
  /* Firefox privacy page fixes - override global height constraints */
  body.privacy-page {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: visible !important;
  }
  .privacy-page #wrapper,
  .privacy-page .site,
  .privacy-page #page,
  .privacy-page .site-content,
  .privacy-page #content {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  .privacy-container {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  .privacy-section {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
}
/* Firefox gap property support check */
@supports not (gap: 1rem) {
  /* Use margin fallback for older Firefox */
  .dreamers-header-container > * + * {
    margin-left: var(--spacing-2, 0.5rem);
  }
  .dreamers-nav-menu > * + * {
    margin-left: var(--spacing-4, 1rem);
  }
}
/* ========================================
   EDGE/IE FIXES (Legacy)
   ======================================== */
/* Edge flexbox fixes */
@supports (-ms-ime-align: auto) {
  .dreamers-header-container {
    display: -ms-flexbox;
    display: flex;
  }
  .dreamers-logo-section {
    -ms-flex: 0 0 auto;
  }
  .dreamers-search-section {
    -ms-flex: 1 1 auto;
  }
  .dreamers-header-actions {
    -ms-flex: 0 0 auto;
  }
}
/* ========================================
   GENERAL CROSS-BROWSER FIXES
   ======================================== */
/* Prevent font boosting in mobile browsers */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Font smoothing for better cross-browser consistency */
body,
button,
input,
textarea,
select {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Ensure SVGs render consistently */
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Fix transform origin in all browsers */
* {
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
}

/* Consistent box-shadow across browsers */
.dreamers-custom-header,
.dreamers-profile-dropdown,
.dreamers-mobile-menu {
  -webkit-box-shadow: var(--shadow-md, 0 4px 8px rgba(0, 0, 0, 0.12));
  -moz-box-shadow: var(--shadow-md, 0 4px 8px rgba(0, 0, 0, 0.12));
  box-shadow: var(--shadow-md, 0 4px 8px rgba(0, 0, 0, 0.12));
}

/* Prevent text selection on interactive elements */
button,
.dreamers-mobile-toggle,
.dreamers-search-toggle,
.dreamers-profile-btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Touch action for better mobile support */
button,
a,
.dreamers-mobile-toggle {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

/* Consistent border-radius rendering */
.dreamers-search-input,
.dreamers-signin-btn,
.dreamers-cta-btn {
  -webkit-border-radius: var(--radius-lg, 0.75rem);
  -moz-border-radius: var(--radius-lg, 0.75rem);
  border-radius: var(--radius-lg, 0.75rem);
}

.dreamers-profile-btn {
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  border-radius: 50% !important;
}

/* Fix input appearance in all browsers */
input,
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Strip native OS button chrome from file inputs (gradient/border makes yellow look darker) */
input[type=file]::file-selector-button,
input[type=file]::-webkit-file-upload-button {
  -webkit-appearance: none;
  appearance: none;
}

/* Ensure consistent focus outlines */
:focus-visible {
  outline: 2px solid var(--primary-color, #3bd3d3);
  outline-offset: 2px;
}

/* Hide focus outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* ========================================
   MOBILE BROWSER FIXES
   ======================================== */
/* iOS Safari fixes */
@supports (-webkit-touch-callout: none) {
  /* Fix 100vh issue in iOS Safari */
  body {
    min-height: -webkit-fill-available;
  }
  /* Prevent zoom on input focus */
  input,
  select,
  textarea {
    font-size: 16px;
  }
}
/* Android Chrome fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
  /* Fix viewport height on Android */
  .dreamers-mobile-menu {
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }
}
/* ========================================
   PRINT FIXES
   ======================================== */
@media print {
  /* Ensure proper rendering when printing */
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  /* Hide interactive elements */
  .dreamers-mobile-toggle,
  .dreamers-search-toggle,
  .dreamers-mobile-menu {
    display: none !important;
  }
}
/* ========================================
   HIGH CONTRAST MODE SUPPORT
   ======================================== */
@media (prefers-contrast: high) {
  /* Improve contrast for accessibility */
  button,
  a,
  input {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }
}
/* ========================================
   CHAT INPUT - NO FOCUS RING
   Override accessibility focus styles so chat input has no visible focus border
   ======================================== */
.chat-input-wrapper textarea:focus,
.chat-input-wrapper textarea:focus-visible,
.chat-input-wrapper #message-input:focus,
.chat-input-wrapper #message-input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  border-color: transparent !important;
}

.chat-input-wrapper:focus-within {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

/* ========================================
   FORM CONTROLS - SUPPRESS DOUBLE FOCUS RING
   These already have a custom teal border + box-shadow on focus,
   so the global focus-visible outline creates a redundant second ring.
   ======================================== */
input.form-control:focus-visible,
textarea.form-control:focus-visible,
select.form-control:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible {
  outline: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .dreamers-toast,
  .message,
  .timeline-event,
  .typing-dot,
  .scroll-to-bottom-btn,
  .project-room__tab,
  .deliverable-card,
  .file-card {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
