/* ============================================
   GLOBAL STYLES & CSS VARIABLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --background: #003a8a;
  --foreground: #ffffff;
  --primary: #004AAD;
  --primary-dark: #003a8a;
  --primary-light: #0056d6;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-border: rgba(255, 255, 255, 0.1);
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  font-weight: 400;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   BACKGROUND PATTERNS - Futuristic Dark Theme
   ============================================ */

.futuristic-background {
  position: fixed;
  inset: 0;
  background: linear-gradient(170deg, #0A1128 0%, #0A1128 30%, #004AAD 100%);
  z-index: 0;
  overflow: hidden;
}

.futuristic-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle, rgba(180, 180, 180, 0.4) 2px, transparent 2px);
  background-size: 40px 40px;
  background-position: 0 0;
  opacity: 0.5;
  pointer-events: none;
}

/* ============================================
   HEADER STYLES
   ============================================ */

.header {
  position: relative;
  width: 100%;
  background: #000e1f;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo styles removed - logo is hidden and not used */

.header-title-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .header-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .header-title {
    font-size: 1.875rem;
  }
}

.header-title-text {
  position: relative;
}

.header-title-white {
  position: relative;
  color: #ffffff;
  font-weight: 700;
}

.header-subtitle-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.header-subtitle-line {
  height: 1px;
  width: 2rem;
  background: linear-gradient(to right, transparent, var(--primary));
}

.header-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (min-width: 640px) {
  .header-subtitle {
    font-size: 0.875rem;
  }
}

.header-spacer {
  width: 100px;
}

/* ============================================
   HOME METRICS SECTION
   ============================================ */

.home-metrics-section {
  padding: 2rem 0 1rem 0;
  background: transparent;
}

.home-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.home-metric-card {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.home-metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Wave overlay voor loading state */
.home-metric-card.loading-wave {
  position: relative;
  overflow: hidden;
}

.home-metric-card.loading-wave::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(79, 156, 255, 0.15) 30%,
    rgba(79, 156, 255, 0.25) 50%,
    rgba(79, 156, 255, 0.15) 70%,
    transparent 100%
  );
  animation: waveMove 0.6s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

/* Zorg dat content boven wave overlay staat */
.home-metric-card.loading-wave > * {
  position: relative;
  z-index: 2;
}

@keyframes waveMove {
  0% {
    left: -100%;
    top: -50%;
  }
  100% {
    left: 100%;
    top: 50%;
  }
}

/* Staggered timing per card */
.home-metric-card:nth-child(1).loading-wave::before {
  animation-delay: 0ms;
}

.home-metric-card:nth-child(2).loading-wave::before {
  animation-delay: 300ms;
}

.home-metric-card:nth-child(3).loading-wave::before {
  animation-delay: 600ms;
}

.home-metric-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.home-metric-content {
  flex: 1;
}

.home-metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
}

.home-metric-subtitle {
  font-size: 0.6875rem;
  color: #718096;
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
  font-weight: 500;
}

.home-metric-subtitle2 {
  font-size: 0.75rem;
  color: #4a5568;
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.home-metric-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  font-family: var(--font-sans);
  transition: opacity 0.3s ease;
}

/* Pulse animation voor loading state */
.home-metric-value.pulse-loading {
  animation: pulse 1.5s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.home-metric-trend {
  font-size: 0.75rem;
  color: #004AAD;
  font-weight: 600;
  font-family: var(--font-sans);
}

@media (max-width: 1023px) {
  .home-metrics-section {
    display: none;
  }
}

@media (min-width: 1024px) {
  .home-metrics-grid {
    gap: 2rem;
  }
  
  .home-metric-card {
    padding: 2rem;
  }
  
  .home-metric-value {
    font-size: 2.25rem;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
  padding: 2rem 0;
  background: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.service-card {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s ease;
  text-decoration: none;
  display: block;
  color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 74, 173, 0.4), 0 10px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-8px) scale(1.02);
}

.service-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, transparent, transparent, transparent);
  transition: all 0.5s ease;
}

.service-card:hover .service-card-gradient {
  background: linear-gradient(to bottom right, rgba(0, 74, 173, 0.05), rgba(0, 86, 214, 0.05), rgba(0, 74, 173, 0.05));
}

.service-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover .service-card-glow {
  opacity: 1;
}

.service-card-glow-bg {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(to right, var(--primary), var(--primary-light), var(--primary));
  filter: blur(8px);
}

.service-card-glow-inner {
  position: absolute;
  inset: 2px;
  border-radius: 1rem;
  background: white;
}

.service-content {
  position: relative;
  z-index: 10;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  transition: all 0.5s ease;
}

.service-icon-img {
  display: block;
  width: 3rem;
  height: 3rem;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(3deg);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
  transition: all 0.5s ease;
}

@media (min-width: 640px) {
  .service-title {
    font-size: 1.5rem;
  }
}

.service-card:hover .service-title {
  color: var(--primary);
  transform: translateX(8px);
}

.service-description {
  color: #2d3748;
  line-height: 1.6;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .service-description {
    font-size: 1rem;
  }
}

/* Mobile tuning: meer lucht rondom de service cards (kleinere footprint) */
@media (max-width: 767px) {
  .services-section {
    padding: 2.75rem 0;
  }

  .services-grid {
    gap: 1.4rem;
    padding: 0 0.9rem;
  }

  /* Laat basisgrootte intact, maar meer ruimte rondom door grotere gap/padding */
  .service-card {
    padding: 2rem;
    border-radius: 1.5rem;
  }
}

.service-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--primary-light), var(--primary));
  transform: scaleX(0);
  transition: transform 0.5s ease;
  transform-origin: center;
  border-radius: 0 0 1rem 1rem;
}

.service-card:hover .service-accent-line {
  transform: scaleX(1);
}

.service-corner-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-bottom: 0;
  border-color: transparent;
  opacity: 0;
  transition: all 0.5s ease;
  border-radius: 0 1.5rem 0 0;
  z-index: 20;
}

.service-card:hover .service-corner-accent {
  opacity: 1;
  border-left: 32px solid transparent;
  border-bottom: 32px solid #004AAD;
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */

.dashboard-content {
  position: relative;
  z-index: 10;
}

.dashboard-container {
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .dashboard-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .dashboard-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.back-link:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

.back-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-title-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
}

.dashboard-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  flex: 1;
  min-width: 300px;
  font-family: var(--font-sans);
}

@media (min-width: 640px) {
  .dashboard-title {
    font-size: 2.25rem;
  }
}

/* Dashboard Header Content */
.dashboard-header-content {
  position: relative;
  width: 100%;
  touch-action: pan-y;
}

.dashboard-title-wrapper .dashboard-title {
  margin: 0;
  text-align: center;
  width: 100%;
}

