/* ========================================
   Verbouwen XL - Lead Management Platform
   Modern Light Design with Blue Accents
   ======================================== */

/* Import Inter Font - Modern UI Sans-Serif */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   GLOBAL SETTINGS & SMOOTH SCROLL
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Header height */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   FADE-IN ANIMATIONS ON SCROLL
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply animations to sections */
section {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

section:nth-child(1) { animation-delay: 0s; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }

/* ========================================
   CSS VARIABLES - LIGHT MODE WITH BLUE
   ======================================== */
:root {
  /* Primary Colors - Blue Accent */
  --brand-primary: #3B82F6; /* Modern Blue */
  --brand-primary-hover: #2563EB;
  --brand-primary-dark: #1D4ED8;
  --brand-primary-light: rgba(59, 130, 246, 0.08);
  --brand-primary-lighter: rgba(59, 130, 246, 0.04);
  --brand-gradient: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  --brand-gradient-hover: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
  
  /* Light Mode Backgrounds */
  --bg-main: linear-gradient(135deg, #F0F4FF 0%, #F8F9FB 50%, #FFF5F5 100%); /* Subtle gradient background */
  --bg-card: rgba(255, 255, 255, 0.7); /* Semi-transparent white cards */
  --bg-card-hover: rgba(250, 251, 252, 0.85); /* Card Hover */
  --bg-surface: rgba(250, 251, 252, 0.6); /* Glassy Surface */
  --bg-overlay: rgba(0, 0, 0, 0.6);
  --bg-hover: rgba(249, 250, 251, 0.8);
  --bg-active: rgba(243, 244, 246, 0.9);
  --bg-elevated: rgba(255, 255, 255, 0.9);
  
  /* Text - Dark on Light */
  --text-primary: #1F2937; /* Dark Gray */
  --text-secondary: #6B7280; /* Medium Gray */
  --text-tertiary: #9CA3AF; /* Light Gray */
  --text-on-primary: #FFFFFF; /* White on Blue */
  --text-dark: #1F2937;
  
  /* Semantic Colors */
  --color-success: #22C55E; /* Green */
  --color-success-light: rgba(34, 197, 94, 0.1);
  --color-error: #EF4444; /* Red */
  --color-error-light: rgba(239, 68, 68, 0.1);
  --color-warning: #F59E0B;
  --color-warning-light: rgba(245, 158, 11, 0.1);
  --color-info: #0040FF;
  --color-info-light: rgba(0, 64, 255, 0.1);
  
  /* Status Colors - Light Mode */
  --status-new: #0040FF;
  --status-contact: #F59E0B;
  --status-active: #8B5CF6;
  --status-won: #22C55E;
  --status-lost: #EF4444;
  
  /* Borders - Light */
  --border-color: #E5E7EB;
  --border-color-dark: #D1D5DB;
  --border-light: #F0F1F3;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  
  /* Border Radius - Modern */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows - Light Mode with Depth */
  --shadow-xs: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 16px -2px rgba(0, 0, 0, 0.15), 0 4px 8px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-blue: 0 4px 14px rgba(59, 130, 246, 0.25);
  --shadow-blue-sm: 0 2px 8px rgba(59, 130, 246, 0.15);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  /* Typography - Inter */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 36px;
  --font-size-4xl: 48px;
  
  /* Transitions - Smooth & Natural */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Z-index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-toast: 600;
  --z-tooltip: 700;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-main);
  overflow-x: hidden;
  animation: fadeIn 0.3s ease-in-out;
  letter-spacing: -0.011em;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-main);
  z-index: -1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* ========================================
   TYPOGRAPHY - LIGHT MODE
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-primary-hover);
}

/* ========================================
   LAYOUT STRUCTURE - DARK MODE
   ======================================== */
.app-container {
  display: flex;
  min-height: 100vh;
  background: var(--bg-main);
}

.main-content {
  flex: 1;
  margin-left: 280px;
  padding: var(--space-xl);
  background: transparent;
  min-height: 100vh;
  transition: margin-left var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 1024px) {
  .main-content {
    margin-left: 0;
    padding: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: var(--space-md);
  }
}

/* ========================================
   SIDEBAR NAVIGATION
   ======================================== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: var(--bg-card);
  padding: var(--space-xl);
  overflow-y: auto;
  z-index: var(--z-fixed);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-color);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-color);
}

.sidebar-logo-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-on-primary);
  box-shadow: var(--shadow-blue-sm);
}

.sidebar-logo-text h2 {
  color: var(--text-primary);
  font-size: var(--font-size-lg);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sidebar-logo-text p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  margin: 0;
  font-weight: 400;
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav-item {
  margin-bottom: var(--space-xs);
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 12px 16px;
  color: var(--text-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  font-weight: 500;
  font-size: var(--font-size-sm);
  text-decoration: none;
  overflow: hidden;
}

.sidebar-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--brand-gradient);
  border-radius: 0 2px 2px 0;
  transition: height var(--transition-base);
}

.sidebar-nav-link:hover {
  background: linear-gradient(90deg, rgba(0, 64, 255, 0.06) 0%, transparent 100%);
  color: var(--text-primary);
  transform: translateX(4px);
}

.sidebar-nav-link:hover::before {
  height: 24px;
}

.sidebar-nav-link.active {
  background: var(--brand-gradient);
  color: var(--text-on-primary);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 64, 255, 0.25), 0 2px 4px rgba(0, 64, 255, 0.15);
  transform: translateX(4px);
}

.sidebar-nav-link.active::before {
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav-icon {
  font-size: var(--font-size-xl);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--color-error);
  color: white;
  font-size: var(--font-size-xs);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.sidebar-credits {
  margin-top: 0;
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(0, 64, 255, 0.03) 0%, rgba(0, 82, 255, 0.06) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 64, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.sidebar-credits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
}

.sidebar-credits-label {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-xs);
}

.sidebar-credits-value {
  color: var(--text-primary);
  font-size: var(--font-size-2xl);
  font-weight: bold;
  margin-bottom: var(--space-md);
}

/* Mobile Sidebar */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.open {
    transform: translateX(0);
  }
  
  .mobile-menu-btn {
    display: block;
    position: fixed;
    top: var(--space-lg);
    left: var(--space-lg);
    z-index: var(--z-fixed);
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
  }
  
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: calc(var(--z-fixed) - 1);
  }
  
  .sidebar-overlay.show {
    display: block;
  }
}

@media (min-width: 1025px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 11px 22px;
  min-height: 44px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: inherit;
  white-space: nowrap;
  outline: none;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn:focus-visible {
  outline: 3px solid var(--brand-primary-light);
  outline-offset: 2px;
  animation: focusRing 0.3s ease-out;
}

@keyframes focusRing {
  0% {
    outline-width: 0;
    outline-offset: 0;
  }
  100% {
    outline-width: 3px;
    outline-offset: 2px;
  }
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: white !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 14px rgba(59, 130, 246, 0.25);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-md);
  border: none;
  transition: all var(--transition-base);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 6px 20px rgba(59, 130, 246, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(59, 130, 246, 0.2);
}

.btn-success {
  background: var(--color-success);
  color: white;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
}

.btn-success:hover:not(:disabled) {
  background: rgba(34, 197, 94, 1);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: white;
}

.btn-danger {
  background: var(--color-error);
  color: white;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
}

.btn-danger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 1);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: white;
}

.btn-warning {
  background: var(--color-warning);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-warning:hover:not(:disabled) {
  background: #D97706;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--text-dark);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: var(--border-color-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid transparent;
}

.btn-ghost:hover:not(:disabled) {
  background: var(--brand-primary-light);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.btn-sm {
  padding: 8px 16px;
  min-height: 36px;
  font-size: var(--font-size-sm);
}

.btn-lg {
  padding: 14px 24px;
  min-height: 48px;
  font-size: var(--font-size-base);
}

.btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
}

.btn-icon-sm {
  width: 32px;
  height: 32px;
}

/* ========================================
   CARDS
   ======================================== */
.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid #E8EAED;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.card:hover::before {
  opacity: 1;
}

.card-static {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.card-static:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.card-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.card-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.card-subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin: var(--space-xs) 0 0 0;
  font-weight: 400;
}

.card-body {
  margin-bottom: var(--space-lg);
}

.card-footer {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
}

.card-gradient {
  background: var(--brand-gradient);
  color: white;
  border: none;
}

.card-gradient .card-title {
  color: white;
}

/* Stats Card */
.stats-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
}