/* Campaign Arrows - Fixed position at container edges */
.campaign-arrows-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
  max-width: 100%;
  padding: 0;
}

.campaign-title-arrow {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(0, 74, 173, 0.2);
  border-radius: 50%;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-sans);
  pointer-events: all;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.campaign-arrow-left {
  position: absolute;
  left: 0;
}

.campaign-arrow-right {
  position: absolute;
  right: 0;
}

.campaign-title-arrow:hover:not(:disabled) {
  background: #ffffff;
  border-color: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 74, 173, 0.3);
}

.campaign-title-arrow:active:not(:disabled) {
  transform: scale(0.95);
}

.campaign-title-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.campaign-arrow-symbol {
  line-height: 1;
  display: block;
}

@media (max-width: 768px) {
  .campaign-title-arrow {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
  }
  
  .dashboard-title {
    font-size: 1.25rem;
  }
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.metrics-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .metrics-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metrics-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .metrics-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.metric-card {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Dashboard metric card loading wave effect (zelfde als homepage) */
.metric-card.loading-wave {
  position: relative;
  overflow: hidden;
}

.metric-card.loading-wave::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(79, 156, 255, 0.15) 30%,
    rgba(79, 156, 255, 0.25) 50%,
    rgba(79, 156, 255, 0.15) 70%,
    transparent 100%
  );
  animation: waveMove 0.6s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

/* Zorg dat content boven wave overlay staat */
.metric-card.loading-wave > * {
  position: relative;
  z-index: 2;
}

/* Staggered timing per metric card */
.metrics-grid .metric-card:nth-child(1).loading-wave::before { animation-delay: 0ms; }
.metrics-grid .metric-card:nth-child(2).loading-wave::before { animation-delay: 100ms; }
.metrics-grid .metric-card:nth-child(3).loading-wave::before { animation-delay: 200ms; }
.metrics-grid .metric-card:nth-child(4).loading-wave::before { animation-delay: 300ms; }
.metrics-grid .metric-card:nth-child(5).loading-wave::before { animation-delay: 400ms; }
.metrics-grid .metric-card:nth-child(6).loading-wave::before { animation-delay: 500ms; }
.metrics-grid-4 .metric-card:nth-child(1).loading-wave::before { animation-delay: 600ms; }
.metrics-grid-4 .metric-card:nth-child(2).loading-wave::before { animation-delay: 700ms; }
.metrics-grid-4 .metric-card:nth-child(3).loading-wave::before { animation-delay: 800ms; }
.metrics-grid-4 .metric-card:nth-child(4).loading-wave::before { animation-delay: 900ms; }
.metrics-grid-3 .metric-card:nth-child(1).loading-wave::before { animation-delay: 1000ms; }
.metrics-grid-3 .metric-card:nth-child(2).loading-wave::before { animation-delay: 1100ms; }
.metrics-grid-3 .metric-card:nth-child(3).loading-wave::before { animation-delay: 1200ms; }

.metric-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5568;
  margin-bottom: 0.5rem;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
}

/* Charts Grid */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .charts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.chart-card {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chart-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.chart-container {
  height: 12rem;
  position: relative;
}

.chart-container svg {
  width: 100%;
  height: 100%;
}

/* Chart interactive points */
.chart-point {
  cursor: pointer;
  transition: r 0.2s ease;
}

.chart-point:hover {
  r: 8;
}

/* Chart tooltip styling */
.chart-tooltip {
  pointer-events: none;
}

/* Dashboard error message */
.dashboard-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.03) 100%);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: var(--font-sans);
}

.dashboard-error .error-message p {
  color: #ef4444;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
}

.dashboard-error .retry-btn {
  background: linear-gradient(135deg, #004AAD 0%, #0056c7 100%);
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-error .retry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 74, 173, 0.35);
}

/* ============================================
   MAIN CONTENT WRAPPER
   ============================================ */

.main-content {
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 639px) {
  .header-spacer {
    display: none;
  }
  
  .header-title-wrapper {
    position: static;
    transform: none;
    width: 100%;
  }
  
  .header-title-container {
    width: 100%;
  }
  
  .header-title {
    font-size: 1.25rem;
    text-align: center;
  }
}

/* ============================================
   FORM STYLES (Cold Email Bot)
   ============================================ */

.form-content {
  position: relative;
  z-index: 10;
}

.form-container {
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .form-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .form-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.form-header {
  margin-bottom: 2rem;
  text-align: center;
}

.form-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  font-family: var(--font-sans);
  text-align: center;
}

@media (min-width: 640px) {
  .form-title {
    font-size: 2.25rem;
  }
}

.page-explanation {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  line-height: 1.7;
  font-family: var(--font-sans);
  text-align: center;
  max-width: 700px;
  margin: 1rem auto 1.25rem;
  font-weight: 400;
}

.page-explanation-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.page-explanation-link:hover {
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.9;
}

.form-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.625;
  font-family: var(--font-sans);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Form Styles */
.apollo-form {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .apollo-form {
    padding: 2.5rem;
  }
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
}

.form-label-hint {
  color: #1a1a2e;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.8125rem;
}

.form-label-required {
  color: #ef4444;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  font-size: 1rem;
  color: #1a1a2e;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
  background: white;
}

/* Checkbox Grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.checkbox-grid-small {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--card-bg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.checkbox-item:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.98);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 74, 173, 0.2);
}

.checkbox-item input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-label {
  color: var(--primary);
  font-weight: 600;
}

.checkbox-label {
  color: #1a1a2e;
  font-size: 0.875rem;
  font-weight: 400;
  transition: all 0.3s ease;
}

/* Custom Select Dropdown */
.custom-select-wrapper {
  position: relative;
}

.custom-select {
  width: 100%;
  padding: 0.875rem 3rem 0.875rem 1.25rem;
  background: var(--card-bg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  font-size: 1rem;
  color: #1a1a2e;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}

.custom-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

.custom-select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.custom-select-wrapper:focus-within .custom-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-hint {
  font-size: 0.75rem;
  color: #1a1a2e;
  margin-top: 0.5rem;
  font-style: italic;
}

/* multiselect-wrapper removed - not used */

.form-submit-wrapper {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 74, 173, 0.3);
  position: relative;
  overflow: hidden;
}

.form-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 74, 173, 0.4);
}

.form-submit-btn:hover::before {
  opacity: 1;
}

.form-submit-btn:active {
  transform: translateY(0);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-submit-btn span {
  position: relative;
  z-index: 1;
}

.form-submit-icon {
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
  z-index: 1;
}

/* Loading spinner voor form submit */
.form-submit-spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: form-spin 0.8s linear infinite;
  position: relative;
  z-index: 1;
  display: inline-block;
}

@keyframes form-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   PREPARATION MEETING TAB STYLES
   ============================================ */

.preparation-content {
  position: relative;
  z-index: 10;
}

.preparation-container {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .preparation-container {
    padding: 2rem 0.75rem;
  }
}

@media (min-width: 640px) {
  .preparation-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .preparation-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Tab Navigation */
.preparation-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.preparation-tab-btn {
  position: relative;
  padding: 1rem 2rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: -2px;
  flex-shrink: 0;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .preparation-tabs {
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .preparation-tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 480px) {
  .preparation-tabs {
    gap: 0.125rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  
  .preparation-tab-btn {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    letter-spacing: 0.01em;
  }
}

.preparation-tab-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.preparation-tab-btn.active {
  color: #ffffff;
  border-bottom-color: var(--primary);
}

.preparation-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
}

.preparation-tab-btn span {
  position: relative;
  z-index: 1;
}

/* Tab Content */
.preparation-tab-content {
  display: none;
  animation: fadeInUp 0.3s ease;
}

.preparation-tab-content.active {
  display: block;
}

.preparation-basic-content,
.preparation-advanced-content,
.preparation-history-content {
  width: 100%;
}

/* Placeholder Content Styles */
.preparation-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 3rem 1rem;
}

.preparation-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 74, 173, 0.3);
  position: relative;
  overflow: hidden;
  font-family: var(--font-sans);
}

.preparation-action-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.preparation-action-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 74, 173, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.preparation-action-btn:hover::before {
  opacity: 1;
}

.preparation-action-btn:active {
  transform: translateY(0);
}

.preparation-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.preparation-action-btn span {
  position: relative;
  z-index: 1;
}

/* History Action Area */
.history-action-area,
.advanced-action-area {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem;
  min-height: 200px;
  flex-shrink: 0;
}

#history-messages {
  flex: 1;
  min-height: 0;
  max-height: 500px;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Empty state voor history messages */
#history-messages:empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

/* ============================================
   ADVANCED TAB LAYOUT - DRIE LAGEN
   ============================================ */