.stats-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.stats-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stats-label {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stats-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ========================================
   MODALS
   ======================================== */
.modal {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.modal.show {
  display: flex !important;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: var(--z-modal-backdrop);
  animation: fadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 64, 255, 0.1);
  border: 1px solid rgba(229, 231, 235, 0.8);
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  z-index: calc(var(--z-modal-backdrop) + 1);
  animation: slideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-content-wide {
  max-width: 900px;
}

.modal-header {
  background: var(--bg-card);
  color: var(--text-primary);
  padding: var(--space-xl);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modal-header h2 {
  margin: 0;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
}

.modal-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin: 0;
}

.modal-close {
  width: 36px;
  height: 36px;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: var(--font-size-xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-danger);
  border-color: var(--color-danger);
  color: white;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.modal-body {
  padding: var(--space-xl);
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .modal-content {
    max-width: 100%;
    max-height: 95vh;
    border-radius: var(--radius-lg);
  }
  
  .modal-header {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: var(--space-md) var(--space-lg);
  }
  
  .modal-title {
    font-size: var(--font-size-xl);
  }
  
  .modal-body {
    padding: var(--space-lg);
  }
  
  .modal-footer {
    padding: var(--space-md) var(--space-lg);
    flex-direction: column;
  }
  
  .modal-footer .btn {
    width: 100%;
  }
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
  font-size: var(--font-size-sm);
}

.form-label-icon {
  font-size: var(--font-size-base);
  color: var(--brand-primary);
}

.form-control {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  font-size: var(--font-size-sm);
  font-family: inherit;
  border: 1.5px solid #E8EAED;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  background: white;
  color: var(--text-dark);
  line-height: 1.5;
}

.form-control:hover:not(:disabled) {
  border-color: #D1D5DB;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
  background: white;
}

.form-control::placeholder {
  color: var(--text-tertiary);
}

.form-control:disabled {
  background: var(--bg-hover);
  border-color: var(--border-color);
  cursor: not-allowed;
  opacity: 0.6;
}

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

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-error {
  color: var(--color-error);
  font-size: var(--font-size-sm);
  margin-top: var(--space-xs);
}

.form-help {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  margin-top: var(--space-xs);
}

/* File Upload */
.file-upload {
  position: relative;
  display: inline-block;
  width: 100%;
}

.file-upload-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 44px;
  padding: 12px var(--space-lg);
  border: 2px dashed #D1D5DB;
  border-radius: var(--radius-md);
  background: #F9FAFB;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-weight: 500;
}

.file-upload-label:hover {
  border-color: var(--brand-primary);
  background: rgba(48, 91, 243, 0.05);
}

/* ========================================
   TABLES
   ======================================== */
.table-container {
  overflow-x: auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table thead {
  background: #FAFBFC;
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}

.table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1.5px solid #E8EAED;
  background: #FAFBFC;
}

.table td {
  padding: 16px 20px;
  border-bottom: 1px solid #F0F1F3;
  color: #111827;
  font-size: 14px;
}

.table tbody tr {
  transition: all var(--transition-base);
  position: relative;
  background: white;
}

.table tbody tr:hover {
  background: rgba(59, 130, 246, 0.02);
  box-shadow: inset 3px 0 0 #3B82F6;
}

.table-actions {
  display: flex;
  gap: var(--space-sm);
}

/* Mobile Table */
@media (max-width: 768px) {
  .table-container {
    border-radius: 0;
  }
  
  .table thead {
    display: none;
  }
  
  .table, .table tbody, .table tr, .table td {
    display: block;
  }
  
  .table tr {
    margin-bottom: var(--space-md);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: var(--space-md);
  }
  
  .table td {
    padding: var(--space-sm) 0;
    border: none;
    display: flex;
    justify-content: space-between;
  }
  
  .table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
  }
}

/* ========================================
   BADGES & STATUS
   ======================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: var(--font-size-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.badge-success {
  background: var(--color-success-light);
  color: var(--color-success);
  border: 1px solid var(--color-success);
}

.badge-danger {
  background: var(--color-error-light);
  color: var(--color-error);
  border: 1px solid var(--color-error);
}

.badge-warning {
  background: var(--color-warning-light);
  color: var(--color-warning);
  border: 1px solid var(--color-warning);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #8B5CF6;
  border: 1px solid #8B5CF6;
  font-weight: 600;
}

.badge-info {
  background: var(--brand-primary);
  color: var(--text-on-primary);
  border: 1px solid var(--brand-primary);
}

.status-new {
  background: var(--brand-gradient);
  color: var(--text-on-primary);
  border: 1px solid var(--brand-primary);
  box-shadow: 0 4px 12px rgba(0, 64, 255, 0.25), 0 2px 4px rgba(0, 64, 255, 0.15);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.status-contact {
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
  border: 1px solid #F59E0B;
}

.status-active {
  background: rgba(139, 92, 246, 0.2);
  color: #A78BFA;
  border: 1px solid #8B5CF6;
}

.status-won {
  background: rgba(34, 197, 94, 0.2);
  color: #22C55E;
  border: 1px solid #22C55E;
}

.status-lost {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
  border: 1px solid #EF4444;
}

/* ========================================
   FILTERS & SEARCH
   ======================================== */
.filters-container {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  align-items: center;
}

.filter-tabs {
  display: flex;
  gap: var(--space-sm);
  background: white;
  padding: var(--space-xs);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px var(--space-md);
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
  white-space: nowrap;
}

.filter-tab:hover {
  background: #F3F4F6;
  color: var(--text-dark);
}

.filter-tab.active {
  background: var(--brand-gradient);
  color: var(--text-on-primary);
  box-shadow: 0 4px 12px rgba(0, 64, 255, 0.2), 0 2px 4px rgba(0, 64, 255, 0.1);
  transform: translateY(-1px);
}

.search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-input {
  width: 100%;
  min-height: 44px;
  padding: 12px var(--space-md) 12px 44px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  background: white;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-light);
}

.search-icon {
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
}

/* ========================================
   GRID LAYOUTS
   ======================================== */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
  margin-bottom: var(--space-2xl);
  padding-bottom: 0;
  border-bottom: none;
}

.page-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin: 0 0 var(--space-sm) 0;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.page-subtitle {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

.page-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

/* ========================================
   TOASTS / NOTIFICATIONS
   ======================================== */
.toast {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  min-width: 320px;
  max-width: 500px;
  padding: 16px 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  z-index: var(--z-toast);
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success {
  border-left: 4px solid var(--color-success);
  background: linear-gradient(to right, var(--color-success-light) 0%, white 10%);
}

.toast-error {
  border-left: 4px solid var(--color-error);
  background: linear-gradient(to right, var(--color-error-light) 0%, white 10%);
}

.toast-warning {
  border-left: 4px solid var(--color-warning);
  background: linear-gradient(to right, var(--color-warning-light) 0%, white 10%);
}

.toast-info {
  border-left: 4px solid var(--color-info);
  background: linear-gradient(to right, var(--color-info-light) 0%, white 10%);
}

@media (max-width: 768px) {
  .toast {
    left: var(--space-md);
    right: var(--space-md);
    min-width: auto;
  }
}

/* ========================================
   LOADING SPINNER - DISABLED
   ======================================== */
.global-loader {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
}

.global-loader.show {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========================================
   SKELETON LOADERS
   ======================================== */
.skeleton {
  background: linear-gradient(90deg, #F3F4F6 25%, #E5E7EB 50%, #F3F4F6 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

.skeleton-text {
  height: 16px;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-sm);
}

.skeleton-title {
  height: 24px;
  width: 60%;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-sm);
}

.skeleton-card {
  height: 200px;
  border-radius: var(--radius-lg);
}

.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ========================================
   PHOTO GALLERY
   ======================================== */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #F3F4F6;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-delete {
  position: absolute;
  top: var(--space-xs);
  right: var(--space-xs);
  width: 28px;
  height: 28px;
  background: var(--color-error);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.photo-item:hover .photo-delete {
  opacity: 1;
}

/* ========================================
   CALENDAR
   ======================================== */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding: var(--space-lg);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.calendar-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin: 0;
}

.calendar-nav {
  display: flex;
  gap: var(--space-sm);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-sm);
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.calendar-day-header {
  text-align: center;
  font-weight: 600;
  padding: var(--space-md);
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.calendar-day {
  aspect-ratio: 1;
  padding: var(--space-sm);
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.calendar-day:hover {
  border-color: var(--brand-primary);
  background: rgba(48, 91, 243, 0.05);
}

.calendar-day.today {
  background: var(--brand-gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 64, 255, 0.3), 0 2px 4px rgba(0, 64, 255, 0.15);
  animation: pulse 3s ease-in-out infinite;
}

.calendar-day.has-appointments {
  border-color: var(--brand-primary);
}

.calendar-day-number {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.calendar-day-dots {
  display: flex;
  gap: 2px;
  justify-content: center;
  flex-wrap: wrap;
}

.calendar-day-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
}

@media (max-width: 768px) {
  .calendar-grid {
    gap: 2px;
    padding: var(--space-md);
  }
  
  .calendar-day {
    padding: var(--space-xs);
    font-size: var(--font-size-xs);
  }
}

/* ========================================
   EMPTY STATES
   ======================================== */
.empty-state {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border-color);
}

.empty-state-icon {
  font-size: 72px;
  color: var(--text-tertiary);
  margin-bottom: var(--space-lg);
  opacity: 0.6;
}

.empty-state-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.empty-state-text {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  font-size: var(--font-size-base);
  line-height: 1.6;
}

/* ========================================
   AUTHENTICATION PAGES
   ======================================== */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.auth-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: background-pan 20s linear infinite;
}

@keyframes background-pan {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.auth-box {
  width: 100%;
  max-width: 450px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.auth-header {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  color: white;
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
}

.auth-logo {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 auto var(--space-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.auth-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin: 0;
}

.auth-body {
  padding: var(--space-2xl);
}

.auth-footer {
  padding: var(--space-lg) var(--space-2xl) var(--space-2xl);
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

/* ========================================
   CREDITS PACKAGES
   ======================================== */
.credits-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.credit-package {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.credit-package:hover {
  border-color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.credit-package.popular {
  border-color: var(--brand-primary);
  background: rgba(48, 91, 243, 0.05);
}

.package-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-gradient);
  color: white;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.package-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.package-credits {
  font-size: var(--font-size-3xl);
  font-weight: bold;
  color: var(--brand-primary);
  margin-bottom: var(--space-xs);
}

.package-price {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .credits-packages {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   MARKETPLACE LISTINGS
   ======================================== */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.listing-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.listing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.listing-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: white;
}

.listing-content {
  padding: var(--space-lg);
  flex: 1;
}

.listing-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.listing-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.listing-price {
  font-size: var(--font-size-2xl);
  font-weight: bold;
  color: var(--brand-primary);
  margin-bottom: var(--space-md);
}

.listing-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid #E5E7EB;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.hidden { display: none; }
.visible { display: block; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.w-full { width: 100%; }
.h-full { height: 100%; }

.text-primary { color: var(--brand-primary); }
.text-secondary { color: var(--text-secondary); }
.text-success { color: var(--color-success); }
.text-error { color: var(--color-error); }
.text-warning { color: var(--color-warning); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .sidebar,
  .mobile-menu-btn,
  .page-actions,
  .btn,
  .modal,
  .toast {
    display: none !important;
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #E5E7EB;
  }
}

/* ========================================
   ADMIN PANEL STYLES
   ======================================== */

/* Tab System */
.tab-button {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  border-bottom: none;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  font-size: 0.95rem;
  position: relative;
}

.tab-button:hover {
  color: var(--brand-primary);
  background: var(--brand-primary-light);
}

.tab-button.active {
  color: var(--brand-primary);
  border-bottom-color: transparent;
  background: var(--brand-primary-light);
}

.tab-button.active::after {
  display: none;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

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

/* Admin Stats Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  border-left: 4px solid var(--brand-primary);
}

.admin-stat-card:hover {
  box-shadow: 0 4px 12px rgba(48, 91, 243, 0.15);
  transform: translateY(-2px);
}

.admin-stat-card h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-stat-card .stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0;
  line-height: 1;
}

.admin-stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Admin Table Enhancements */
.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-table thead th {
  background: #FAFBFC;
  color: #6B7280;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.8px;
  padding: 14px 20px;
  text-align: left;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #E8EAED;
}

.admin-table thead th:first-child {
  border-radius: 0;
}

.admin-table thead th:last-child {
  border-radius: 0;
}

.admin-table tbody tr {
  transition: all 0.15s ease;
  border-bottom: 1px solid #F0F1F3;
  background: white;
}

.admin-table tbody tr:hover {
  background: #FAFBFC;
  box-shadow: none;
}

.admin-table tbody td {
  padding: 16px 20px;
  vertical-align: middle;
  color: #111827;
  font-size: 14px;
}

.admin-table tbody tr:last-child {
  border-bottom: none;
}

/* User Status Indicators */
.user-status-active {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.user-status-active::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.user-status-inactive {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.user-status-inactive::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #EF4444;
  border-radius: 50%;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Admin Action Buttons */
.admin-action-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-action-btn-primary {
  background: var(--brand-gradient);
  color: white;
}

.admin-action-btn-primary:hover {
  box-shadow: 0 4px 12px rgba(48, 91, 243, 0.3);
  transform: translateY(-1px);
}

.admin-action-btn-danger {
  background: #EF4444;
  color: white;
}

.admin-action-btn-danger:hover {
  background: #DC2626;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  transform: translateY(-1px);
}

.admin-action-btn-secondary {
  background: #F3F4F6;
  color: var(--text-dark);
}

.admin-action-btn-secondary:hover {
  background: #E5E7EB;
}

/* Admin Search Bar */
.admin-search {
  position: relative;
  margin-bottom: 1.5rem;
}

.admin-search input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.admin-search input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(48, 91, 243, 0.1);
}

.admin-search::before {
  content: '⌕';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: #9ca3af;
}

/* Admin Modal Enhancements */
.admin-modal .modal-content {
  max-width: 600px;
}

.admin-modal .modal-header {
  background: var(--brand-gradient);
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.admin-modal .modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.admin-modal .modal-close {
  color: white;
  opacity: 0.8;
}

.admin-modal .modal-close:hover {
  opacity: 1;
}

/* Admin Page Specific Styles */
.admin-loading {
  display: none !important;
}

.admin-page-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.admin-page-header h1 {
  margin: 0;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-page-header-icon {
  font-size: 1.5rem;
}

.admin-stats-wrapper {
  margin-bottom: 2rem;
}

.admin-section-card {
  margin-bottom: 2rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-section-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.admin-section-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #1f2937;
  font-weight: 600;
}

.admin-section-body {
  padding: 1.5rem;
  background: white;
}

.admin-search-wrapper {
  margin-bottom: 1.5rem;
}

.admin-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.admin-table-clean {
  width: 100%;
}

.admin-table-clean thead tr {
  background: #f9fafb;
}

.admin-table-clean th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.8rem;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table-clean th.text-center {
  text-align: center;
}

.admin-table-clean tbody tr {
  border-bottom: 1px solid #f3f4f6;
}

.admin-table-clean td {
  padding: 1rem;
}

.admin-table-name {
  font-weight: 500;
  color: #111827;
}

.admin-table-text {
  color: #6b7280;
}

.admin-table-text-center {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

.admin-table-center {
  text-align: center;
}

.admin-credit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
}

.admin-check-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #10b981;
  color: white;
  border-radius: 4px;
  font-weight: 600;
}

.admin-check-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #e5e7eb;
  color: #9ca3af;
  border-radius: 4px;
}

.admin-edit-btn {
  padding: 0.5rem 1rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-edit-btn:hover {
  background: #2563eb;
}

.admin-listing-name {
  font-weight: 600;
}

.admin-listing-price {
  font-weight: 600;
  color: #10b981;
}

.admin-credit-mode-btn {
  flex: 1;
  padding: 0.5rem;
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  opacity: 0.5;
}

.admin-credit-mode-btn.active {
  opacity: 1;
  font-weight: 600;
}

.admin-credit-mode-add {
  background: #10b981;
}

.admin-credit-mode-subtract {
  background: #ef4444;
}

.admin-credit-mode-set {
  background: #3b82f6;
}

.admin-credit-mode-wrapper {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.admin-credit-preview {
  margin-top: 0.5rem;
  padding: 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  display: none;
}

.admin-credit-preview.visible {
  display: block;
}

.admin-credit-preview.mode-add {
  background: #d1fae5;
  color: #065f46;
}

.admin-credit-preview.mode-subtract {
  background: #fee2e2;
  color: #991b1b;
}

.admin-credit-preview.mode-set {
  background: #dbeafe;
  color: #1e40af;
}
}

/* Admin Alert Boxes */
.admin-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin: 1rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.admin-alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-left: 4px solid #3B82F6;
  color: #1E40AF;
}

.admin-alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-left: 4px solid #F59E0B;
  color: #92400E;
}

.admin-alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #EF4444;
  color: #991B1B;
}

.admin-alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-left: 4px solid #10B981;
  color: #065F46;
}

/* Admin Empty State */
.admin-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.admin-empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.admin-empty-state-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Admin Loading State */
.admin-loading {
  display: none !important;
}

.admin-loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #E5E7EB;
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.admin-loading-text {
  color: var(--text-secondary);
  font-weight: 500;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Admin Layout */
@media (max-width: 768px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .tab-button {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  
  .admin-table {
    font-size: 0.875rem;
  }
  
  .admin-table thead th,
  .admin-table tbody td {
    padding: 0.75rem 0.5rem;
  }
}

/* ========================================
   PLANNING PAGE STYLES
   ======================================== */

/* Calendar Tabs */
.calendar-tabs {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.tab-btn.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
  font-weight: 500;
}

.tab-btn:hover {
  color: var(--text-primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  gap: 1rem;
}

.btn-outline {
  background: white;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--bg-surface);
}

/* Calendar Controls */
.calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0;
  padding: 1rem;
  background: white;
  border-radius: 8px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.current-period {
  font-weight: 600;
  font-size: 1rem;
  min-width: 150px;
  text-align: center;
}

.btn-icon {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.view-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.view-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
}

/* Calendar Container */
.calendar-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Calendar Grid */
.calendar-grid {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.calendar-header {
  display: grid;
  grid-template-columns: 80px repeat(7, 1fr);
  border-bottom: 2px solid #E5E7EB;
  background: #F9FAFB;
  position: sticky;
  top: 0;
  z-index: 10;
}

.time-column {
  /* Empty space for time labels */
  background: #F9FAFB;
  border-right: 2px solid #E5E7EB;
}

.day-header {
  padding: 1.25rem 0.5rem;
  text-align: center;
  border-left: 1px solid #E5E7EB;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #F9FAFB;
}

.day-header.today {
  background: #EEF2FF;
}

.day-name {
  font-size: 0.75rem;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.day-date {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1F2937;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.day-date.today-badge {
  background: linear-gradient(135deg, #4F46E5 0%, #305BF3 100%);
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.calendar-body {
  max-height: calc(100vh - 350px);
  overflow-y: auto;
}

.time-row {
  display: grid;
  grid-template-columns: 80px repeat(7, 1fr);
  border-bottom: 1px solid #F0F0F0;
  min-height: 60px;
}

.time-label {
  padding: 0.5rem;
  padding-top: 0.5rem;
  font-size: 0.75rem;
  color: #6B7280;
  text-align: right;
  padding-right: 1rem;
  border-right: 2px solid #E5E7EB;
  background: #F9FAFB;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.time-slot {
  border-left: 1px solid #E5E7EB;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 60px;
  background: white;
}

.time-slot:hover {
  background: #F0F9FF;
  border-left-color: #3B82F6;
  border-left-width: 2px;
}

/* Appointment Blocks */
.appointment-block {
  position: absolute;
  left: 4px;
  right: 4px;
  top: 4px;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-left: 4px solid var(--brand-primary);
  transition: all 0.2s;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.appointment-block:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(48, 91, 243, 0.2);
  z-index: 5;
}

.appointment-title {
  font-weight: 600;
  font-size: 0.85rem;
  color: #1565C0;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appointment-time {
  font-size: 0.75rem;
  color: #1976D2;
  font-weight: 500;
}

/* Appointments Sidebar */
.appointments-sidebar {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  height: fit-content;
  max-height: calc(100vh - 250px);
  overflow-y: auto;
  border: 1px solid var(--border-color);
}

.appointments-sidebar h3 {
  margin: 0 0 1.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1F2937;
}

.appointment-item {
  padding: 1rem;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.appointment-item:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(48, 91, 243, 0.15);
  transform: translateY(-1px);
}

.appointment-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.75rem;
}

.appointment-header strong {
  font-size: 0.95rem;
  color: #1F2937;
}

.appointment-date {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.appointment-details {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.appointment-details div {
  margin: 0.25rem 0;
}

.appointment-details a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
}

.appointment-details a:hover {
  text-decoration: underline;
}

.appointment-guests {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding-top: 0.75rem;
  border-top: 1px solid #F3F4F6;
}

.time-until {
  background: #FFF3E0;
  color: #F57C00;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.7rem;
}

/* Legacy Kanban Styles (kept for backward compatibility) */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.kanban-column {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 1rem;
  min-height: 400px;
}

.kanban-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

.kanban-title {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kanban-count {
  background: var(--primary-color);
  color: white;
  border-radius: 12px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.lead-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.lead-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.lead-card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.75rem;
}

.lead-card-header h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-primary);
}

.lead-card-body {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.lead-card-body p {
  margin: 0.25rem 0;
}

.lead-card-footer {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.lead-price {
  display: inline-block;
  background: var(--success-color);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-badge.new { background: #e3f2fd; color: #1976d2; }
.status-badge.contact { background: #fff3e0; color: #f57c00; }
.status-badge.appointment { background: #f3e5f5; color: #7b1fa2; }
.status-badge.negotiation { background: #fff9c4; color: #f9a825; }
.status-badge.won { background: #e8f5e9; color: #388e3c; }
.status-badge.lost { background: #ffebee; color: #d32f2f; }

.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.planning-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-input {
  flex: 1;
  min-width: 200px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-header h2 {
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.875rem;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--card-bg);
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
}

/* ========================================
   CUSTOM SCROLLBAR STYLING
   ======================================== */
#invoicesList::-webkit-scrollbar,
#transactionsTableWrapper::-webkit-scrollbar {
  width: 8px;
}

#invoicesList::-webkit-scrollbar-track,
#transactionsTableWrapper::-webkit-scrollbar-track {
  background: #F3F4F6;
  border-radius: 4px;
}

#invoicesList::-webkit-scrollbar-thumb,
#transactionsTableWrapper::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  border-radius: 4px;
  transition: background 0.3s ease;
}

#invoicesList::-webkit-scrollbar-thumb:hover,
#transactionsTableWrapper::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
}

/* Firefox */
#invoicesList,
#transactionsTableWrapper {
  scrollbar-width: thin;
  scrollbar-color: #3B82F6 #F3F4F6;
}

/* ========================================
   PROFIEL PAGINA - MODERN STYLING
   ======================================== */

/* Profile Header Card - Enhanced */
.profile-header-card {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%);
  border: none;
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  margin-bottom: 2.5rem;
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.profile-header-card > div {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.profile-header-info {
  flex: 1;
}

.profile-header-info > div {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.profile-header-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  border: 4px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.75rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition: transform 0.3s ease;
}

.profile-avatar:hover {
  transform: scale(1.05);
}

.profile-header-info h2 {
  margin: 0 0 0.5rem 0;
  color: white;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-header-info .profile-email {
  margin: 0 0 1.25rem 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  font-weight: 400;
}

/* Form Labels - Enhanced */
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.2px;
}

.profile-stat-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  padding: 0.875rem 1.5rem;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-stat-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.profile-stat-badge .stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.profile-stat-badge .stat-value {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.profile-stat-badge .stat-value-small {
  color: white;
  font-size: 1rem;
  font-weight: 600;
}

/* Modern Tabs - Enhanced */
.profile-tabs-container {
  background: white;
  border-radius: 14px;
  padding: 0.625rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid #E8EAED;
}

.profile-tabs-container > div {
  display: flex;
  gap: 0.5rem;
}

.tab-button {
  background: none;
  border: none;
  padding: 13px 22px;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 600;
  color: #6B7280;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  font-size: 14px;
  position: relative;
}

.tab-button:hover {
  background: #F3F4F6;
  color: #3B82F6;
  transform: translateY(-1px);
}

.tab-button.active {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3), 0 1px 3px rgba(59, 130, 246, 0.2);
  transform: translateY(0);
}

.tab-button.active svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.tab-button svg {
  margin-right: 8px;
  transition: transform 0.2s ease;
}

.tab-button:hover svg {
  transform: scale(1.1);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

/* Modern Input Styling - Enhanced */
.modern-input {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  background: white;
}

.modern-input:hover {
  border-color: #D1D5DB;
}

.modern-input:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.modern-input::placeholder {
  color: #9CA3AF;
}

/* Form Sections - Enhanced */
.form-section {
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.form-section:hover {
  transform: translateY(-2px);
}

.form-section-contact {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1.5px solid #BFDBFE;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.form-section-contact:hover {
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
}

.form-section-business {
  background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%);
  border: 1.5px solid #DDD6FE;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.08);
}

.form-section-business:hover {
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.12);
}

.form-section-financial {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1.5px solid #A7F3D0;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08);
}

.form-section-financial:hover {
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.12);
}

.form-section-optional {
  background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
  border: 1.5px solid #E5E7EB;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-section-optional:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.section-title {
  margin: 0 0 20px 0;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.3px;
}

.form-section-contact .section-title {
  color: #1E40AF;
}

.form-section-business .section-title {
  color: #6D28D9;
}

.form-section-financial .section-title {
  color: #047857;
}

.form-section-optional .section-title {
  color: #374151;
}

.section-title svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Credit Package Cards */
.credit-package-card {
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.credit-package-card:hover {
  transform: translateY(-4px);
}

.credit-package-starter {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border: 2px solid #BAE6FD;
}

.credit-package-starter:hover {
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
}

.credit-package-pro {
  background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%);
  border: 2px solid #8B5CF6;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.credit-package-pro:hover {
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.3);
}

.credit-package-business {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 2px solid #A7F3D0;
}

.credit-package-business:hover {
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.15);
}

.package-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
}

.package-badge-blue {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.package-badge-purple {
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
}

.package-badge-green {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.package-credits {
  font-size: 3rem;
  font-weight: 700;
  margin: 16px 0;
}

.package-credits.color-blue { color: #0C4A6E; }
.package-credits.color-purple { color: #5B21B6; }
.package-credits.color-green { color: #065F46; }

.package-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.package-price.color-blue { color: #3B82F6; }
.package-price.color-purple { color: #8B5CF6; }
.package-price.color-green { color: #10B981; }

/* Alert Boxes */
.alert-box {
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: start;
  gap: 12px;
}

.alert-box-info {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid #BFDBFE;
}

.alert-box-warning {
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
  border: 1px solid #FECACA;
}

.alert-box-danger {
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
  border: 2px solid #FCA5A5;
}

/* Danger Zone */
.danger-zone-card {
  background: white;
  border: 2px solid #EF4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
  border-radius: 12px;
  overflow: hidden;
}

.danger-zone-header {
  border-bottom: 2px solid #FEE2E2;
  padding: 24px;
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Static Enhancement for Profile */
.tab-content .card-static {
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid #E8EAED;
  background: white;
}

/* Button Enhancements */
.btn-primary {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* Small text helper */
.text-muted {
  color: #6B7280;
  font-size: 12px;
  margin-top: 6px;
  display: block;
}

/* Form Grid Layouts */
.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin: 0;
}

.form-group-fullwidth {
  grid-column: 1 / -1;
}

/* Card Headers */
.card-static {
  background: white;
  border: 1px solid #E8EAED;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  overflow: hidden;
}

.card-header {
  border-bottom: 1px solid #F0F1F3;
  padding: 24px;
  background: #FAFBFC;
}

.card-header > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-body {
  padding: 32px;
}

.header-icon-gradient {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.28);
}

.card-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.2px;
}

.card-subtitle {
  margin: 4px 0 0 0;
  font-size: 13px;
  color: #6B7280;
  font-weight: 400;
}

/* ========================================
   END PROFIEL PAGINA STYLING
   ======================================== */

/* ========================================
   ADMIN UTILITY CLASSES
   ======================================== */

/* Card wrappers */
.admin-card-wrapper {
  background: white;
  border: 1px solid #E8EAED;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  overflow: hidden;
}

.admin-card-wrapper-spacing {
  margin-top: 32px;
}

/* Stats icon colors */
.stats-icon-blue {
  background: #3B82F6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.stats-icon-green {
  background: rgba(34, 197, 94, 0.95);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.stats-icon-orange {
  background: #F59E0B;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.stats-icon-purple {
  background: #8B5CF6;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
}

/* Card header styling */
.admin-card-header {
  border-bottom: 1px solid #F0F1F3;
  padding: 20px 24px;
  background: #FAFBFC;
}

/* Collapsible Section Styling */
.collapsible-section {
  width: 100%;
}

.collapsible-header {
  background: white;
  border: 1px solid #E8EAED;
  border-radius: 12px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.collapsible-header:hover {
  border-color: #D1D5DB;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.collapsible-content.expanded {
  max-height: 5000px !important;
  opacity: 1 !important;
}

.collapsible-content.collapsed {
  max-height: 0 !important;
  opacity: 0 !important;
}

.chevron-icon {
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-header-flex {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-header-icon-blue {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.28);
}

.admin-header-icon-green {
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.28);
}

.admin-header-icon-purple {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.28);
}

.admin-card-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.2px;
}

.admin-card-subtitle {
  margin: 4px 0 0 0;
  font-size: 13px;
  color: #6B7280;
  font-weight: 400;
}

.admin-card-body {
  padding: 24px;
}

/* Search input */
.admin-search-input {
  max-width: 500px;
  border: 1px solid #E8EAED;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
}

/* Loading state */
.admin-loading {
  text-align: center;
  padding: 40px;
  color: #6B7280;
}

/* Center aligned columns */
.text-center-col {
  text-align: center;
}

/* Right aligned columns */
.text-right-col {
  text-align: right;
}

/* Role badges */
.badge-super-admin {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: white;
  font-weight: 600;
}

.badge-adviseur {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  color: white;
  font-weight: 600;
}

.badge-installateur {
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
  color: white;
  font-weight: 600;
}

/* Action button */
.admin-btn-payout {
  background: #22C55E;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  margin-right: 8px;
}

.admin-btn-payout:hover {
  background: #16A34A;
}

/* Spacing utilities */
.mb-32 {
  margin-bottom: 32px;
}

.mt-32 {
  margin-top: 32px;
}

.mb-20 {
  margin-bottom: 20px;
}

/* ========================================
   END ADMIN UTILITY CLASSES
   ======================================== */

/* ========================================
   USER DETAIL MODAL STYLES
   ======================================== */

.badge-purple {
  background: #8B5CF6;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Tabs */
.user-detail-tab {
  padding: 14px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: #6B7280;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-size: 14px;
  position: relative;
}

.user-detail-tab:hover {
  color: #0040FF;
  background: rgba(0, 64, 255, 0.04);
}

.user-detail-tab.active {
  border-bottom-color: #0040FF;
  color: #0040FF;
  background: rgba(0, 64, 255, 0.06);
}

/* User Detail Grid */
.user-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

/* Info Grid */
.info-grid {
  display: grid;
  gap: 12px;
}

.info-item label {
  display: block;
  font-size: 12px;
  color: #6B7280;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-item p {
  margin: 0;
  color: #111827;
  font-weight: 500;
}

.credit-amount {
  color: #3B82F6;
  font-weight: 700;
  font-size: 18px;
}

.credit-amount-green {
  color: #22C55E;
  font-weight: 700;
}

.credit-amount-red {
  color: #EF4444;
  font-weight: 700;
}

/* Stats Grid */
.stats-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 20px;
  border-radius: 12px;
  color: white;
}

.stat-card-blue {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.stat-card-green {
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
}

.stat-card-purple {
  background: #8B5CF6;
}

/* User Management Modal Styles */
.user-modal-header {
  margin-bottom: 24px;
  padding: 20px;
  background: #FAFBFC;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
}

.user-modal-avatar {
  width: 56px;
  height: 56px;
  background: #3B82F6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-modal-info {
  flex: 1;
}

.user-modal-name {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.user-modal-email {
  margin: 0;
  color: #6B7280;
  font-size: 14px;
}

.user-modal-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-role-installateur {
  padding: 5px 10px;
  background: #3B82F6;
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-role-adviseur {
  padding: 5px 10px;
  background: #3B82F6;
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-role-admin {
  padding: 5px 10px;
  background: #EF4444;
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-credits {
  padding: 5px 10px;
  background: #EF4444;
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.user-detail-tabs-wrapper {
  border-bottom: 1px solid #E5E7EB;
  margin: 0 -28px 24px -28px;
}

.user-detail-tabs-container {
  display: flex;
  gap: 0;
  padding: 0 28px;
  overflow-x: auto;
}

.user-info-card {
  background: #FAFBFC;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 24px;
}

.user-info-card-title {
  margin: 0 0 20px 0;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user-info-grid {
  display: grid;
  gap: 16px;
}

.user-info-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.user-info-field p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

.user-info-field-large {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #3B82F6 !important;
}

.user-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.user-stat-card {
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.user-stat-card-blue {
  background: #3B82F6;
}

.user-stat-card-green {
  background: #22C55E;
}

.user-stat-card-purple {
  background: #8B5CF6;
}

.user-stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.user-stat-value {
  color: white;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #6B7280;
}

/* Text Utilities */
.text-right {
  text-align: right;
}

.truncate {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Settings Container */
.settings-container {
  max-width: 600px;
  margin: 0 auto;
}

.section-title {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 700;
}

.subsection-title {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 600;
}

/* Credit Toggle */
.credit-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.credit-toggle .btn {
  flex: 1;
}

/* Card Danger */
.card-danger {
  background: #FEF2F2;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #FCA5A5;
  margin-top: 20px;
}

.danger-title {
  color: #DC2626;
}

.danger-text {
  color: #6B7280;
  font-size: 14px;
  margin-bottom: 16px;
}

/* Checkbox Label */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  cursor: pointer;
}

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

/* Form Control Spacing */
.form-control {
  margin-bottom: 12px;
}

/* Card Static */
.card-static {
  background: #F9FAFB;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.card-title {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

/* ========================================
   END USER DETAIL MODAL STYLES
   ======================================== */

  scrollbar-width: thin;
  scrollbar-color: #3B82F6 #F3F4F6;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ========================================
   UTILITY CLASSES - LAYOUT
   ======================================== */

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.flex-start {
  display: flex;
  align-items: flex-start;
}

.flex-end {
  display: flex;
  align-items: flex-end;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

/* Grid Utilities */
.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

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

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

.grid-auto-fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

/* Gap Utilities */
.gap-4 {
  gap: 4px;
}

.gap-6 {
  gap: 6px;
}

.gap-8 {
  gap: 8px;
}

.gap-10 {
  gap: 10px;
}

.gap-12 {
  gap: 12px;
}

.gap-14 {
  gap: 14px;
}

.gap-16 {
  gap: 16px;
}

.gap-20 {
  gap: 20px;
}

.gap-24 {
  gap: 24px;
}

/* ========================================
   UTILITY CLASSES - SPACING
   ======================================== */

/* Padding */
.p-0 { padding: 0; }
.p-4 { padding: 4px; }
.p-8 { padding: 8px; }
.p-12 { padding: 12px; }
.p-16 { padding: 16px; }
.p-20 { padding: 20px; }
.p-24 { padding: 24px; }

.px-8 { padding-left: 8px; padding-right: 8px; }
.px-12 { padding-left: 12px; padding-right: 12px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.px-20 { padding-left: 20px; padding-right: 20px; }
.px-24 { padding-left: 24px; padding-right: 24px; }
.px-28 { padding-left: 28px; padding-right: 28px; }

.py-8 { padding-top: 8px; padding-bottom: 8px; }
.py-12 { padding-top: 12px; padding-bottom: 12px; }
.py-16 { padding-top: 16px; padding-bottom: 16px; }
.py-20 { padding-top: 20px; padding-bottom: 20px; }
.py-24 { padding-top: 24px; padding-bottom: 24px; }

.pt-12 { padding-top: 12px; }
.pt-16 { padding-top: 16px; }
.pb-12 { padding-bottom: 12px; }
.pb-16 { padding-bottom: 16px; }

/* Margin */
.m-0 { margin: 0; }
.mb-4 { margin-bottom: 4px; }
.mb-6 { margin-bottom: 6px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }

.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }

/* ========================================
   UTILITY CLASSES - BORDERS
   ======================================== */

.border {
  border: 1px solid #E8EAED;
}

.border-b {
  border-bottom: 1px solid #E8EAED;
}

.border-t {
  border-top: 1px solid #F0F1F3;
}

.border-b-2 {
  border-bottom: 2px solid #E5E7EB;
}

.rounded-8 {
  border-radius: 8px;
}

.rounded-10 {
  border-radius: 10px;
}

.rounded-12 {
  border-radius: 12px;
}

/* ========================================
   UTILITY CLASSES - COLORS
   ======================================== */

.bg-white {
  background: white;
}

.bg-gray-50 {
  background: #FAFBFC;
}

.bg-gray-100 {
  background: #F3F4F6;
}

.text-primary {
  color: #111827;
}

.text-secondary {
  color: #6B7280;
}

.text-white {
  color: white;
}

/* ========================================
   UTILITY CLASSES - SHADOWS
   ======================================== */

.shadow-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.shadow-md {
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.28);
}

/* ========================================
   UTILITY CLASSES - TYPOGRAPHY
   ======================================== */

.font-13 {
  font-size: 13px;
}

.font-14 {
  font-size: 14px;
}

.font-17 {
  font-size: 17px;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.letter-tight {
  letter-spacing: -0.2px;
}

/* ========================================
   UTILITY CLASSES - MISC
   ======================================== */

.cursor-pointer {
  cursor: pointer;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.transition-all {
  transition: all 0.2s ease;
}

.w-full {
  width: 100%;
}

.h-44 {
  height: 44px;
}

.w-44 {
  width: 44px;
}

/* ========================================
   LIGHT MODE - NO OVERRIDES NEEDED
   ======================================== */

/* Yellow accents applied via CSS variables */


/* ========================================
   LANDING PAGE V2 - VERBOUWENXL.NL
   ======================================== */

.landing-page-v2 {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  background: white;
}

/* Header Navigation */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

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

.logo-text {
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: 0.8px;
  font-family: 'Inter', sans-serif;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #1A1A1A;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.nav-link:hover {
  color: #6366F1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-btn-secondary {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
  background: white;
  border: 1.5px solid #D0D0D0;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.header-btn-secondary:hover {
  border-color: #6366F1;
  background: #F8F9FF;
}

.header-btn-primary {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: #1A1A1A;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.header-btn-primary:hover {
  background: #2D2D2D;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #111827;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid #E8EAED;
  padding: 16px 24px;
  gap: 12px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-nav-link {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: #4B5563;
  text-decoration: none;
  border-bottom: 1px solid #F0F1F3;
}

.mobile-nav-link:hover {
  color: #6366F1;
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #E8EAED;
}


/* Hero Section with Background Image */
.hero-section {
  position: relative;
  height: 85vh;
  min-height: 500px;
  margin-top: 68px; /* Height of fixed header */
  background-image: url('images/hero-houses.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgb(0 0 0 / 50%), rgb(0 0 0 / 70%));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 20px;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-logo {
  margin-bottom: 20px;
}

.hero-logo svg {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero-title {
  font-size: 80px;
  font-weight: 800;
  margin: 0;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  color: white;
}

.hero-tagline {
  font-size: 22px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  margin: 0 0 30px 0;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin: 0 0 40px 0;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-cta-button {
  display: inline-block;
  padding: 18px 48px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  color: white;
  font-size: 17px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-cta-button::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;
}

.hero-cta-button:hover::before {
  left: 100%;
}

.hero-cta-button:hover {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
}

.hero-cta-button:active {
  transform: translateY(-1px) scale(1.02);
}

/* Marketplace Section */
.marketplace-section {
  padding: 100px 32px 80px;
  background: #F5F5F5;
  text-align: center;
}

.marketplace-section-title {
  font-size: 72px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 80px 0;
  letter-spacing: -2px;
  line-height: 1;
  position: relative;
  display: inline-block;
}

.marketplace-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%);
  z-index: -1;
  border-radius: 4px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 20px 0;
}

.marketplace-intro {
  font-size: 18px;
  font-weight: 400;
  color: #6B7280;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 48px;
}

.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.marketplace-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  animation: scaleIn 0.6s ease-out;
  animation-fill-mode: both;
}

.marketplace-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.marketplace-card-disabled {
  background: #E8E8E8;
  opacity: 0.4;
}

.marketplace-card-disabled:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.marketplace-card-active {
  background: linear-gradient(135deg, #7C3AED 0%, #6366F1 100%);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35);
}

.marketplace-card-active:hover {
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.45);
}

.marketplace-card-content {
  padding: 48px 32px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-placeholder {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.chart-label {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.marketplace-card-disabled .chart-label {
  color: #9CA3AF;
}

.chart-circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #4B5563 0deg 120deg,
    #9CA3AF 120deg 270deg,
    #E5E7EB 270deg 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  box-shadow: inset 0 0 0 60px #52525B;
}

.marketplace-card-active .chart-circle {
  background: conic-gradient(
    from 0deg,
    #1F2937 0deg 140deg,
    #6B7280 140deg 280deg,
    #D1D5DB 280deg 360deg
  );
  box-shadow: inset 0 0 0 60px #374151;
}

.chart-value {
  font-size: 32px;
  font-weight: 700;
  color: white;
  z-index: 2;
}

.marketplace-card-disabled .chart-value {
  color: #9CA3AF;
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.5;
}

.legend-item::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 3px solid #6B7280;
  flex-shrink: 0;
}

.legend-item-active {
  opacity: 1;
}

.legend-item-active::before {
  background: white;
  border-color: white;
}

.legend-item::after {
  content: '';
  flex: 1;
  height: 8px;
  background: #6B7280;
  border-radius: 4px;
}

.marketplace-card-disabled .legend-item::before,
.marketplace-card-disabled .legend-item::after {
  background: #9CA3AF;
  border-color: #9CA3AF;
}

.marketplace-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.marketplace-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #EF4444;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  z-index: 1;
  letter-spacing: 0.5px;
}

.marketplace-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.marketplace-card-title {
  padding: 20px 20px 8px 20px;
  font-size: 18px;
  font-weight: 600;
  color: #1F2937;
  margin: 0;
  text-align: left;
  background: #F9FAFB;
}

.marketplace-card-description {
  font-size: 14px;
  font-weight: 400;
  color: #6B7280;
  margin: 0;
  padding: 0 20px 20px 20px;
  line-height: 1.5;
  text-align: left;
  background: #F9FAFB;
}

/* Verbouwen XL Tool Section */
.verbouwenxl-tool-section {
  padding: 120px 32px 100px;
  background: #F5F5F5;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.tool-hero-title {
  font-size: 96px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 32px 0;
  line-height: 1.1;
  letter-spacing: -3px;
}

.tool-title-highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.tool-title-highlight::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 32px;
  background: #A78BFA;
  z-index: -1;
  border-radius: 4px;
}

.tool-hero-subtitle {
  font-size: 32px;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.tool-hero-description {
  font-size: 16px;
  font-weight: 400;
  color: #6B7280;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

/* Housing Type Selection */
.housing-type-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  background: white;
}

.housing-type-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.housing-step-badge {
  display: inline-block;
  padding: 8px 20px;
  background: #8B5CF6;
  color: white;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.housing-type-header {
  margin-bottom: 24px;
}

.housing-type-title {
  font-size: 36px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 16px 0;
  line-height: 1.2;
  border-bottom: 3px solid #8B5CF6;
  display: inline-block;
  padding-bottom: 8px;
}

.housing-type-description {
  font-size: 15px;
  font-weight: 400;
  color: #6B7280;
  line-height: 1.7;
  margin: 0;
}

.housing-type-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.housing-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.housing-type-card {
  padding: 14px 24px;
  background: white;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.housing-type-card:hover {
  background: #F9FAFB;
  border-color: #8B5CF6;
  transform: translateY(-1px);
}

.housing-type-card.selected {
  background: #8B5CF6;
  color: white;
  border-color: #8B5CF6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.project-tag {
  padding: 10px 18px;
  background: white;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  font-weight: 500;
  color: #4B5563;
}

.project-tag:hover {
  background: #F3F4F6;
  border-color: #8B5CF6;
}

.project-tag.selected {
  background: #8B5CF6;
  color: white;
  border-color: #8B5CF6;
}

.contact-form {
  max-width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #8B5CF6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.submit-button {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 24px;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.housing-type-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}

.info-item {
  display: flex;
  gap: 14px;
  align-items: start;
}

.info-icon {
  width: 24px;
  height: 24px;
  background: #10B981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.info-content {
  flex: 1;
}

.info-title {
  font-size: 15px;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 4px 0;
}

.info-text {
  font-size: 14px;
  font-weight: 400;
  color: #6B7280;
  margin: 0;
  line-height: 1.6;
}

.housing-type-image {
  position: sticky;
  top: 100px;
}

/* Tool Features Section */
.tool-section {
  padding: 80px 20px;
  background: white;
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-title-large {
  font-size: 48px;
  font-weight: 800;
  color: #1F2937;
  margin: 0 0 20px 0;
  line-height: 1.1;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: #6B7280;
  margin: 0 0 12px 0;
}

.section-description {
  font-size: 15px;
  color: #9CA3AF;
  line-height: 1.6;
  margin: 0;
}

/* Feature Rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto 80px;
  align-items: center;
}

.feature-row-reverse {
  direction: rtl;
}

.feature-row-reverse > * {
  direction: ltr;
}

.feature-content {
  padding: 20px;
}

.feature-badge {
  display: inline-block;
  background: #6366F1;
  color: white;
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.feature-title {
  font-size: 32px;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.feature-description {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.7;
  margin: 0 0 24px 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 10px 0;
  color: #1F2937;
  font-size: 14px;
  border-bottom: 1px solid #F3F4F6;
  position: relative;
  padding-left: 24px;
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: #6366F1;
  font-weight: bold;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.feature-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.feature-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.stat-item {
  background: #F9FAFB;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #F3F4F6;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: #9CA3AF;
  margin-bottom: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #1F2937;
}

.feature-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.feature-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #1F2937;
  cursor: default;
}

.feature-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: default;
  accent-color: #6366F1;
}

/* CTA Center */
.cta-center {
  text-align: center;
  margin-top: 60px;
}

.cta-button-large {
  display: inline-block;
  padding: 18px 56px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  color: white;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
  transition: all 0.3s ease;
}

.cta-button-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45);
}

/* Why Choose Section */
.why-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #FAFBFC 0%, #F3F4F6 100%);
  text-align: center;
}

.why-section .section-title {
  font-size: 42px;
  font-weight: 800;
  color: #111827;
  margin: 0 auto;
  max-width: 1000px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.why-subtitle {
  font-size: 20px;
  color: #6B7280;
  margin: 16px auto 0;
  max-width: 700px;
  font-weight: 500;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 60px auto 0;
}

.why-column {
  background: white;
  padding: 40px 36px;
  border-radius: 20px;
  text-align: left;
  border: 1px solid #E5E7EB;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-column:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.why-column-negative {
  background: #FEF2F2;
  border-color: #FECACA;
}

.why-column-highlight {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  color: white;
  border: none;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

.why-column-highlight:hover {
  box-shadow: 0 16px 50px rgba(99, 102, 241, 0.4);
}

.why-column-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.why-column-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 28px 0;
  padding-bottom: 20px;
  border-bottom: 2px solid #E5E7EB;
}

.why-column-negative .why-column-title {
  color: #991B1B;
  border-bottom-color: #FECACA;
}

.why-column-highlight .why-column-title {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-list li {
  padding: 12px 0;
  font-size: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.5;
}

.why-column-negative .why-list li {
  color: #7F1D1D;
}

.why-column-highlight .why-list li {
  color: white;
}

.why-icon-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #FEE2E2;
  color: #DC2626;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.why-icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Sign Up Dark Section */
.signup-dark-section {
  padding: 80px 20px;
  background: #1F2937;
  text-align: center;
}

.signup-title {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin: 0 0 12px 0;
}

.signup-subtitle {
  font-size: 16px;
  color: #9CA3AF;
  margin: 0 0 36px 0;
}

.signup-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.signup-btn {
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.signup-btn-primary {
  background: #6366F1;
  color: white;
}

.signup-btn-primary:hover {
  background: #4F46E5;
  transform: translateY(-2px);
}

.signup-btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.signup-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.signup-btn-white {
  background: white;
  color: #1F2937;
}

.signup-btn-white:hover {
  background: #F3F4F6;
}

.signup-email-link {
  display: inline-block;
  color: #9CA3AF;
  font-size: 13px;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.signup-email-link:hover {
  color: white;
}

.signup-email-link-white {
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.signup-email-link-white:hover {
  opacity: 1;
  color: white;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 20px;
  background: white;
  text-align: center;
}

.testimonials-title {
  font-size: 42px;
  font-weight: 800;
  color: #111827;
  margin: 0 auto;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.testimonials-subtitle {
  font-size: 20px;
  color: #6B7280;
  margin: 16px auto 0;
  font-weight: 500;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: #FAFBFC;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: #6366F1;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
}

.testimonial-rating .star {
  color: #F59E0B;
  font-size: 18px;
}

.testimonial-text {
  font-size: 16px;
  color: #374151;
  line-height: 1.7;
  margin: 0;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial-author {
  font-size: 15px;
  color: #111827;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.testimonial-location {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
}

/* Final CTA Section */
.final-cta-section {
  padding: 80px 20px;
  background: white;
  text-align: center;
  border-top: 1px solid #F3F4F6;
}

.final-cta-title {
  font-size: 28px;
  font-weight: 600;
  color: #1F2937;
  line-height: 1.5;
  margin: 0 0 28px 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  margin: 0 auto;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

/* Sign Up Purple Section */
.signup-purple-section {
  padding: 80px 20px;
  background: #1F2937;
  text-align: center;
}

.signup-purple-logo {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
}

.signup-purple-title {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin: 0 0 36px 0;
}

/* Footer V2 */
.landing-footer-v2 {
  background: #111827;
  color: white;
  padding: 60px 20px 30px;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #9CA3AF;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-logo {
  margin-top: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #374151;
}

.footer-bottom p {
  color: #6B7280;
  font-size: 13px;
  margin: 0;
}

.footer-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header-nav {
    gap: 20px;
  }
  
  .nav-link {
    font-size: 13px;
  }
  
  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-content {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  
  .header-actions {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-section {
    height: 60vh;
    min-height: 400px;
    margin-top: 64px;
  }
  
  .hero-logo svg {
    width: 120px;
    height: 120px;
  }
  
  .hero-title {
    font-size: 36px;
    letter-spacing: 1px;
    margin-bottom: 16px;
  }
  
  .hero-tagline {
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 24px;
    padding: 0 20px;
  }
  
  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
    padding: 0 10px;
  }
  
  .hero-cta-button {
    font-size: 15px;
    padding: 14px 32px;
  }
  
  .marketplace-section {
    padding: 40px 16px;
  }
  
  .marketplace-section-title {
    font-size: 36px;
    margin-bottom: 40px;
  }
  
  .verbouwenxl-tool-section {
    padding: 60px 20px;
    min-height: 400px;
  }
  
  .tool-hero-title {
    font-size: 48px;
    letter-spacing: -1px;
    margin-bottom: 24px;
  }
  
  .tool-title-highlight::after {
    height: 16px;
    bottom: 4px;
  }
  
  .tool-hero-subtitle {
    font-size: 20px;
    margin-bottom: 16px;
    padding: 0 10px;
  }
  
  .tool-hero-description {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 10px;
  }
  
  .tool-hero-description br {
    display: none;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 16px;
  }
  
  .marketplace-intro {
    font-size: 16px;
    margin-bottom: 32px;
    padding: 0 10px;
  }
  
  .marketplace-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .marketplace-card-content {
    padding: 32px 20px;
    min-height: 320px;
  }
  
  .chart-circle {
    width: 180px;
    height: 180px;
    box-shadow: inset 0 0 0 45px #52525B;
  }
  
  .marketplace-card-active .chart-circle {
    box-shadow: inset 0 0 0 45px #374151;
  }
  
  .chart-value {
    font-size: 24px;
  }
  
  .tool-section {
    padding: 60px 16px;
  }
  
  .section-header-center {
    margin-bottom: 60px;
  }
  
  .section-title-large {
    font-size: 32px;
    margin-bottom: 16px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .section-description {
    font-size: 14px;
  }
  
  .feature-row {
    gap: 32px;
    margin-bottom: 60px;
  }
  
  .feature-content {
    padding: 0;
  }
  
  .feature-title {
    font-size: 24px;
  }
  
  .feature-description {
    font-size: 14px;
  }
  
  .feature-list li {
    font-size: 13px;
    padding: 8px 0;
    padding-left: 20px;
  }
  
  .feature-list li::before {
    left: 4px;
  }
  
  .feature-image img {
    height: 280px;
  }
  
  .feature-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .stat-item {
    padding: 16px;
  }
  
  .stat-value {
    font-size: 24px;
  }
  
  .feature-checkboxes {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .feature-checkbox {
    font-size: 13px;
  }
  
  .cta-center {
    margin-top: 40px;
  }
  
  .cta-button-large {
    padding: 16px 40px;
    font-size: 15px;
  }
  
  .why-section {
    padding: 60px 16px;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }
  
  .why-column {
    padding: 28px;
  }
  
  .why-column-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .why-list li {
    font-size: 14px;
    padding: 8px 0;
  }
  
  .signup-dark-section,
  .signup-purple-section {
    padding: 60px 16px;
  }
  
  .signup-title,
  .signup-purple-title {
    font-size: 28px;
    margin-bottom: 12px;
  }
  
  .signup-subtitle {
    font-size: 14px;
    margin-bottom: 28px;
  }
  
  .signup-buttons {
    flex-direction: column;
    max-width: 280px;
    margin: 0 auto 16px;
    gap: 10px;
  }
  
  .signup-btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .testimonials-section {
    padding: 60px 16px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonial-card {
    padding: 24px;
  }
  
  .testimonial-avatar {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }
  
  .testimonial-text {
    font-size: 13px;
  }
  
  .final-cta-section {
    padding: 60px 16px;
  }
  
  .final-cta-title {
    font-size: 22px;
    margin-bottom: 24px;
  }
  
  .final-cta-avatar {
    width: 56px;
    height: 56px;
  }
  
  .signup-purple-logo svg {
    width: 60px;
    height: 60px;
  }
  
  .landing-footer-v2 {
    padding: 40px 16px 24px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }
  
  .footer-column h4 {
    font-size: 13px;
    margin-bottom: 14px;
  }
  
  .footer-column ul li a {
    font-size: 12px;
  }
  
  .footer-bottom {
    padding-top: 24px;
  }
  
  .footer-bottom p {
    font-size: 12px;
  }
  
  .footer-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 20px auto 0;
    text-align: center;
  }
  
  .footer-badge svg {
    width: 50px;
    height: 50px;
  }
}

/* ========================================
   MOLLIE PAYMENT STYLES
   ======================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

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

.modal-header {
  padding: 24px;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #6B7280;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.modal-close:hover {
  color: #111827;
  background: #F3F4F6;
}

.modal-body {
  padding: 24px;
}

.credit-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.credit-package-card {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.credit-package-card:hover {
  border-color: #3B82F6;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}

.credit-package-card.popular-package {
  border-color: #3B82F6;
  border-width: 3px;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
  transform: scale(1.05);
}

.credit-package-card.popular-package:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    margin: 20px;
  }
  
  .credit-packages-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-header {
    padding: 20px;
  }
  
  .modal-body {
    padding: 20px;
  }
}

/* ========================================
   TOGGLE SWITCH (Modern iOS Style)
   ======================================== */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 51px;
  height: 31px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #D1D5DB;
  border-radius: 31px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-slider:before {
  content: "";
  position: absolute;
  height: 27px;
  width: 27px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}


.toggle-switch input:not(:disabled) + .toggle-slider:hover {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.toggle-switch input:checked:not(:disabled) + .toggle-slider:hover {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

/* ============================================
   USER MODAL STYLING
   ============================================ */

.user-modal-header {
  padding: 24px 24px 20px;
  border-bottom: 1px solid #E5E7EB;
  background: #FFFFFF;
}

.user-modal-header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.user-modal-avatar {
  width: 56px;
  height: 56px;
  background: #3B82F6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-modal-info {
  flex: 1;
  min-width: 0;
}

.user-modal-name {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.3px;
}

.user-modal-email {
  margin: 4px 0 0;
  font-size: 14px;
  color: #6B7280;
  font-weight: 400;
}

.user-modal-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-role-installateur,
.badge-role-adviseur,
.badge-role-admin,
.badge-credits {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge-role-installateur {
  background: #3B82F6;
  color: white;
}

.badge-role-adviseur {
  background: #3B82F6;
  color: white;
}

.badge-role-admin {
  background: #EF4444;
  color: white;
}

.badge-credits {
  background: #EF4444;
  color: white;
}

.user-detail-tabs-wrapper {
  border-bottom: 1px solid #E5E7EB;
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.user-detail-tabs-container {
  display: flex;
  gap: 0;
  padding: 0 24px;
  overflow-x: auto;
}

.user-detail-tab {
  padding: 14px 20px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.15s ease;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.user-detail-tab:hover {
  color: #111827;
  background: #F9FAFB;
}

.user-detail-tab.active {
  color: #3B82F6;
  border-bottom-color: #3B82F6;
  font-weight: 600;
}

#user-detail-content {
  padding: 24px;
  max-height: 500px;
  overflow-y: auto;
}

.user-info-card {
  background: #FAFBFC;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 20px;
}

.user-info-card-title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user-info-grid {
  display: grid;
  gap: 16px;
}

.user-info-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.user-info-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-info-field label {
  font-size: 11px;
  font-weight: 600;
  color: #6B7280;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.user-info-field p {
  margin: 0;
  font-size: 14px;
  color: #111827;
  font-weight: 500;
}

.user-info-field-large {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #3B82F6 !important;
}

.user-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.user-stat-card {
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: white;
}

.user-stat-card-blue {
  background: #3B82F6;
}

.user-stat-card-green {
  background: #22C55E;
}

.user-stat-card-purple {
  background: #8B5CF6;
}

.user-stat-label {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 8px;
}

.user-stat-value {
  font-size: 32px;
  font-weight: 700;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #6B7280;
  font-size: 15px;
}

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

.lead-card {
  background: white;
  border: 1px solid #E8EAED;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
}

.lead-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

.lead-card-image {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.lead-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-card-image-purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.lead-card-image-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.lead-card-content {
  padding: 16px;
}

.lead-card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 12px;
}

.lead-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.lead-card-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.lead-card-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6B7280;
}

.lead-card-detail span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #F0F1F3;
}

.lead-card-date {
  font-size: 12px;
  color: #6B7280;
}

.lead-card-price {
  font-weight: 700;
  font-size: 15px;
}

.lead-card-price-blue {
  color: #3B82F6;
}

.lead-card-price-green {
  color: #22C55E;
}

.settings-container {
  max-width: 600px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 20px;
}

.subsection-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 12px;
}

.credit-toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.credit-amount-green {
  color: #22C55E !important;
  font-weight: 700 !important;
}

.credit-amount-red {
  color: #EF4444 !important;
  font-weight: 700 !important;
}

.btn-block {
  width: 100%;
  margin-top: 12px;
}

/* ========================================
   UITBETALINGEN SECTION (Adviseur)
   ======================================== */

/* Purple gradient payout card */
.payout-card {
  margin-bottom: 32px;
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  border: none;
}

.payout-card .card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.payout-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payout-card .card-title {
  color: white;
  font-size: 20px;
}

.payout-card .card-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.btn-payout-request {
  background: white;
  color: #7C3AED;
  border: 2px solid white;
  font-weight: 700;
}

.btn-payout-request:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Balance display */
.payout-balance {
  background: rgba(255, 255, 255, 0.2);
  padding: 32px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 24px;
  text-align: center;
}

.payout-balance-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.payout-balance-amount {
  font-size: 56px;
  font-weight: 900;
  color: white;
  margin-bottom: 8px;
}

.payout-balance-credits {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* Stats cards inside payout section */
.payout-stats-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.payout-stats-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.payout-stats-value {
  font-size: 32px;
  font-weight: 900;
  color: white;
}

/* History section */
.payout-history {
  background: white;
  border-radius: 20px;
  padding: 24px;
}

.payout-history-title {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

/* ========================================
   Commissie Uitbetaling Sectie
   ======================================== */

/* Header met icon en button layout */
.commission-payout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.commission-payout-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Beschikbaar saldo display */
.commission-available-balance {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 24px;
  text-align: center;
  transition: all 0.2s ease;
}

.commission-available-balance:hover {
  border-color: #D1D5DB;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.commission-balance-label {
  font-size: 13px;
  color: #6B7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.commission-balance-amount {
  font-size: 48px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.commission-balance-credits {
  font-size: 13px;
  color: #6B7280;
  font-weight: 500;
}

/* Stats cards */
.commission-stats-grid {
  gap: 20px;
  margin-bottom: 24px;
}

.commission-stat-card {
  background: white;
  border: 1px solid #E5E7EB;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.commission-stat-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.commission-stat-label {
  font-size: 11px;
  color: #6B7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.commission-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
}

/* Historie container */
.commission-history-container {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.commission-history-container:hover {
  border-color: #D1D5DB;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.commission-history-title {
  margin: 0 0 20px 0;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

.commission-history-list {
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #3B82F6 #F3F4F6;
}

/* Webkit scrollbar voor commissie historie */
.commission-history-list::-webkit-scrollbar {
  width: 8px;
}

.commission-history-list::-webkit-scrollbar-track {
  background: #F3F4F6;
  border-radius: 4px;
}

.commission-history-list::-webkit-scrollbar-thumb {
  background: #3B82F6;
  border-radius: 4px;
}

.commission-history-list::-webkit-scrollbar-thumb:hover {
  background: #2563EB;
}

.commission-history-loading {
  text-align: center;
  color: #6B7280;
  padding: 40px;
}

/* ========================================
   Admin Uitbetalingsverzoeken Sectie
   ======================================== */

/* Container styling */
.payout-requests-card {
  background: white;
  border: 1px solid #E8EAED;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}

.payout-requests-header {
  border-bottom: 1px solid #F0F1F3;
  padding: 20px 24px;
  background: #FAFBFC;
}

.payout-requests-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payout-requests-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.payout-requests-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.28);
}

.payout-requests-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.2px;
}

.payout-requests-subtitle {
  margin: 4px 0 0 0;
  font-size: 13px;
  color: #6B7280;
  font-weight: 400;
}

/* Filter buttons */
.payout-filter-buttons {
  display: flex;
  gap: 8px;
}

.payout-filter-btn {
  padding: 8px 16px;
  font-size: 13px;
  background: #E8EAED;
  color: #6B7280;
  border: 1px solid #E8EAED;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.payout-filter-btn:hover {
  background: #D1D5DB;
  border-color: #D1D5DB;
}

.payout-filter-btn.active {
  background: #3B82F6;
  color: white;
  border-color: #3B82F6;
}

/* Table container */
.payout-requests-body {
  padding: 0;
}

.payout-requests-container {
  overflow-x: auto;
}

/* Empty state */
.payout-requests-empty {
  padding: 48px 24px;
  text-align: center;
}

.payout-requests-empty-icon {
  width: 48px;
  height: 48px;
  fill: #D1D5DB;
  margin: 0 auto 16px;
}

.payout-requests-empty-text {
  color: #6B7280;
  font-size: 14px;
  margin: 0;
}

/* Action buttons in table */
.payout-action-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.payout-action-btn {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.payout-action-btn svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

.payout-approve-btn {
  background: #22C55E;
  color: white;
  border: 1px solid #22C55E;
}

.payout-approve-btn:hover {
  background: #16A34A;
  border-color: #16A34A;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
}

.payout-reject-btn {
  background: #EF4444;
  color: white;
  border: 1px solid #EF4444;
}

.payout-reject-btn:hover {
  background: #DC2626;
  border-color: #DC2626;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

/* Mollie ID display */
.payout-mollie-id {
  font-size: 12px;
  color: #6B7280;
  font-family: monospace;
}

.payout-history-list {
  max-height: 400px;
  overflow-y: auto;
}

/* ========================================
   LISTING MODAL - MARKETPLACE DETAILS
   ======================================== */

.listing-modal-content {
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.listing-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}

.listing-modal-section-title {
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
  font-size: 15px;
}

.listing-modal-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.listing-modal-row:last-child {
  margin-bottom: 0;
}

.listing-modal-label {
  color: #6B7280;
}

.listing-modal-value {
  font-weight: 500;
  color: #111827;
  text-align: right;
}

.listing-modal-value.strong {
  font-weight: 600;
}

.listing-modal-value.success {
  color: #22C55E;
}

.listing-modal-user-info {
  text-align: right;
}

.listing-modal-user-name {
  font-weight: 500;
  color: #111827;
}

.listing-modal-user-company {
  font-size: 13px;
  color: #6B7280;
  margin-top: 2px;
}

/* ========================================
   USER MODAL - INLINE STYLE CLASSES
   ======================================== */

.user-info-field-strong {
  font-weight: 600;
}

.user-info-field-success {
  color: #22C55E;
}

.user-info-field-muted {
  color: #6B7280;
}

/* ========================================
   LEAD MARKETPLACE CARDS - Profile Style
   ======================================== */

.marketplace-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  min-height: 180px;
  margin: 0 auto;
}

.marketplace-card.own-listing {
  border: 2px solid #3B82F6;
}

.marketplace-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.marketplace-card-status-badge {
  padding: 8px;
  text-align: center;
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.marketplace-card-status-badge.te-koop {
  background: #3B82F6;
}

.marketplace-card-status-badge.verkocht {
  background: #22C55E;
}

.marketplace-card-status-badge.afgewezen {
  background: #EF4444;
}

.marketplace-card-photo-container {
  position: relative;
  width: 100%;
  padding-bottom: 50%;
  overflow: hidden;
  background: #F3F4F6;
  cursor: pointer;
}

.marketplace-card-photo-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #F3F4F6;
}

.marketplace-card-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.marketplace-card-photo-container:hover .marketplace-card-photo-img {
  transform: scale(1.05);
}

.marketplace-card-photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  padding: 6px 12px;
  border-radius: 6px;
  color: white;
  font-size: 12px;
  font-weight: 600;
}

/* Photo Thumbnails */
.marketplace-card-photo-thumbnails {
  display: none;
}

.marketplace-card-photo-thumbnail {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #E8EAED;
  transition: all 0.2s;
}

.marketplace-card-photo-thumbnail:hover {
  border-color: #3B82F6;
  transform: scale(1.05);
}

.marketplace-card-photo-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketplace-card-price-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: white;
  color: #111827;
  padding: 8px 14px;
  z-index: 2;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.marketplace-card-content {
  padding: 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.marketplace-card-header {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.marketplace-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.marketplace-card-interest-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #1E40AF;
}

.marketplace-card-photos-grid {
  margin-bottom: 16px;
}

.marketplace-card-photos-grid-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.marketplace-card-photo-thumb {
  position: relative;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #F3F4F6;
  cursor: pointer;
  border: 1px solid #E5E7EB;
}

.marketplace-card-photo-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.marketplace-card-photo-thumb:hover img {
  transform: scale(1.1);
}

.marketplace-card-contact-section {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

/* Card Info Sections */
.marketplace-card-info-section {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 0;
  margin-bottom: 8px;
}

.marketplace-card-info-section:last-of-type {
  margin-bottom: 16px;
}

.marketplace-card-info-section-title {
  font-size: 12px;
  font-weight: 600;
  color: #9CA3AF;
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: 0;
  text-align: left;
}

.marketplace-card-info-section-content {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.marketplace-card-contact-grid {
  display: grid;
  gap: 12px;
}

.marketplace-card-contact-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.marketplace-card-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.marketplace-card-contact-icon.email {
  background: #3B82F6;
}

.marketplace-card-contact-icon.phone {
  background: #22C55E;
}

.marketplace-card-contact-icon.city {
  background: #8B5CF6;
}

.marketplace-card-contact-icon.address {
  background: #F59E0B;
}

.marketplace-card-contact-icon.user {
  background: #06B6D4; /* Cyan */
}

.marketplace-card-contact-icon.postal {
  background: #EC4899; /* Pink */
}

.marketplace-card-contact-icon.interest {
  background: #EAB308; /* Yellow */
}

.marketplace-card-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.marketplace-card-contact-label {
  font-size: 10px;
  color: #9CA3AF;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.marketplace-card-contact-value {
  font-size: 13px;
  color: #111827;
  font-weight: 600;
}

.marketplace-card-seller-section {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
}

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

.marketplace-card-seller-label {
  font-size: 11px;
  color: #6B7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.marketplace-card-seller-name {
  font-size: 14px;
  color: #111827;
  font-weight: 700;
}

.marketplace-card-time-badge {
  background: #F3F4F6;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #6B7280;
  font-weight: 600;
}

/* REMOVED DUPLICATE - See line 8063 for marketplace-card-sold-badge definition */

.marketplace-card-notes-section {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.marketplace-card-notes-wrapper {
  display: flex;
  align-items: start;
  gap: 10px;
}

.marketplace-card-notes-icon {
  width: 28px;
  height: 28px;
  background: rgba(146, 64, 14, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #92400E;
  flex-shrink: 0;
}

.marketplace-card-notes-label {
  font-size: 10px;
  color: #92400E;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 3px;
}

.marketplace-card-notes-text {
  flex: 1;
}

.marketplace-card-notes-value {
  font-size: 13px;
  color: #78350F;
  line-height: 1.4;
  font-weight: 500;
  word-break: break-word;
  max-height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
/* === Marketplace Card Sold Badge === */
.marketplace-card-sold-badge {
  background: #ECFDF5;
  border: 1px solid #22C55E;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  margin-bottom: 12px;
}

.marketplace-card-sold-badge-title {
  color: #16A34A;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.marketplace-card-sold-badge-time {
  color: #047857;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.marketplace-card-sold-badge-message {
  color: #047857;
  font-size: 12px;
}

/* === Marketplace Card Action Buttons === */
.marketplace-card-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.marketplace-card-btn-edit,
.marketplace-card-btn-delete {
  padding: 12px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.marketplace-card-btn-edit {
  background: #3B82F6;
  color: white;
}

.marketplace-card-btn-edit:hover {
  background: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.marketplace-card-btn-delete {
  background: #EF4444;
  color: white;
}

.marketplace-card-btn-delete:hover {
  background: #DC2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.marketplace-card-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* === Marketplace Card Action Row === */
.marketplace-card-actions-row {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

.marketplace-card-btn-accept,
.marketplace-card-btn-reject {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: 12px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  cursor: pointer;
}

.marketplace-card-btn-accept {
  background: #111827;
  border-color: #111827;
}

.marketplace-card-btn-accept:hover {
  background: #1F2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.marketplace-card-btn-reject {
  background: white;
  color: #111827;
  border-color: #E5E7EB;
}

.marketplace-card-btn-reject:hover {
  background: #F9FAFB;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Legacy Grid Support */
.marketplace-card-decision-grid {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

/* === Marketplace Card Decision Status === */
.marketplace-card-decision-status {
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  margin-bottom: 12px;
}

.marketplace-card-decision-status.accepted {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
}

.marketplace-card-decision-status.rejected {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}

.marketplace-card-decision-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.marketplace-card-decision-status.accepted .marketplace-card-decision-title {
  color: #065F46;
}

.marketplace-card-decision-status.rejected .marketplace-card-decision-title {
  color: #991B1B;
}

.marketplace-card-decision-message {
  font-size: 13px;
}

.marketplace-card-decision-status.accepted .marketplace-card-decision-message {
  color: #047857;
}

.marketplace-card-decision-status.rejected .marketplace-card-decision-message {
  color: #B91C1C;
}

/* === Marketplace Card Payout Info === */
.marketplace-card-payout-info {
  background: #EFF6FF;
  border: 2px solid #3B82F6;
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.marketplace-card-payout-icon {
  width: 32px;
  height: 32px;
  background: #3B82F6;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.marketplace-card-payout-text {
  flex: 1;
}

.marketplace-card-payout-label {
  font-size: 11px;
  color: #1E40AF;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.marketplace-card-payout-value {
  font-size: 15px;
  color: #1E3A8A;
  font-weight: 700;
}

/* REMOVED DUPLICATE - See line 7787 for actual definition */

/* === Marketplace Card Photo Gallery === */
.marketplace-card-photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.marketplace-card-photo-gallery-item {
  position: relative;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #F3F4F6;
  cursor: pointer;
  border: 1px solid #E5E7EB;
}

.marketplace-card-photo-gallery-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.marketplace-card-photo-gallery-item:hover .marketplace-card-photo-gallery-img {
  transform: scale(1.1);
}

/* === Marketplace Card Seller Section === */
.marketplace-card-seller-section {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
}

.marketplace-card-seller-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.marketplace-card-seller-left {
  flex: 1;
}

.marketplace-card-seller-label {
  font-size: 11px;
  color: #6B7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.marketplace-card-seller-name {
  font-size: 14px;
  color: #111827;
  font-weight: 700;
}

.marketplace-card-seller-right {
  text-align: right;
}

.marketplace-card-time-badge {
  background: #F3F4F6;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #6B7280;
  font-weight: 600;
}

/* === Marketplace Card Auto-Accepted Badge === */
.marketplace-card-auto-accepted {
  background: #DCFCE7;
  border: 2px solid #22C55E;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.marketplace-card-auto-accepted svg {
  display: inline-block;
  margin-bottom: 8px;
}

.marketplace-card-auto-accepted-title {
  font-size: 15px;
  font-weight: 700;
  color: #166534;
  margin-bottom: 4px;
}

.marketplace-card-auto-accepted-message {
  font-size: 13px;
  color: #15803D;
}

/* === Marketplace Card Purchase Buttons === */
.marketplace-card-btn-buy {
  width: 100%;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15px;
  background: #111827;
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

.marketplace-card-btn-buy:hover {
  background: #1F2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.marketplace-card-btn-buy:disabled {
  background: #9CA3AF;
  color: white;
  cursor: not-allowed;
  opacity: 0.6;
}

.marketplace-card-btn-buy:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* === Marketplace Card Chat Button === */
.marketplace-card-btn-chat {
  width: 100%;
  padding: 12px;
  font-weight: 600;
  font-size: 14px;
  background: #EF4444;
  color: white;
  border: none;
  border-radius: 8px;
  margin-top: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.marketplace-card-btn-chat:hover {
  background: #DC2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.marketplace-card-btn-chat svg {
  display: inline-block;
  vertical-align: middle;
}

/* === Marketplace Card Navigate Button === */
.marketplace-card-btn-navigate {
  width: 100%;
  padding: 10px;
  font-weight: 600;
  font-size: 13px;
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.marketplace-card-btn-navigate:hover {
  background: #E5E7EB;
  color: #374151;
}
/* === Website Lead Specific Styles === */
.marketplace-card-website-header {
  margin-bottom: 20px;
}

.marketplace-card-website-name {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.marketplace-card-website-timestamp {
  font-size: 12px;
  color: #6B7280;
  font-weight: 500;
}

.marketplace-card-website-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  flex: 1;
}

.marketplace-card-website-price {
  background: #8B5CF6;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: center;
}

.marketplace-card-website-price-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.marketplace-card-website-price-value {
  font-size: 32px;
  font-weight: 700;
  color: white;
}

.marketplace-card-website-price-loading {
  opacity: 0.7;
}

.marketplace-card-website-btn-claim {
  width: 100%;
  margin-top: auto;
}

/* === Contact Item Reusable (shared between marketplace and website leads) === */
.marketplace-card-contact-item-flex {
  display: flex;
  align-items: start;
  gap: 10px;
}

.marketplace-card-contact-value-break {
  word-break: break-all;
}

.marketplace-card-contact-subtext {
  font-size: 13px;
  color: #6B7280;
  margin-top: 2px;
}
/* ========================================
   MARKETPLACE UTILITY CLASSES
   ======================================== */

/* Grid Layouts */
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 24px;
}

.filter-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

/* Loading States */
.skeleton-loader {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  background: white;
  border: 1px solid #E8EAED;
  border-radius: 12px;
  padding: 20px;
  height: 400px;
}

.skeleton-line {
  height: 16px;
  margin-bottom: 12px;
  border-radius: 4px;
}

.skeleton-line-short { width: 60%; }
.skeleton-line-medium { width: 80%; }
.skeleton-line-long { width: 100%; }

/* Accessibility Helpers */
.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-visible:focus {
  outline: 2px solid #3B82F6;
  outline-offset: 2px;
}

/* Website Lead Card Styles */
.marketplace-card-status-badge.website-lead {
  background: #8B5CF6;
}

.marketplace-card-website-hero {
  background: #8B5CF6;
  position: relative;
  text-align: center;
  padding: 32px 20px;
}

.marketplace-card-website-avatar {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.marketplace-card-website-name {
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.marketplace-card-website-timestamp {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
}

.marketplace-card-website-interest-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.marketplace-card-website-price-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 14px;
  border-radius: 8px;
  text-align: center;
}

.marketplace-card-website-price-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.marketplace-card-website-price-value {
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.marketplace-card-contact-icon.purple {
  background: #8B5CF6;
}

.marketplace-card-website-btn-claim {
  background: #8B5CF6;
  border: none;
  width: 100%;
  margin-top: 16px;
}

.marketplace-card-website-btn-claim:hover {
  background: #7C3AED;
}