/* Laag 1: Context Card (blijft zichtbaar) */
.advanced-context-card {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.advanced-context-card .selected-meeting-display {
  padding: 0;
  background: transparent;
  border-bottom: none;
}

/* Laag 2: Selection Card (tijdelijk) */
.advanced-selection-card {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.advanced-selection-card .advanced-action-area {
  padding: 2rem 1.5rem;
  min-height: auto;
}

.advanced-selection-card .meeting-selection-container {
  padding: 0;
  border-bottom: none;
  margin-top: 1.5rem;
}

/* Laag 3: Voice Canvas (open achtergrond) */
.advanced-voice-canvas {
  background: transparent;
  padding: 2rem 0;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Advanced messages container binnen chat-voice-wrapper */
#advanced-messages {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid #22c55e;
  color: #16a34a;
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid #ef4444;
  color: #dc2626;
}

.form-message.info {
  display: block;
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid #3b82f6;
  color: #2563eb;
}

/* Webhook Response Display */
.webhook-response {
  margin-top: 2rem;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.webhook-response-header {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
}

.webhook-response-content {
  background: rgba(26, 26, 46, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 0.8125rem;
  color: #1a1a2e;
  font-family: 'Courier New', monospace;
  overflow-x: auto;
  max-height: 400px;
  overflow-y: auto;
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Status Badge */
.webhook-status-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.webhook-status-badge.status-success {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.webhook-status-badge.status-error {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Results Section */
.webhook-results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.webhook-message {
  background: rgba(59, 130, 246, 0.1);
  border-left: 4px solid #3b82f6;
  padding: 1rem;
  border-radius: 0.5rem;
  color: #1a1a2e;
  font-size: 0.9375rem;
  line-height: 1.6;
  font-family: var(--font-sans);
}

.webhook-results-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.webhook-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(26, 26, 46, 0.05);
  border-radius: 0.5rem;
  font-family: var(--font-sans);
}

.webhook-result-label {
  font-weight: 600;
  color: #1a1a2e;
  font-size: 0.875rem;
  min-width: 140px;
}

.webhook-result-value {
  color: #1a1a2e;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Search Parameters Section */
.webhook-parameters {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.webhook-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.webhook-parameters-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.webhook-parameter-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(26, 26, 46, 0.03);
  border-radius: 0.5rem;
  font-family: var(--font-sans);
}

.webhook-parameter-label {
  font-weight: 600;
  color: #1a1a2e;
  font-size: 0.875rem;
  min-width: 160px;
  flex-shrink: 0;
}

.webhook-parameter-value {
  color: #1a1a2e;
  font-size: 0.875rem;
  font-weight: 400;
  flex: 1;
  line-height: 1.5;
}

.webhook-sample-email {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(26, 26, 46, 0.12);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.webhook-sample-email-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.webhook-sample-email-subject {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.webhook-sample-email-body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #1a1a2e;
}

.webhook-sample-email-body p {
  margin: 0 0 1rem 0;
}

.webhook-sample-email-body p:last-child {
  margin-bottom: 0;
}

/* ============================================
   CONVERSATION SUMMARY TABS STYLES
   ============================================ */

.conversation-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.conversation-tab-btn {
  position: relative;
  padding: 1rem 2rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: -2px;
  flex-shrink: 0;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .conversation-tabs {
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .conversation-tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 480px) {
  .conversation-tabs {
    gap: 0.125rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .conversation-tab-btn {
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

.conversation-tab-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.conversation-tab-btn.active {
  color: #ffffff;
  border-bottom-color: var(--primary);
}

.conversation-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
}

.conversation-tab-btn span {
  position: relative;
  z-index: 1;
}

/* Tab Content */
.conversation-tab-content {
  display: none;
  animation: fadeInUp 0.3s ease;
}

.conversation-tab-content.active {
  display: block;
}

/* ============================================
   CALL SEARCH UI STYLES
   ============================================ */

.call-search-container {
  padding: 1.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  box-sizing: border-box;
}

.call-search-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.call-search-input {
  flex: 1;
  min-width: 0; /* Crucial voor flex truncation */
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  font-size: 1rem;
  color: #1a1a2e;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  box-sizing: border-box;
}

.call-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
  background: white;
}

.call-search-input::placeholder {
  color: #718096;
}

.call-search-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  border-radius: 0.75rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 74, 173, 0.3);
  box-sizing: border-box;
}

/* Mobile responsive voor search bar */
@media (max-width: 640px) {
  .call-search-wrapper {
    gap: 0.5rem;
    padding: 0 0.5rem;
  }
  
  .call-search-input {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }
  
  .call-search-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .call-search-wrapper {
    gap: 0.375rem;
    padding: 0 0.25rem;
  }
  
  .call-search-input {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
  }
  
  .call-search-btn {
    width: 40px;
    height: 40px;
  }
  
  .call-search-btn svg {
    width: 18px;
    height: 18px;
  }
}

.call-search-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 74, 173, 0.4);
}

.call-search-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.call-search-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.call-search-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Spinner animation voor loading state (tegen de klok in) */
@keyframes call-search-spin {
  to {
    transform: rotate(-360deg);
  }
}

.call-search-spinner {
  animation: call-search-spin 1s linear infinite;
}

/* ============================================
   PERSON SEARCH STYLES (vergelijkbaar met call search)
   ============================================ */

.person-search-container {
  padding: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.person-search-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.person-search-input {
  flex: 1;
  min-width: 0;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  font-size: 1rem;
  color: #1a1a2e;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  box-sizing: border-box;
}

.person-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
  background: white;
}

.person-search-input::placeholder {
  color: #718096;
}

.person-search-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  border-radius: 0.75rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 74, 173, 0.3);
  box-sizing: border-box;
}

.person-search-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 74, 173, 0.4);
}

.person-search-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.person-search-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.person-search-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.person-search-spinner {
  width: 1.25rem;
  height: 1.25rem;
  animation: spin 1s linear infinite;
}

/* Person List Container */
.person-list-container {
  padding: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.person-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Person Item */
.person-item {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0;
  transform: translateY(10px);
}

.person-item:hover {
  border-color: rgba(0, 74, 173, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.person-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.person-item-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  font-family: var(--font-sans);
}

.person-item-email {
  font-size: 0.875rem;
  color: #718096;
  margin: 0;
  font-family: var(--font-sans);
}

.person-item-company {
  font-size: 0.875rem;
  color: #4a5568;
  margin: 0;
  font-family: var(--font-sans);
}

/* Person Error Container */
.person-error-container {
  padding: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.person-error-message {
  padding: 1rem 1.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: 0.75rem;
  color: #dc2626;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font-sans);
  line-height: 1.6;
  text-align: center;
}

/* Mobile responsive voor person search */
@media (max-width: 640px) {
  .person-search-wrapper {
    gap: 0.5rem;
    padding: 0 0.5rem;
  }
  
  .person-search-input {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }
  
  .person-search-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .person-search-wrapper {
    gap: 0.375rem;
    padding: 0 0.25rem;
  }
  
  .person-search-input {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
  }
  
  .person-search-btn {
    width: 40px;
    height: 40px;
  }
  
  .person-search-btn svg {
    width: 18px;
    height: 18px;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

/* Call List Container */
.call-list-container {
  padding: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.call-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Scrollbar styling voor call list */
.call-list::-webkit-scrollbar {
  width: 6px;
}

.call-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.call-list::-webkit-scrollbar-thumb {
  background: rgba(0, 74, 173, 0.3);
  border-radius: 3px;
}

.call-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 74, 173, 0.5);
}

/* Call Card - Simple & Clean */
.call-item {
  background: var(--card-bg);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0;
  transform: translateY(10px);
}

.call-item:hover {
  border-color: rgba(0, 74, 173, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.call-item.active {
  border-color: var(--primary);
  background: rgba(0, 74, 173, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

.call-card-main {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.call-radio {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--primary);
}

.call-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
}

.call-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  font-family: var(--font-sans);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.call-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #4a5568;
  font-family: var(--font-sans);
}

.call-meta strong {
  font-weight: 600;
  color: #2d3748;
}

.call-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.call-badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-sans);
}

.badge-active {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-inactive {
  background: rgba(0, 0, 0, 0.05);
  color: #9ca3af;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.call-hubspot-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.call-hubspot-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 74, 173, 0.3);
}

.call-hubspot-btn svg {
  width: 1rem;
  height: 1rem;
}

/* Status kleuren verwijderd - blijft default kleur */

@media (max-width: 768px) {
  .call-card-main {
    flex-direction: column;
  }
  
  .call-details {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .call-hubspot-btn {
    align-self: flex-start;
  }
}

/* Error Container */
.call-error-container {
  padding: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.call-error-message {
  padding: 1rem 1.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: 0.75rem;
  color: #dc2626;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font-sans);
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 768px) {
  .call-item-details {
    grid-template-columns: 1fr;
  }
  
  .call-item-header {
    flex-direction: column;
  }
  
  .call-hubspot-link {
    align-self: flex-start;
  }
}

/* ============================================
   CALL SUBMIT BUTTON STYLES
   ============================================ */

.call-submit-section {
  margin-top: 2rem;
  padding: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.call-submit-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.call-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 74, 173, 0.2);
}

.call-submit-btn:hover:not(:disabled) {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 74, 173, 0.3);
}

.call-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.call-submit-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Spinner animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

.spinner {
  width: 1.5rem;
  height: 1.5rem;
  animation: spin 1s linear infinite;
}

/* Submit Status */
.call-submit-status {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-align: center;
  width: 100%;
}

/* Summary Display */
.call-summary-display {
  width: 100%;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.call-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

/* Mobile: CRM knop onder de titel */
@media (max-width: 640px) {
  .call-summary-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .call-summary-header .call-crm-btn {
    align-self: flex-start;
  }
}

.call-summary-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  font-family: var(--font-sans);
}

.call-crm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, #0056c7 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 74, 173, 0.3);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.call-crm-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 74, 173, 0.4);
}

.call-crm-btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.call-summary-content {
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.05);
  border-radius: 0.75rem;
  padding: 2rem;
  font-family: var(--font-sans);
  line-height: 1.7;
  color: #1a1a2e;
  max-height: 600px;
  overflow-y: auto;
}

.call-summary-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
}

.call-summary-content h3:first-child {
  margin-top: 0;
}

.call-summary-content ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.call-summary-content li {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.call-summary-content strong {
  font-weight: 700;
  color: #1a1a2e;
}

.call-summary-content br {
  margin: 0.5rem 0;
}

.call-submit-status.loading {
  background: rgba(59, 130, 246, 0.15);
  border: 2px solid rgba(59, 130, 246, 0.4);
  color: #1e40af;
}

.call-submit-status.success {
  background: rgba(34, 197, 94, 0.15);
  border: 2px solid rgba(34, 197, 94, 0.4);
  color: #15803d;
}

.call-submit-status.error {
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid rgba(239, 68, 68, 0.4);
  color: #b91c1c;
}

/* Responsive */
@media (max-width: 640px) {
  .call-submit-card {
    padding: 1.5rem;
  }
  
  .call-submit-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   CHAT INTERFACE STYLES (Conversation Summary)
   ============================================ */

.chat-content {
  position: relative;
  z-index: 10;
}

.chat-container {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .chat-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .chat-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.chat-header {
  margin-bottom: 2rem;
  text-align: center;
}

.chat-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  font-family: var(--font-sans);
  text-align: center;
}

@media (min-width: 640px) {
  .chat-title {
    font-size: 2.25rem;
  }
}

.chat-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.625;
  font-family: var(--font-sans);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.chat-info-note {
  margin-top: 1.5rem;
  display: block;
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans);
}

.chat-info-note small {
  font-size: 0.8125rem;
  font-style: italic;
}

#concurrentie-bedrijf-toevoegen-content .chat-info-note {
  color: #d1d5db;
}

.chat-interface {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 600px;
  max-height: 800px;
  overflow: hidden;
}

/* Specifieke breedte voor Blue Observer Agent chat-interface */
.chat-content[data-webhook-url*="blue-observer-agent"] .chat-interface {
  max-width: 600px;
  margin: 0 auto;
}

.chat-messages {
  flex: 1;
  min-height: 0;
  max-height: 500px;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.chat-welcome {
  text-align: center;
  padding: 2rem;
  color: #4a5568;
  font-style: italic;
  font-family: var(--font-sans);
}

.chat-message {
  display: flex;
  max-width: 80%;
  animation: fadeInUp 0.3s ease-out;
}

.chat-message-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-message-assistant {
  align-self: flex-start;
}

.chat-message-content {
  padding: 0.875rem 1.25rem;
  border-radius: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  font-family: var(--font-sans);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
  overflow-x: hidden;
}

.chat-message-user .chat-message-content {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  border-bottom-right-radius: 0.25rem;
}

.chat-message-assistant .chat-message-content {
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a2e;
  border-bottom-left-radius: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-message-loading .chat-message-content {
  opacity: 0.6;
}

.chat-message-loading .chat-message-content::after {
  content: '...';
  animation: dots 1.5s steps(4, end) infinite;
}

.chat-message-error .chat-message-content {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

.chat-input-area {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  min-height: 200px;
  position: relative;
}

.chat-voice-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

/* Recording Timer */
.recording-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.recording-timer span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5568;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
}

.chat-input-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  font-size: 1rem;
  color: #1a1a2e;
  font-family: var(--font-sans);
  resize: none;
  min-height: 48px;
  max-height: 200px;
  transition: all 0.3s ease;
  line-height: 1.5;
}

.chat-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

.chat-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.chat-send-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 74, 173, 0.3);
}

.chat-send-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 74, 173, 0.4);
}

.chat-send-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.chat-send-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.chat-send-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Mode Switch Button */
.chat-mode-switch-btn {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.chat-mode-switch-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 74, 173, 0.4);
}

.chat-mode-switch-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.chat-mode-switch-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.chat-mode-switch-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Text Input Wrapper */
.chat-text-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Text Input (gebruik bestaande styling) */
.chat-text-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  font-size: 1rem;
  color: #1a1a2e;
  font-family: var(--font-sans);
  resize: none;
  min-height: 48px;
  max-height: 200px;
  transition: all 0.3s ease;
  line-height: 1.5;
  overflow-y: auto;
}

.chat-text-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

.chat-text-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Text Send Button (gebruik bestaande styling) */
.chat-text-send-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 74, 173, 0.3);
}

.chat-text-send-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 74, 173, 0.4);
}

.chat-text-send-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.chat-text-send-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.chat-text-send-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Voice Recording Styles */
.chat-record-btn-large {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 74, 173, 0.4);
}

.chat-record-btn-large:hover:not(:disabled) {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0, 74, 173, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}

.chat-record-btn-large:active:not(:disabled) {
  transform: scale(1.05);
}

.chat-record-btn-large.recording {
  background: rgba(239, 68, 68, 0.9);
  border-color: #ef4444;
  animation: pulse-recording-large 2s ease-in-out infinite;
}

.chat-record-btn-large.recording svg {
  color: #ffffff;
}

.chat-record-btn-large:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.chat-record-btn-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(0, 74, 173, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.chat-record-btn-large svg {
  width: 3rem;
  height: 3rem;
}

@keyframes pulse-recording {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
}

@keyframes pulse-recording-large {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7), 0 8px 24px rgba(239, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(239, 68, 68, 0), 0 12px 32px rgba(239, 68, 68, 0.6);
  }
}

/* Start Button Styles */
.start-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem;
  min-height: 200px;
  gap: 1rem;
  flex-wrap: wrap;
}

.chat-start-btn {
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 74, 173, 0.3);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .chat-start-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .start-button-container {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .chat-start-btn {
    width: 100%;
    max-width: 300px;
  }
}

.chat-start-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 74, 173, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.chat-start-btn:active:not(:disabled) {
  transform: translateY(0);
}

.chat-start-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Selected Meeting Display */
.selected-meeting-display {
  padding: 1rem 1.5rem;
  background: rgba(0, 74, 173, 0.1);
  border-bottom: 2px solid rgba(0, 74, 173, 0.2);
}

.selected-meeting-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.selected-meeting-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a5568;
}

/* Selected Person Display (voor person search flow) */
.selected-person-display {
  padding: 1rem 1.5rem;
  background: rgba(0, 74, 173, 0.1);
  border-bottom: 2px solid rgba(0, 74, 173, 0.2);
}

.selected-person-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.selected-person-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.selected-person-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
}

.selected-meeting-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1a1a2e;
  font-family: var(--font-sans);
  line-height: 1.6;
}

/* Meeting Selection Container */
.meeting-selection-container {
  padding: 1.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  box-sizing: border-box;
}

.meeting-selection-header {
  margin-bottom: 1rem;
}

.meeting-selection-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  font-family: var(--font-sans);
  margin: 0;
}

.meeting-radio-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Scrollbar styling voor meeting list */
.meeting-radio-list::-webkit-scrollbar {
  width: 6px;
}

.meeting-radio-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.meeting-radio-list::-webkit-scrollbar-thumb {
  background: rgba(0, 74, 173, 0.3);
  border-radius: 3px;
}

.meeting-radio-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 74, 173, 0.5);
}

@media (max-width: 768px) {
  .meeting-radio-list {
    grid-template-columns: repeat(2, 1fr);
    max-height: 200px;
  }
  
  .chat-interface {
    min-height: 500px;
    max-height: 90vh;
  }
  
  .chat-messages {
    max-height: 350px;
  }
  
  .chat-message {
    max-width: 95%;
  }
  
  .chat-message-content {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .meeting-radio-list {
    grid-template-columns: 1fr;
  }
  
  .chat-interface {
    min-height: 400px;
    max-height: 85vh;
  }
  
  .chat-messages {
    max-height: 250px;
  }
  
  .chat-message {
    max-width: 98%;
  }
  
  .chat-message-content {
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
  }
}

.meeting-radio-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
  min-height: 80px;
}

.meeting-radio-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 74, 173, 0.3);
}

.meeting-radio-item input[type="radio"] {
  margin-top: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.meeting-radio-item input[type="radio"]:checked + .meeting-radio-label {
  color: var(--primary);
  font-weight: 600;
}

.meeting-radio-label {
  flex: 1;
  font-size: 0.9375rem;
  color: #1a1a2e;
  font-family: var(--font-sans);
  line-height: 1.5;
  user-select: none;
}

/* Begin Voorbereiding Button */
.begin-preparation-container {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.begin-preparation-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #004AAD, #0056d6);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 74, 173, 0.3);
}

.begin-preparation-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 74, 173, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #003d8f, #004AAD);
}

.begin-preparation-btn:active:not(:disabled) {
  transform: translateY(0);
}

.begin-preparation-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.chat-recording-status {
  margin-top: 0;
  padding: 1rem 1.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
}

.chat-recording-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ef4444;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
}

.chat-recording-dot {
  width: 12px;
  height: 12px;
  background: #ef4444;
  border-radius: 50%;
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.chat-stop-recording-btn {
  padding: 0.5rem 1.25rem;
  background: #ef4444;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}

.chat-stop-recording-btn:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.chat-stop-recording-btn:active {
  transform: translateY(0);
}

/* Summary Ready Button */
#conversation-klantgesprek-content.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#conversation-klantgesprek-content.active .chat-interface {
  width: 100%;
  align-self: stretch;
}

.summary-ready-container {
  margin-top: 1.5rem;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 900px;
}

.summary-ready-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #f97316, #fb923c);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.summary-ready-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #ea580c, #f97316);
}

.summary-ready-btn:active:not(:disabled) {
  transform: translateY(0);
}

.summary-ready-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   SECURITY - HONEYPOT FIELDS
   ============================================ */

/* Honeypot velden zijn onzichtbaar voor gebruikers maar zichtbaar voor bots */
.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Screen reader only - voor label van honeypot */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ============================================
   CHAT HISTORY STYLES
   ============================================ */

/* Selected chat display met terug knop */
.selected-meeting-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(0, 74, 173, 0.1);
  border-bottom: 2px solid rgba(0, 74, 173, 0.2);
}

/* Terug knop in chat header */
.chat-history-back-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 2px solid rgba(0, 74, 173, 0.3);
  border-radius: 0.5rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s ease;
}

.chat-history-back-btn:hover {
  background: rgba(0, 74, 173, 0.1);
  border-color: var(--primary);
  transform: translateX(-2px);
}

.chat-history-back-btn:active {
  transform: translateX(0);
}

.chat-history-back-btn svg {
  width: 1rem;
  height: 1rem;
}

/* Chat transcript container */
.chat-transcript-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* Chat berichten in transcript moeten meer ruimte hebben en volledige breedte gebruiken */
.chat-transcript-container .chat-message {
  max-width: 85% !important;
  width: auto !important;
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.chat-transcript-container .chat-message-user {
  align-self: flex-end !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

.chat-transcript-container .chat-message-assistant {
  align-self: flex-start !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Meer padding in chat berichten voor transcript */
.chat-transcript-container .chat-message-content {
  padding: 1rem 1.5rem !important;
}

/* Chat selectie voor history - vollere breedte items */
#chat-selection-container {
  padding: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

#chat-radio-list {
  grid-template-columns: 1fr;
  max-height: 400px;
  width: 100%;
  gap: 1rem;
  padding-right: 0.5rem;
  box-sizing: border-box;
  margin: 0;
}

#chat-radio-list .meeting-radio-item {
  min-height: auto;
  padding: 1rem 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  flex: 1 1 100%;
}

#chat-radio-list .meeting-radio-label {
  font-size: 0.875rem;
  line-height: 1.6;
  display: block;
  width: 100%;
  flex: 1;
  min-width: 0;
}

/* Responsive voor chat history */
@media (min-width: 768px) {
  #chat-radio-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  #chat-radio-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .chat-history-back-btn span {
    display: none;
  }
  
  .chat-history-back-btn {
    padding: 0.5rem;
  }
  
  .selected-meeting-title {
    font-size: 0.8125rem;
  }
}

/* ============================================
   MOCK NOTE STYLING
   ============================================ */

.mock-note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 74, 173, 0.08);
  border: 1px solid rgba(0, 74, 173, 0.15);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #4a5568;
  text-align: center;
  font-style: italic;
}

/* Call item selectie styling */
.call-item {
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
}

.call-item:hover {
  border-color: rgba(0, 74, 173, 0.3);
  transform: translateY(-1px);
}

.call-item.selected {
  border-color: #004AAD;
  background: rgba(0, 74, 173, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

.call-item .call-info {
  flex: 1;
}

.call-item .call-title {
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.call-item .call-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #4a5568;
  margin-bottom: 0.5rem;
}

.call-item .call-meta strong {
  color: #1a1a2e;
}

.call-item .call-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.call-item .call-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.call-item .call-badge.badge-active {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.call-item .call-badge.badge-inactive {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}

/* ============================================
   CONCURRENTIE ANALYSE TAB STYLES
   ============================================ */

.concurrentie-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.concurrentie-tab-btn {
  position: relative;
  padding: 1rem 2rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: -2px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .concurrentie-tabs {
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .concurrentie-tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 480px) {
  .concurrentie-tabs {
    gap: 0.125rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .concurrentie-tab-btn {
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

.concurrentie-tab-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.concurrentie-tab-btn.active {
  color: #ffffff;
  border-bottom-color: var(--primary);
}

.concurrentie-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
}

.concurrentie-tab-btn span {
  position: relative;
  z-index: 1;
}

.concurrentie-tab-content {
  display: none;
  animation: fadeInUp 0.3s ease;
}

.concurrentie-tab-content.active {
  display: block;
}

.concurrentie-action-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 1.5rem;
  min-height: 200px;
  flex-wrap: wrap;
}

.concurrentie-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 74, 173, 0.3);
  position: relative;
  overflow: hidden;
  font-family: var(--font-sans);
}

.concurrentie-action-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.concurrentie-action-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 74, 173, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.concurrentie-action-btn:hover::before {
  opacity: 1;
}

.concurrentie-action-btn:active {
  transform: translateY(0);
}

.concurrentie-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.concurrentie-action-btn span {
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .concurrentie-action-buttons {
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1rem;
  }
  .concurrentie-action-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

.bedrijf-toevoegen-container {
  padding: 3rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.bedrijf-search-wrapper {
  width: 100%;
  margin-bottom: 1.5rem;
}

.bedrijf-search-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  font-size: 1rem;
  color: #1a1a2e;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  box-sizing: border-box;
}

.bedrijf-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
  background: white;
}

.bedrijf-search-input::placeholder {
  color: #718096;
}

.bedrijf-add-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.bedrijf-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 74, 173, 0.3);
  position: relative;
  overflow: hidden;
  font-family: var(--font-sans);
}

.bedrijf-add-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bedrijf-add-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 74, 173, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.bedrijf-add-btn:hover::before {
  opacity: 1;
}

.bedrijf-add-btn:active {
  transform: translateY(0);
}

.bedrijf-add-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.bedrijf-add-btn span {
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .bedrijf-toevoegen-container {
    padding: 2rem 1rem;
  }
  .bedrijf-add-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

.concurrentie-data-container {
  width: 100%;
  padding: 2rem 0;
  animation: fadeInUp 0.3s ease;
  overflow-y: auto;
  max-height: calc(100vh - 200px);
  min-height: 400px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#concurrentie-analyse-content .chat-interface {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 250px);
  min-height: 600px;
}

#concurrentie-analyse-content .concurrentie-data-container {
  flex: 1;
  max-height: none;
  height: 100%;
}

.concurrentie-data-header {
  margin-bottom: 2rem;
  text-align: center;
}

.concurrentie-data-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
}

.concurrentie-data-subtitle {
  font-size: 1rem;
  color: #6b7280;
  font-family: var(--font-sans);
}

.bedrijven-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.bedrijf-card-row {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 1.25rem 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.bedrijf-card-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.bedrijf-card-left {
  flex: 0 0 200px;
  min-width: 150px;
  padding-right: 1rem;
  border-right: 2px solid rgba(255, 255, 255, 0.1);
}

.bedrijf-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 0.5rem 0;
  font-family: var(--font-sans);
  word-wrap: break-word;
  line-height: 1.3;
}

.bedrijf-website-link {
  font-size: 0.8125rem;
  color: var(--primary);
  text-decoration: none;
  word-break: break-all;
  display: block;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.bedrijf-website-link:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.bedrijf-card-right {
  flex: 1;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.bedrijf-data-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 120px;
}

.bedrijf-data-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.bedrijf-data-label {
  font-size: 0.6875rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-family: var(--font-sans);
  line-height: 1.2;
}

.bedrijf-data-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a2e;
  font-family: var(--font-sans);
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.bedrijf-data-percentage {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}

.bedrijf-data-delta {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 400;
}

.bedrijf-update-info {
  font-size: 0.75rem;
  color: #6b7280;
  font-style: italic;
  font-family: var(--font-sans);
  margin: 0;
  padding-top: 0.5rem;
}

.bedrijf-news-section {
  width: 100%;
}

.bedrijf-news-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bedrijf-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  grid-column: 1 / span 2;
}

.bedrijf-news-header-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0.25rem;
}

.bedrijf-news-header {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bedrijf-news-header-left {
  grid-column: 1 / span 2;
}

.bedrijf-news-header-right {
  grid-column: 3 / 4;
  text-align: right;
}

.bedrijf-news-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.bedrijf-news-item:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--primary);
}

.bedrijf-news-details {
  border-radius: 0.375rem;
}

.bedrijf-news-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
}

.bedrijf-news-summary::-webkit-details-marker {
  display: none;
}

.bedrijf-news-summary-main {
  flex: 1;
  min-width: 0;
}

.bedrijf-news-toggle-icon {
  font-size: 0.75rem;
  color: #6b7280;
  transition: transform 0.2s ease;
}

.bedrijf-news-details[open] .bedrijf-news-toggle-icon {
  transform: rotate(180deg);
}

.bedrijf-news-summary-content {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #374151;
  font-family: var(--font-sans);
}

.bedrijf-news-date {
  font-size: 0.6875rem;
  color: #6b7280;
  font-family: var(--font-sans);
  font-weight: 500;
}

.bedrijf-news-link {
  font-size: 0.8125rem;
  color: var(--primary);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.4;
  word-break: break-word;
  transition: color 0.2s ease;
  display: block;
  cursor: pointer;
}

.bedrijf-news-link:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.bedrijf-news-link:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.bedrijf-news-text {
  font-size: 0.8125rem;
  color: #1a1a2e;
  font-family: var(--font-sans);
  line-height: 1.4;
  word-break: break-word;
}

.bedrijf-funding-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  grid-column: 3 / 4;
}

.bedrijf-funding-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .bedrijf-news-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .bedrijf-news-list {
    grid-template-columns: minmax(0, 1fr);
    grid-column: 1 / -1;
  }
  .bedrijf-funding-column {
    grid-column: 1 / -1;
  }
}

#bedrijf-toevoegen-messages {
  margin-top: 2rem;
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bedrijf-message {
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.3s ease;
}

.bedrijf-message-success {
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid #22c55e;
  color: #16a34a;
}

.bedrijf-message-error {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid #ef4444;
  color: #dc2626;
}

.bedrijf-message-content {
  margin: 0;
}

.bedrijf-success-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bedrijf-success-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bedrijf-success-label {
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bedrijf-success-value {
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .bedrijf-card-left {
    flex: 0 0 150px;
    min-width: 120px;
  }
  .bedrijf-card-right {
    gap: 1rem;
  }
  .bedrijf-data-section {
    min-width: 100px;
  }
}

@media (max-width: 768px) {
  .bedrijf-card-row {
    flex-direction: column;
    gap: 1rem;
  }
  .bedrijf-card-left {
    flex: 1;
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-right: 0;
    padding-bottom: 1rem;
  }
  .bedrijf-card-right {
    flex-direction: column;
    gap: 1rem;
  }
}

.analyse-html-content {
  background: rgba(255, 255, 255, 0.95);
  margin: 0 auto;
  padding: 2rem;
  border-radius: 1rem;
  font-family: var(--font-sans);
  line-height: 1.6;
  color: #1a1a2e;
}

.analyse-html-content h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1a1a2e;
}

.analyse-html-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 74, 173, 0.2);
  color: #1a1a2e;
}

.analyse-html-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 74, 173, 0.2);
  color: #1a1a2e;
}

.analyse-html-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #1a1a2e;
}

.analyse-html-content a {
  color: var(--primary);
  text-decoration: none;
}

.analyse-html-content a:hover {
  text-decoration: underline;
}

.analyse-html-content p,
.analyse-html-content ul {
  margin-bottom: 1rem;
}

.analyse-html-content ul {
  padding-left: 1.5rem;
}

.analyse-html-content hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}
/* ============================================
   AUTOMATIC OUTREACH TABS
   ============================================ */

.outreach-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.outreach-tab-btn {
  position: relative;
  padding: 1rem 2rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: -2px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .outreach-tabs {
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .outreach-tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 480px) {
  .outreach-tabs {
    gap: 0.125rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .outreach-tab-btn {
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

.outreach-tab-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.outreach-tab-btn.active {
  color: #ffffff;
  border-bottom-color: var(--primary);
}

.outreach-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
}

.outreach-tab-btn span {
  position: relative;
  z-index: 1;
}

.outreach-tab-content {
  display: none;
  animation: fadeInUp 0.3s ease;
}

.outreach-tab-content.active {
  display: block;
}

/* ============================================
   DIRECT OUTREACH FUNNEL
   ============================================ */

.funnel-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.funnel-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  min-width: 4.5rem;
}

.funnel-progress-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
  color: #64748b;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}

.funnel-progress-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.55);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
}

.funnel-progress-line {
  flex: 1;
  max-width: 3rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 1.25rem;
  transition: background 0.3s ease;
}

.funnel-progress-line.completed {
  background: var(--primary);
}

.funnel-progress-step.active .funnel-progress-number {
  color: white;
  background: #5b9fd4;
  border-color: #5b9fd4;
}

.funnel-progress-step.active .funnel-progress-label {
  color: #5b9fd4;
}

.funnel-progress-step.completed .funnel-progress-number {
  color: white;
  background: var(--primary);
  border-color: var(--primary);
}

.funnel-progress-step.completed .funnel-progress-label {
  color: var(--primary);
}

.funnel-step[hidden] {
  display: none !important;
}

.funnel-step-summary {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 74, 173, 0.08);
  border: 2px solid rgba(0, 74, 173, 0.2);
  border-radius: 0.75rem;
}

.funnel-summary-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.375rem;
  font-family: var(--font-sans);
}

.funnel-summary-value {
  font-size: 0.9375rem;
  color: #1a1a2e;
  font-family: var(--font-sans);
}

.funnel-summary-detail {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(26, 26, 46, 0.7);
  font-family: var(--font-sans);
}

.step-1-search-panel[hidden],
.step-1-loading-panel[hidden],
.step-1-results-panel[hidden],
.step-2-form-panel[hidden],
.step-3-content-panel[hidden],
.step-3-success-panel[hidden] {
  display: none !important;
}

.step-1-results-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-1-loading-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 3rem 1.5rem;
  min-height: 12rem;
}

.step-1-loading-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid rgba(0, 74, 173, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: form-spin 0.8s linear infinite;
}

.step-1-loading-text {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(26, 26, 46, 0.7);
  font-family: var(--font-sans);
}

.step-1-results-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.step-1-retry-btn {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 2px solid rgba(0, 74, 173, 0.25);
  border-radius: 0.5rem;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.2s ease;
}

.step-1-retry-btn:hover {
  background: rgba(0, 74, 173, 0.08);
  border-color: var(--primary);
}

.organization-picker {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 24rem;
  overflow-y: auto;
  padding: 0.25rem;
}

.organization-option {
  display: block;
  cursor: pointer;
}

.organization-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.organization-option-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.organization-option:hover .organization-option-card {
  border-color: rgba(0, 74, 173, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.organization-option input:checked + .organization-option-card {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.12);
}

.organization-option-logo {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  object-fit: contain;
  background: rgba(0, 74, 173, 0.06);
  border: 1px solid rgba(0, 74, 173, 0.12);
}

.organization-option-logo-fallback {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: rgba(0, 74, 173, 0.1);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-sans);
  border: 1px solid rgba(0, 74, 173, 0.15);
}

.organization-option-body {
  flex: 1;
  min-width: 0;
}

.organization-option-name {
  margin: 0 0 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a2e;
  font-family: var(--font-sans);
  line-height: 1.35;
}

.organization-option-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  color: rgba(26, 26, 46, 0.65);
  font-family: var(--font-sans);
}

.organization-option-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.organization-picker-empty {
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  color: rgba(26, 26, 46, 0.65);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
}

.funnel-summary-org {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.funnel-summary-org-logo,
.funnel-summary-org-logo-fallback {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  object-fit: contain;
}

.funnel-summary-org-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 74, 173, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-sans);
}

.people-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 24rem;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  padding: 0.25rem;
}

.person-option {
  display: block;
  cursor: pointer;
  position: relative;
}

.person-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.person-option--locked {
  cursor: not-allowed;
  opacity: 0.55;
}

.person-option--locked .person-option-card {
  pointer-events: none;
}

.person-option-card {
  display: flex;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.person-option:hover .person-option-card {
  border-color: rgba(0, 74, 173, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.person-option input:checked + .person-option-card {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.12);
}

.person-card-body {
  flex: 1;
  min-width: 0;
}

.person-card-name {
  margin: 0 0 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a2e;
  font-family: var(--font-sans);
  line-height: 1.35;
}

.person-card-title {
  margin: 0 0 0.375rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-sans);
  line-height: 1.35;
}

.person-card-org {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  color: rgba(26, 26, 46, 0.75);
  font-family: var(--font-sans);
}

.people-list-empty {
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  color: rgba(26, 26, 46, 0.65);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  margin-bottom: 1.5rem;
}

.step-3-approve-wrapper {
  margin-top: 0.5rem;
}

.step-3-success-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 0 0.5rem;
}

.step-3-success-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.step-3-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(0, 74, 173, 0.12);
  color: var(--primary);
}

.step-3-success-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.step-3-success-title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 600;
  color: #1a1a2e;
  font-family: var(--font-sans);
}

.step-3-success-text {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(26, 26, 46, 0.65);
  font-family: var(--font-sans);
  max-width: 28rem;
  line-height: 1.5;
}

.approved-leads-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.approved-lead-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 2px solid rgba(0, 74, 173, 0.12);
  border-radius: 0.75rem;
}

.approved-lead-photo {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(0, 74, 173, 0.06);
  border: 1px solid rgba(0, 74, 173, 0.12);
}

.approved-lead-photo-fallback {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(0, 74, 173, 0.1);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-sans);
  border: 1px solid rgba(0, 74, 173, 0.15);
}

.approved-lead-body {
  flex: 1;
  min-width: 0;
}

.approved-lead-name {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a2e;
  font-family: var(--font-sans);
  line-height: 1.35;
}

.approved-lead-title {
  margin: 0 0 0.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-sans);
}

.approved-lead-company {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(26, 26, 46, 0.65);
  font-family: var(--font-sans);
}

.approved-lead-linkedin {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  color: var(--primary);
  background: rgba(0, 74, 173, 0.08);
  border: 1px solid rgba(0, 74, 173, 0.15);
  transition: all 0.2s ease;
}

.approved-lead-linkedin:hover {
  background: rgba(0, 74, 173, 0.15);
  border-color: var(--primary);
}

.approved-lead-linkedin svg {
  width: 1.125rem;
  height: 1.125rem;
}

.checkbox-grid.has-error {
  border-color: #ef4444;
}

.form-hint-error {
  color: #ef4444;
  font-weight: 600;
}
