@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');/* Modern CSS Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

#root {
  isolation: isolate;
  min-height: 100vh;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Link styles */
a {
  color: #667eea;
  text-decoration: none;
}

a:hover {
  color: #4f46e5;
  text-decoration: underline;
}
.notifications-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  width: 100%;
}

.notification {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  cursor: pointer;
  transform: translateX(100%);
  animation: slideIn 0.3s ease-out forwards;
}

.notification:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.notification--success {
  border-left: 4px solid #10b981;
}

.notification--success .notification__content {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 0%, transparent 100%);
}

.notification--error {
  border-left: 4px solid #ef4444;
}

.notification--error .notification__content {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.1) 0%, transparent 100%);
}

.notification--warning {
  border-left: 4px solid #f59e0b;
}

.notification--warning .notification__content {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.1) 0%, transparent 100%);
}

.notification--info {
  border-left: 4px solid #4f46e5;
}

.notification--info .notification__content {
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.1) 0%, transparent 100%);
}

.notification__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.notification__message {
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
  margin-right: 12px;
}

.notification__close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.notification__close:hover {
  background: #f8fafc;
  color: #1e293b;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@media (max-width: 480px) {
  .notifications-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .notification__content {
    padding: 14px 16px;
  }

  .notification__message {
    font-size: 0.85rem;
  }
}
.notification-dropdown {
  position: relative;
  display: inline-block;
}

.notification-bell {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.notification-bell:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.bell-icon {
  color: #6b7280;
  transition: color 0.2s ease;
}

.notification-bell:hover .bell-icon {
  color: #374151;
}

.notification-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: #ef4444;
  color: white;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notification-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-height: 500px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.notification-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
}

.notification-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background-color: #f3f4f6;
  color: #374151;
}

.notification-loading {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #6b7280;
}

.notification-empty {
  padding: 40px 20px;
  text-align: center;
  color: #6b7280;
}

.empty-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.notification-empty h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
}

.notification-empty p {
  margin: 0;
  font-size: 14px;
}

.notification-actions {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  gap: 8px;
  background: #fafafa;
}

.action-btn {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.action-btn:hover:not(:disabled) {
  background-color: #f9fafb;
  border-color: #d1d5db;
}

.action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.mark-read-btn {
  color: #059669;
  border-color: #d1fae5;
}

.mark-read-btn:hover:not(:disabled) {
  background-color: #f0fdf4;
  border-color: #a7f3d0;
}

.clear-btn {
  color: #dc2626;
  border-color: #fecaca;
}

.clear-btn:hover:not(:disabled) {
  background-color: #fef2f2;
  border-color: #fca5a5;
}

.notification-list {
  max-height: 350px;
  overflow-y: auto;
  padding: 8px 0;
}

.notification-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f9fafb;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: background-color 0.2s ease;
  position: relative;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item:hover {
  background-color: #f9fafb;
}

.notification-item.unread {
  background-color: #eff6ff;
  border-left: 3px solid #3b82f6;
}

.notification-item.unread:hover {
  background-color: #dbeafe;
}

.notification-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
}

/* Lucide React notification type icons */
.notification-type-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.message-reply-icon {
  color: #3b82f6; /* Blue - matches message theme */
}

.task-completed-icon {
  color: #10b981; /* Green - success color */
}

.action-required-icon {
  color: #f59e0b; /* Amber - warning color */
}

.default-icon {
  color: #6b7280; /* Gray - neutral color */
}

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

.notification-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.unread-indicator {
  width: 6px;
  height: 6px;
  background-color: #3b82f6;
  border-radius: 50%;
  flex-shrink: 0;
}

.notification-message {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #9ca3af;
}

.notification-action {
  margin-left: auto;
  flex-shrink: 0;
}

.action-text {
  font-size: 12px;
  color: #3b82f6;
  font-weight: 500;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #f3f4f6;
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-small {
  width: 14px;
  height: 14px;
  border: 2px solid #f3f4f6;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .notification-dropdown-menu {
    width: 320px;
    max-width: calc(100vw - 32px);
  }
  
  .notification-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .action-btn {
    padding: 10px 12px;
  }
}/* Main Layout styles */
.main-layout {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
}

.main-header {
  background-color: #ffffff;
  color: #1f2937;
  padding: 0.25rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo .logo-image {
  width: 180px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.header-logo .logo-image:hover {
  transform: scale(1.05);
}

.header-user {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Notification dropdown is handled by the NotificationDropdown component */

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

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

.user-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.user-role {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
}

.logout-btn {
  background: none;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  min-width: 32px;
}

.logout-btn:hover {
  background-color: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

.logout-btn:hover .logout-icon {
  color: #dc2626;
}

.logout-btn:active {
  background-color: #fee2e2;
}

.logout-icon {
  font-size: 1rem;
  transition: color 0.2s ease;
}

.logout-text {
  font-size: 0.875rem;
}

.main-content {
  flex: 1;
  background-color: #f9fafb;
  width: 100%;
  overflow-x: hidden;
  padding: 0;
}

.main-footer {
  background-color: #ffffff;
  color: #6b7280;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.875rem;
}

.main-footer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    padding: 0 16px;
  }
  
  .header-logo .logo-image {
    width: 60px;
    height: 60px;
  }
  
  .user-info {
    display: none;
  }
  
  .logout-text {
    display: none;
  }
  
  .logout-btn {
    padding: 8px;
    min-width: 36px;
    justify-content: center;
  }
  
  .header-user {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .header-logo .logo-image {
    width: 50px;
    height: 50px;
  }
  
  .user-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}
/* Notification highlight animation */
.notification-highlight {
  animation: notificationHighlight 3s ease-in-out;
  position: relative;
  overflow: visible;
}

@keyframes notificationHighlight {
  0% {
    background-color: transparent;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  10% {
    background-color: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.2);
  }
  20% {
    background-color: rgba(59, 130, 246, 0.15);
    box-shadow: 0 0 0 12px rgba(59, 130, 246, 0.1);
  }
  50% {
    background-color: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
  }
  100% {
    background-color: transparent;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* Task-specific highlight styles */
.timeline-item.notification-highlight {
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
  margin-left: -4px;
  padding-left: 16px;
}

/* Message-specific highlight styles */
.message-item.notification-highlight {
  border-radius: 12px;
  margin: 8px;
  padding: 8px;
}

/* Alternative pulsing highlight effect */
.notification-pulse {
  animation: notificationPulse 2s ease-in-out 3;
}

@keyframes notificationPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.9;
  }
}

/* Notification attention grabber */
.notification-attention {
  position: relative;
}

.notification-attention::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #3b82f6, #1d4ed8, #3b82f6);
  border-radius: inherit;
  z-index: -1;
  animation: notificationGlow 2s ease-in-out infinite alternate;
}

@keyframes notificationGlow {
  0% {
    opacity: 0.3;
    filter: blur(2px);
  }
  100% {
    opacity: 0.6;
    filter: blur(4px);
  }
}

/* Smooth transitions for all notification effects */
.timeline-item,
.message-item {
  transition: all 0.3s ease;
}

/* Focus styles for accessibility */
.notification-highlight:focus,
.notification-highlight:focus-within {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .notification-highlight,
  .notification-pulse,
  .notification-attention::before {
    animation: none;
  }
  
  .notification-highlight {
    background-color: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
  }
  
  .timeline-item,
  .message-item {
    transition: none;
  }
}/* Auth Layout styles */
.auth-layout {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  padding: 1rem;
}

.auth-container {
  width: 100%;
  max-width: 450px;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
  color: white;
}

.auth-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-subtitle {
  margin: 0;
  opacity: 0.95;
  font-size: 1.125rem;
  font-weight: 400;
}

@media (max-width: 768px) {
  .auth-layout {
    padding: 0.5rem;
  }
  
  .auth-container {
    max-width: 100%;
  }
  
  .auth-header {
    margin-bottom: 1.5rem;
  }
  
  .auth-title {
    font-size: 2.5rem;
  }
  
  .auth-subtitle {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  .auth-container {
    max-width: 500px;
  }
}
/* Contact Options Container */
._contact-options_r3vrb_2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Contact Option Card Button */
._contact-option-card_r3vrb_9 {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background-color: white;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  width: 100%;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Hover and Focus States */
._contact-option-card_r3vrb_9:hover,
._contact-option-card_r3vrb_9:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  outline: none;
}

/* Focus visible for keyboard navigation */
._contact-option-card_r3vrb_9:focus-visible {
  outline: 2px solid #3B82F6;
  outline-offset: 2px;
}

/* Colored Left Border */
._contact-option-border_r3vrb_43 {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

/* Icon Container */
._contact-option-icon_r3vrb_54 {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 8px;
}

/* Content Container */
._contact-option-content_r3vrb_66 {
  flex: 1;
  min-width: 0;
}

/* Option Label */
._contact-option-label_r3vrb_72 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1.4;
}

/* Option Subtitle */
._contact-option-subtitle_r3vrb_81 {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.4;
}

/* Fallback Message Text */
._fallback-message-text_r3vrb_88 {
  padding: 12px 0;
  margin-bottom: 12px;
  font-size: 14px;
  color: #374151;
  font-weight: 500;
  border-bottom: 1px solid #E5E7EB;
  line-height: 1.5;
}
/* Beam brand design system - purple to blue gradient theme */
:root {
  --background: hsl(0 0% 100%);
  --foreground: hsl(220 13% 18%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(220 13% 18%);
  --primary: hsl(260 50% 65%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(220 26% 14%);
  --secondary-foreground: hsl(0 0% 100%);
  --muted: hsl(220 13% 95%);
  --muted-foreground: hsl(220 9% 46%);
  --accent: hsl(260 30% 95%);
  --accent-foreground: hsl(220 13% 18%);
  --border: hsl(220 13% 91%);
  --ring: hsl(260 50% 65%);
}

.home-page {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--foreground);
}

.page-header {
  margin-bottom: 32px;
  text-align: left;
}

.page-header h1 {
  color: var(--foreground);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 0 0 8px 0;
  font-family: 'Inter', sans-serif;
}

.page-header p {
  color: #6b7280;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0px;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.dashboard-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  font-family: 'Inter', sans-serif;
  color: var(--card-foreground);
}

.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dashboard-card:hover .card-icon {
  background: hsl(260 30% 92%);
}

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

.card-icon {
  font-size: 1.5rem;
  display: flex;
  color: var(--primary);
  background: var(--accent);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dashboard-card h3 {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.card-value {
  color: var(--foreground);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
}

.card-value.progress-incomplete {
  color: #000000;
}

.card-value.progress-complete {
  color: hsl(142 71% 45%);
}

.card-subtitle {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
}

/* Home page progress bar - more specific to avoid conflicts with GetStartedForm */
.dashboard-card .progress-bar {
  width: 100% !important;
  height: 6px !important;
  background-color: var(--muted) !important;
  border-radius: 3px !important;
  margin: 12px 0 8px 0 !important;
  overflow: hidden !important;
  display: block !important;
  padding: 0 !important;
  border: none !important;
  justify-content: initial !important;
  align-items: initial !important;
  gap: initial !important;
  flex-wrap: initial !important;
  position: relative !important;
  z-index: auto !important;
}

.dashboard-card .progress-fill {
  height: 100% !important;
  background: linear-gradient(135deg, var(--primary) 0%, hsl(220 70% 60%) 100%) !important;
  border-radius: 3px !important;
  transition: width 0.5s ease !important;
  display: block !important;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 4px;
  font-family: 'Inter', sans-serif;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-badge.available {
  background-color: hsl(142 76% 94%);
  color: hsl(142 71% 45%);
}

.status-badge.available::before {
  background-color: hsl(142 71% 45%);
}

.status-badge.busy {
  background-color: hsl(48 96% 89%);
  color: hsl(25 95% 53%);
}

.status-badge.busy::before {
  background-color: hsl(25 95% 53%);
}

.status-badge.offline {
  background-color: var(--muted);
  color: var(--muted-foreground);
}

.status-badge.offline::before {
  background-color: var(--muted-foreground);
}

/* Timeline Section */
.timeline-section {
  margin-bottom: 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.timeline-section h3 {
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-section .section-icon {
  display: flex;
  color: var(--primary);
  background: var(--accent);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 24px;
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.4s;
}
.timeline-item:nth-child(5) {
  animation-delay: 0.5s;
}
.timeline-item:nth-child(6) {
  animation-delay: 0.6s;
}
.timeline-item:nth-child(7) {
  animation-delay: 0.7s;
}
.timeline-item:nth-child(8) {
  animation-delay: 0.8s;
}
.timeline-item:nth-child(9) {
  animation-delay: 0.9s;
}
.timeline-item:nth-child(10) {
  animation-delay: 1s;
}
.timeline-item:nth-child(11) {
  animation-delay: 1.1s;
}

/* Progress Line */
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 48px;
  width: 2px;
  height: calc(100% + 8px);
  background: linear-gradient(to bottom, var(--border), transparent);
  z-index: 1;
}

.timeline-marker {
  position: relative;
  z-index: 10;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item.completed .timeline-marker {
  background: hsl(142 76% 94%);
  border: 2px solid hsl(142 71% 45%);
  box-shadow: 0 4px 12px hsla(142, 71%, 45%, 0.2);
  color: hsl(142 71% 45%);
}

.timeline-item.completed .timeline-marker::before {
  font-size: 14px;
  font-weight: 700;
}

.timeline-item.in-progress .timeline-marker {
  background: var(--accent);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 12px hsla(260, 50%, 65%, 0.2);
  color: var(--primary);
  animation: pulseGlow 2s infinite;
}

.timeline-item.pending .timeline-marker {
  background: var(--muted);
  border: 2px solid var(--border);
  color: var(--muted-foreground);
}

.timeline-content {
  flex: 1;
  min-width: 0;
  position: relative;
}

.timeline-content h4 {
  color: var(--foreground);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.3;
  margin-bottom: 8px;
}

.timeline-item.completed .timeline-content h4 {
  color: hsl(142 71% 45%);
}

.timeline-item.in-progress .timeline-content h4 {
  color: var(--primary);
}

.timeline-item.pending .timeline-content h4 {
  color: var(--muted-foreground);
}

.timeline-content p {
  color: var(--muted-foreground);
  margin: 0 0 12px 0;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.timeline-meta span:first-child {
  color: var(--muted-foreground);
  font-weight: 500;
}

.timeline-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
  transition: all 0.2s ease;
  margin-left: 8px;
}

.timeline-status.completed {
  background-color: hsl(142 76% 94%) !important;
  color: hsl(142 71% 45%) !important;
  border: 1px solid hsl(142 71% 85%) !important;
}

.timeline-status.completed::before {
  content: '✓';
  font-weight: 600;
  color: hsl(142 71% 45%) !important;
}

.timeline-status.in-progress {
  background-color: var(--accent);
  color: var(--primary);
  border: 1px solid hsla(260, 50%, 65%, 0.2);
}

.timeline-status.in-progress::before {
  content: '⏳';
}

.timeline-status.pending {
  background-color: hsl(48 96% 89%);
  color: hsl(25 95% 53%);
  border: 1px solid hsl(25 95% 80%);
}

.timeline-status.pending::before {
  content: '⏸️';
}

.timeline-date {
  color: hsl(142 71% 45%);
  font-weight: 500;
  font-size: 0.75rem;
  background: hsl(142 76% 96%);
  padding: 2px 8px;
  border-radius: 8px;
  border: 1px solid hsl(142 71% 85%);
}

/* Updates Section */
.updates-section {
  margin-bottom: 48px;
}

.updates-section h3 {
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-icon {
  display: flex;
  color: var(--primary);
  background: var(--accent);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.update-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  position: relative;
}

.update-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.update-item.high {
  background: hsl(142 76% 97%);
  border-color: hsl(142 71% 45%);
}

.update-item.medium {
  background: hsl(260 30% 98%);
  border-color: var(--primary);
}

.update-item.low {
  background: var(--muted);
  border-color: var(--border);
}

.update-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  order: -1;
}

.update-item.high .update-icon {
  background: hsl(142 76% 94%);
  color: hsl(142 71% 45%);
}

.update-item.medium .update-icon {
  background: var(--accent);
  color: var(--primary);
}

.update-item.low .update-icon {
  background: var(--muted);
  color: var(--muted-foreground);
}

.update-text {
  flex: 1;
  position: relative;
  padding-bottom: 20px;
}

.update-text h4 {
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  font-family: 'Inter', sans-serif;
}

.update-text p {
  margin: 0 0 8px 0;
  color: var(--foreground);
  font-size: 14px;
  line-height: 1.4;
}

.update-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.update-meta small {
  color: var(--muted-foreground);
  font-size: 12px;
}

.update-time {
  color: var(--muted-foreground);
  font-size: 12px;
}

.impact-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.impact-badge.high {
  background: hsl(0 84% 95%);
  color: hsl(0 84% 60%);
}

.impact-badge.medium {
  background: hsl(48 96% 89%);
  color: hsl(25 95% 53%);
}

.impact-badge.low {
  background: var(--muted-foreground);
  color: white;
}

.update-content {
  flex: 1;
}

.update-content h4 {
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  font-family: 'Inter', sans-serif;
}

.update-content p {
  color: var(--muted-foreground);
  margin: 0 0 12px 0;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
}

.update-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  font-family: 'Inter', sans-serif;
}

/* Assistant Section */
.assistant-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 32px;
  font-family: 'Inter', sans-serif;
  height: 40rem;
  display: flex;
  flex-direction: column;
  overflow: visible;
  position: relative;
}

.assistant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.assistant-header h3 {
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}

.assistant-icon {
  display: flex;
  color: var(--primary);
  background: var(--accent);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.assistant-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.action-btn:hover {
  border-color: var(--primary);
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.action-btn.new-thread-btn {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.action-btn.new-thread-btn:hover {
  background: hsl(260 40% 70%);
  color: var(--primary-foreground);
  border-color: hsl(260 40% 70%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.threads-overlay {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 400px;
  overflow: hidden;
  animation: fadeIn 0.2s ease-out;
}

.threads-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--muted);
}

.threads-header h4 {
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.close-btn {
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: var(--border);
  color: var(--foreground);
}

.threads-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
}

.thread-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.thread-item:hover {
  background: var(--accent);
}

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

.thread-content h5 {
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 4px 0;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread-date {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.delete-thread-btn {
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  opacity: 0;
}

.thread-item:hover .delete-thread-btn {
  opacity: 1;
}

.delete-thread-btn:hover {
  background: hsl(0 84% 95%);
  color: hsl(0 84% 60%);
}

.loading-threads {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  color: var(--muted-foreground);
}

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

.loading-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
}

.loading-dot:nth-child(1) {
  animation-delay: -0.32s;
}
.loading-dot:nth-child(2) {
  animation-delay: -0.16s;
}
.loading-dot:nth-child(3) {
  animation-delay: 0s;
}

.no-threads {
  text-align: center;
  padding: 24px;
  color: var(--muted-foreground);
}

.no-threads p:first-child {
  font-weight: 600;
  margin-bottom: 8px;
}

.no-threads p:last-child {
  font-size: 0.875rem;
  line-height: 1.4;
}

.assistant-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  position: relative;
}

.messages-container {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 8px;
  padding-bottom: 16px;
}

.message-item {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  animation: fadeIn 0.3s ease-out;
}

.message-item.user {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.message-avatar.ai,
div.message-avatar.ai {
  background: hsl(260 30% 95%) !important;
  color: hsl(260 50% 65%) !important;
}

.message-avatar.user {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

.message-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.message-bubble.ai {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--card-foreground);
  border-bottom-left-radius: 4px;
}

.message-bubble.user {
  background: var(--primary);
  color: var(--primary-foreground);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.message-bubble.error {
  background: hsl(0 84% 95%);
  border-color: hsl(0 84% 60%);
  color: hsl(0 84% 40%);
}

/* Loading state styles */
.message-bubble.loading {
  background: var(--card);
  border: 1px solid var(--border);
  min-width: 240px;
}

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

.loading-text-container {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  width: 100%;
  justify-content: space-between;
}

.loading-message {
  font-size: 0.875rem;
  color: hsl(260 50% 65%);
  font-weight: 500;
  margin: 0;
  animation: smoothFadeSlide 0.5s ease-in-out;
  white-space: nowrap;
  flex: 0 1 auto;
}

.typing-indicator {
  display: flex;
  gap: 3px;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.typing-indicator .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: hsl(260 50% 65%);
  animation: bounce 1.4s infinite ease-in-out;
}

.typing-indicator .dot:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-indicator .dot:nth-child(2) {
  animation-delay: -0.16s;
}

.typing-indicator .dot:nth-child(3) {
  animation-delay: 0s;
}

/* Pulsing animation for the Bot icon */
.message-avatar.pulsing {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  40% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 hsla(260, 50%, 65%, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px hsla(260, 50%, 65%, 0);
    transform: scale(1.05);
  }
}

@keyframes smoothFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.message-text {
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: pre-line;
  font-weight: 500;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* Calendly Widget Styles */
.message-with-widget {
  width: 100%;
}

.message-with-widget .message-text {
  margin-bottom: 16px;
}

.widget-container {
  width: 100%;
  max-width: 100%;
  margin-top: 12px;
}

.calendly-chat-widget {
  width: 100%;
  max-width: 100%;
}

.calendly-widget-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.calendly-inline-widget {
  width: 100%;
  border: none !important;
  border-radius: 12px !important;
}

/* Make sure the Calendly widget is responsive */
@media (max-width: 768px) {
  .calendly-inline-widget {
    min-width: 100% !important;
    height: 600px !important;
  }
}

@media (max-width: 480px) {
  .calendly-inline-widget {
    height: 500px !important;
  }
}

.suggested-questions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.question-btn {
  height: auto;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: left;
  line-height: 1.4;
}

.question-btn:hover {
  border-color: var(--primary);
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.question-btn:hover svg {
  color: var(--primary);
}

.loading-indicator {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: fadeIn 0.3s ease-out;
}

.loading-dots {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 4px;
}

.loading-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
}

.loading-dot:nth-child(1) {
  animation-delay: -0.32s;
}
.loading-dot:nth-child(2) {
  animation-delay: -0.16s;
}
.loading-dot:nth-child(3) {
  animation-delay: 0s;
}

.assistant-input {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  background: var(--card);
  margin: 0 -24px -24px -24px;
  padding: 16px 24px 24px 24px;
}

.assistant-input input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--foreground);
  transition: all 0.2s ease;
}

.assistant-input input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(260, 50%, 65%, 0.2);
}

.assistant-input input::placeholder {
  color: var(--muted-foreground);
}

.assistant-input input:disabled {
  background: var(--muted);
  color: var(--muted-foreground);
  cursor: not-allowed;
}

.send-btn {
  border-radius: 50%;
  padding: 12px;
  height: 44px;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  background: var(--primary);
  border: none;
  color: var(--primary-foreground);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.send-btn:hover {
  background: hsl(260 40% 70%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.button-group {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 16px;
  margin-left: 16px;
  width: fit-content;
  height: 36px; 
}

.send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  background: var(--muted);
  color: var(--muted-foreground);
  box-shadow: none;
}

.send-btn:disabled:hover {
  background: var(--muted);
  transform: none;
  box-shadow: none;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .home-page {
    padding: 16px;
  }

  /* Contact options tablet styles */
  .contact-option-card {
    padding: 14px !important;
    gap: 14px !important;
  }

  .contact-option-card > div:first-child {
    width: 36px !important;
    height: 36px !important;
    margin-left: 6px !important;
  }

  .contact-option-card > div:first-child svg {
    width: 18px !important;
    height: 18px !important;
  }

  .page-header h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

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

  .assistant-section {
    height: 28rem;
    margin-bottom: 24px;
    padding: 16px;
  }

  .assistant-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .assistant-header h3 {
    font-size: 1.25rem;
    gap: 8px;
  }

  .assistant-actions {
    gap: 6px;
  }

  .action-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .assistant-content {
    gap: 12px;
  }

  .assistant-input {
    margin: 0 -16px -16px -16px;
    padding: 12px 16px 16px 16px;
  }

  .threads-overlay {
    width: 280px;
    right: -8px;
  }

  .message-bubble {
    max-width: 90%;
    padding: 10px 14px;
  }

  .assistant-message {
    flex-direction: column;
  }

  .suggested-questions {
    flex-direction: column;
  }

  .question-btn {
    text-align: left;
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .update-item {
    flex-direction: column;
    gap: 12px;
  }

  .timeline {
    gap: 16px;
  }

  .timeline-item {
    gap: 12px;
    padding-bottom: 16px;
  }

  .timeline-item:not(:last-child)::after {
    left: 16px;
    top: 40px;
  }
}

@media (max-width: 480px) {
  .dashboard-card {
    padding: 16px;
  }

  .card-value {
    font-size: 1.5rem;
  }

  .assistant-section {
    height: 24rem;
    margin-bottom: 16px;
    padding: 12px;
  }

  .assistant-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .assistant-header h3 {
    font-size: 1.125rem;
    gap: 6px;
  }

  .assistant-actions {
    gap: 4px;
  }

  .action-btn {
    padding: 4px 8px;
    font-size: 0.75rem;
  }

  .assistant-content {
    gap: 10px;
  }

  .assistant-input {
    margin: 0 -12px -12px -12px;
    padding: 8px 12px 12px 12px;
    gap: 8px;
  }

  .threads-overlay {
    width: 260px;
    right: -12px;
  }

  .assistant-input input {
    padding: 8px 12px;
    font-size: 0.8rem;
    border-radius: 20px;
  }

  .send-btn {
    padding: 8px;
    flex-shrink: 0;
  }

  .message-bubble {
    max-width: 95%;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .question-btn {
    padding: 8px 10px;
    font-size: 0.75rem;
    gap: 6px;
  }
}

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

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 4px 12px hsla(260, 50%, 65%, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 4px 20px hsla(260, 50%, 65%, 0.4);
    transform: scale(1.05);
  }
}

/* Confetti Animation */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary);
  animation: confetti-fall linear infinite;
  top: -150px; /* Start well above viewport */
}

.confetti-piece:nth-child(odd) {
  background: hsl(260 70% 65%);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  top: -120px;
}

.confetti-piece:nth-child(even) {
  background: hsl(280 60% 70%);
  transform: rotate(45deg);
  width: 4px;
  height: 12px;
  border-radius: 2px;
  top: -140px;
}

.confetti-piece:nth-child(3n) {
  background: hsl(240 70% 65%);
  border-radius: 50%;
  width: 5px;
  height: 5px;
  top: -130px;
}

.confetti-piece:nth-child(4n) {
  background: hsl(200 80% 60%);
  width: 3px;
  height: 10px;
  border-radius: 1px;
  top: -160px;
}

.confetti-piece:nth-child(5n) {
  background: hsl(320 70% 65%);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  top: -110px;
}

.confetti-piece:nth-child(6n) {
  background: hsl(60 90% 60%);
  width: 4px;
  height: 8px;
  border-radius: 2px;
  top: -135px;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-200px) rotateZ(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(calc(100vh + 200px)) rotateZ(360deg);
    opacity: 0;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Calendly Modal Styles */
.calendly-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.calendly-modal {
  background-color: white;
  border-radius: 12px;
  width: 100%;
  max-width: 900px;
  height: 80vh;
  max-height: 700px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

.calendly-modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9fafb;
}

.calendly-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  font-family: 'Inter', sans-serif;
}

.calendly-modal-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6b7280;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendly-modal-close-btn:hover {
  background-color: #e5e7eb;
  color: #374151;
}

.calendly-iframe {
  width: 100%;
  height: calc(100% - 73px);
  border: none;
  display: block;
}

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

/* Responsive modal styles */
@media (max-width: 768px) {
  .calendly-modal-overlay {
    padding: 10px;
  }

  .calendly-modal {
    height: 85vh;
    max-height: none;
  }

  .calendly-modal-header {
    padding: 16px 20px 12px;
  }

  .calendly-modal-header h3 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .calendly-modal-overlay {
    padding: 5px;
  }

  .calendly-modal {
    height: 90vh;
    border-radius: 8px;
  }

  .calendly-modal-header {
    padding: 12px 16px 8px;
  }

  .calendly-modal-header h3 {
    font-size: 14px;
  }

  .calendly-modal-close-btn {
    font-size: 20px;
    width: 28px;
    height: 28px;
  }
}

/* Contact Options Styles */
.contact-option-card {
  font-family: 'Inter', sans-serif !important;
}

.contact-option-card:hover {
  border-color: #d1d5db !important;
}

/* Book a call button styles */
.booking-button {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', sans-serif;
}

.booking-button:hover {
  background: hsl(260 50% 60%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.booking-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
  .booking-button {
    padding: 6px 12px;
    font-size: 12px;
    gap: 6px;
  }

  /* Contact options responsive styles */
  .contact-option-card {
    padding: 12px !important;
    gap: 12px !important;
  }

  .contact-option-card > div:first-child {
    width: 32px !important;
    height: 32px !important;
    margin-left: 4px !important;
  }

  .contact-option-card > div:first-child svg {
    width: 16px !important;
    height: 16px !important;
  }

  .contact-option-card > div:last-child > div:first-child {
    font-size: 14px !important;
  }

  .contact-option-card > div:last-child > div:last-child {
    font-size: 12px !important;
  }
}

/* Case Loading and Error States */
.case-loading-container,
.case-error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  margin: 40px 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 300px;
}

.case-loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--muted);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 24px;
}

.case-error-icon {
  font-size: 48px;
  margin-bottom: 24px;
  opacity: 0.8;
}

.case-loading-title,
.case-error-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 12px 0;
  font-family: 'Inter', sans-serif;
}

.case-loading-description,
.case-error-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  max-width: 500px;
  margin: 0 0 32px 0;
  font-family: 'Inter', sans-serif;
}

.case-error-retry-btn {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.case-error-retry-btn:hover:not(:disabled) {
  background: hsl(260 50% 60%);
  transform: translateY(-1px);
}

.case-error-retry-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Welcome Screen Animations */
@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Responsive adjustments for welcome screen */
@media (max-width: 768px) {
  .welcome-screen-container {
    padding: 1rem 0.75rem !important;
  }

  .welcome-grid {
    grid-template-columns: 1fr !important;
  }

  .welcome-card {
    padding: 0.875rem !important;
  }
}
/* Button base styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

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

.btn:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Button sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 2rem;
}

.btn-md {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  min-height: 2.5rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  min-height: 3rem;
}

/* Button variants */
.btn-primary {
  background-color: #3b82f6;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background-color: #2563eb;
}

.btn-secondary {
  background-color: #6b7280;
  color: white;
}

.btn-secondary:hover:not(:disabled) {
  background-color: #4b5563;
}

.btn-danger {
  background-color: #ef4444;
  color: white;
}

.btn-danger:hover:not(:disabled) {
  background-color: #dc2626;
}

.btn-outline {
  background-color: transparent;
  color: #3b82f6;
  border: 1px solid #3b82f6;
}

.btn-outline:hover:not(:disabled) {
  background-color: #3b82f6;
  color: white;
}

/* Full width */
.btn-full-width {
  width: 100%;
}

/* Loading state */
.btn-loading {
  pointer-events: none;
}

.btn-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
}

.btn-text-hidden {
  opacity: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Modern Login Page Styles */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
}

.login-container {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.login-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.15), 0 15px 15px -5px rgba(0, 0, 0, 0.08);
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.login-logo .logo-image {
  width: 200px;
  height: 100px;
  object-fit: contain;
  transition: all 0.3s ease;
  cursor: pointer;
  filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.2));
}

.login-logo .logo-image:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 16px rgba(102, 126, 234, 0.4));
}

.login-header h2 {
  color: #1f2937;
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.login-header p {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

.login-form {
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  background: #ffffff;
  color: #1f2937;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.form-group input:hover:not(:focus) {
  border-color: #9ca3af;
}

.form-group input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #f9fafb;
}

.form-group input::placeholder {
  color: #9ca3af;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.875rem;
  color: #374151;
}

.checkbox-wrapper input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  margin-bottom: 0;
}

.forgot-password {
  color: #667eea;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.forgot-password:hover {
  color: #4f46e5;
}

.login-button {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.login-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
}

.login-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.login-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.login-footer p {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.login-footer a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.login-footer a:hover {
  color: #4f46e5;
}

/* Responsive Design */
@media (max-width: 480px) {
  .login-page {
    padding: 0.5rem;
  }
  
  .login-container {
    padding: 2rem 1.5rem;
    border-radius: 12px;
    max-width: 100%;
  }

  .login-logo .logo-image {
    width: 120px;
    height: 50px;
  }

  .login-header h2 {
    font-size: 1.5rem;
  }

  .form-group input {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .form-options {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

@media (min-width: 768px) {
  .login-container {
    max-width: 500px;
    padding: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .login-container {
    max-width: 550px;
    padding: 4rem;
  }
  
  .login-logo .logo-image {
    width: 200px;
    height: 100px;
  }
  
  .login-header h2 {
    font-size: 2rem;
  }
}

/* Magic Login Specific Styles */
.code-input {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5rem;
  padding: 1rem;
}

.auto-verify-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 200px;
}

.loading-message {
  text-align: center;
}

.loading-message p {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 1rem;
}

.loading-spinner {
  color: #667eea;
  font-weight: 500;
  animation: pulse 2s infinite;
}

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

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.link-button {
  background: none;
  border: none;
  color: #667eea;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

.link-button:hover:not(:disabled) {
  color: #4f46e5;
  text-decoration: underline;
}

.link-button:disabled {
  color: #9ca3af;
  cursor: not-allowed;
}

.help-text {
  text-align: center;
  margin-top: 1rem;
}

.help-text p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

/* Mobile responsiveness for magic login */
@media (max-width: 480px) {
  .code-input {
    font-size: 1.25rem;
    letter-spacing: 0.25rem;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .auto-verify-container {
    padding: 1.5rem;
    min-height: 150px;
  }
}

/* Force light mode styles for dark mode to maintain consistency */
@media (prefers-color-scheme: dark) {
  .login-container {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
  }

  .login-header h2 {
    color: #1f2937 !important;
  }

  .login-header p {
    color: #6b7280 !important;
  }

  .form-group label {
    color: #374151 !important;
  }

  .form-group input {
    background: #ffffff !important;
    border-color: #d1d5db !important;
    color: #1f2937 !important;
  }

  .form-group input:focus {
    border-color: #667eea !important;
  }

  .form-group input::placeholder {
    color: #9ca3af !important;
  }

  .checkbox-wrapper {
    color: #374151 !important;
  }

  .forgot-password {
    color: #667eea !important;
  }

  .forgot-password:hover {
    color: #4f46e5 !important;
  }

  .login-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
  }

  .login-footer {
    border-color: #e5e7eb !important;
  }

  .login-footer p {
    color: #6b7280 !important;
  }

  .login-footer a {
    color: #667eea !important;
  }

  .login-footer a:hover {
    color: #5a67d8 !important;
  }
}
/* Modern Broker Form Styles - Unified Design */
.broker-form-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
}

.broker-form-card {
  width: 100%;
  max-width: 600px;
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.broker-form-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.15), 0 15px 15px -5px rgba(0, 0, 0, 0.08);
}

.broker-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.logos-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.broker-form-logo {
  width: 160px;
  height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
  cursor: pointer;
  filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.2));
}

.broker-form-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 16px rgba(102, 126, 234, 0.4));
}

.logo-separator {
  font-size: 1.5rem;
  font-weight: bold;
  color: #667eea;
  margin: 0 0.5rem;
}

.broker-form-header h1 {
  color: #1f2937;
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.form-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

.broker-form {
  margin-bottom: 1.5rem;
}

.form-section {
  margin-bottom: 2rem;
}

.section-title {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}

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

.form-label {
  display: block;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  background: #ffffff;
  color: #1f2937;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.form-input:hover:not(:focus) {
  border-color: #9ca3af;
}

.form-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #f9fafb;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  appearance: none;
}

.file-input {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.file-input input[type="file"] {
  position: absolute;
  opacity: 0;
  left: 0;
  top: 0;
  width: 140px; /* Match the button width */
  height: 45px; /* Match the button height */
  cursor: pointer;
  z-index: 10;
}

.file-input::before {
  content: 'Select File/s';
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  margin-right: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
  position: relative;
  z-index: 5;
}

.file-input:hover::before {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
  background: linear-gradient(135deg, #5a6fd8 0%, #6b4190 100%);
}

.file-input::after {
  content: attr(data-filename);
  color: #6b7280;
  font-size: 0.9rem;
  font-style: italic;
  margin-left: 0.5rem;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: top;
}

.file-input[data-filename=""]::after {
  content: 'No file chosen';
  max-width: none;
  text-overflow: none;
  overflow: visible;
}

.file-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0.75rem;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  transition: all 0.3s ease;
  overflow: hidden; /* Prevent content from overflowing the container */
  word-wrap: break-word;
}

.file-input-wrapper:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.file-input-wrapper.has-file {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

.file-icon {
  width: 24px;
  height: 24px;
  margin-right: 0.75rem;
  opacity: 0.6;
}

.file-info {
  display: flex;
  flex-direction: column;
  margin-left: 1rem;
  flex: 1;
  min-width: 0; /* Allow flex item to shrink below content size */
}

.file-name {
  color: #374151;
  font-weight: 500;
  font-size: 0.9rem;
  word-break: break-all; /* Break long filenames */
  line-height: 1.3;
  max-width: 100%;
}

.file-size {
  color: #6b7280;
  font-size: 0.8rem;
  margin-top: 0.2rem;
  white-space: nowrap; /* Keep file size on one line */
}

.form-help-text {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.4;
}

/* Responsive adjustments for file input */
@media (max-width: 640px) {
  .file-input-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    min-height: auto;
    padding: 1rem;
  }
  
  .file-info {
    margin-left: 0;
    width: 100%;
  }
  
  .file-input::before {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .file-input::after {
    max-width: 150px; /* Smaller max-width on mobile */
    display: block;
    margin-left: 0;
    margin-top: 0.5rem;
  }
  
  .file-input input[type="file"] {
    width: 120px; /* Smaller button on mobile */
    height: 40px;
  }
  
  .file-name {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
}

.checkbox-wrapper input[type="checkbox"] {
  width: auto;
  margin-right: 0.75rem;
  margin-bottom: 0;
  transform: scale(1.2);
}

.submit-button {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Thank you page styles */
.broker-thank-you {
  text-align: center;
  padding: 0rem 0;
}

.thank-you-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 1rem;
  font-weight: bold;
}

.broker-thank-you h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 1rem 0;
}

.broker-thank-you p {
  color: #6b7280;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.next-steps-list {
  text-align: left;
  margin: 1.5rem auto;
  padding: 1.5rem;
  max-width: 600px;
  background: #f9fafb;
  border-radius: 12px;
  border-left: 4px solid #667eea;
}

.next-steps-list li {
  color: #374151;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

.next-steps-list li:last-child {
  margin-bottom: 0;
}

.return-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.return-link:hover {
  color: #5a67d8;
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 480px) {
  .broker-form-container {
    padding: 0.5rem;
  }
  
  .broker-form-card {
    padding: 2rem 1.5rem;
    border-radius: 12px;
    max-width: 100%;
  }

  .broker-form-logo {
    width: 100px;
    height: 50px;
  }
  
  .logos-container {
    gap: 0.5rem;
  }
  
  .logo-separator {
    font-size: 1.2rem;
  }
  
  .broker-form-header h1 {
    font-size: 1.5rem;
  }
  
  .form-subtitle {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.125rem;
  }
  
  .form-input {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .revolut-form-card {
    max-width: 650px;
    padding: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .revolut-form-card {
    max-width: 700px;
    padding: 4rem;
  }
  
  .revolut-form-logo {
    width: 180px;
    height: 90px;
  }
  
  .revolut-form-header h1 {
    font-size: 2rem;
  }
}

/* Force light mode styles for dark mode to maintain consistency */
@media (prefers-color-scheme: dark) {
  .revolut-form-card {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
  }

  .revolut-form-header h1 {
    color: #1f2937 !important;
  }

  .revolut-form-subtitle {
    color: #6b7280 !important;
  }

  .section-title {
    color: #1f2937 !important;
    border-bottom-color: #e5e7eb !important;
  }

  .form-label {
    color: #374151 !important;
  }

  .form-input {
    background: #ffffff !important;
    border-color: #d1d5db !important;
    color: #1f2937 !important;
  }

  .form-input:focus {
    border-color: #667eea !important;
  }

  .form-input::placeholder {
    color: #9ca3af !important;
  }

  .form-input:disabled {
    background-color: #f9fafb !important;
  }

  .form-help-text {
    color: #6b7280 !important;
  }

  .checkbox-wrapper {
    color: #374151 !important;
  }

  .submit-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
  }

  .file-input-wrapper {
    background: #f9fafb !important;
    border-color: #d1d5db !important;
  }

  .file-input-wrapper:hover {
    border-color: #667eea !important;
    background: rgba(102, 126, 234, 0.05) !important;
  }

  .file-input-wrapper.has-file {
    border-color: #667eea !important;
    background: rgba(102, 126, 234, 0.1) !important;
  }

  .file-name {
    color: #374151 !important;
  }

  .file-size {
    color: #6b7280 !important;
  }

  .broker-thank-you h2 {
    color: #1f2937 !important;
  }

  .broker-thank-you p {
    color: #6b7280 !important;
  }

  .return-link {
    color: #667eea !important;
  }

  .return-link:hover {
    color: #5a67d8 !important;
  }
}


@media (max-width: 600px) {
  .gs-step-container .gs-progress-bar {
    margin-top: 1px !important;
    margin-bottom: 48px !important;
    height: 18px !important;
  }
  .gs-step-content {
    margin-top: 72px !important;
  }
}

@media (max-width: 600px) {
  .gs-step-container .gs-progress-bar {
    margin-top: 12px !important;
    margin-bottom: 18px !important;
    position: static !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    flex-wrap: wrap !important;
    z-index: 1 !important;
  }
}

/* Mobile-first Responsive Design for GetStartedForm */

/* Base styles remain, but all major components are adapted for mobile/tablet/desktop */

@media (max-width: 1200px) {
  .gs-step-content {
    max-width: 90vw;
    padding: 48px 32px 32px;
  }
}

@media (max-width: 900px) {
  .gs-step-content {
    max-width: 98vw;
    padding: 32px 12px 18px;
    border-radius: 16px;
  }
  .gs-step-container .gs-progress-bar {
    margin-bottom: 24px !important;
  }
}

@media (max-width: 768px) {
  .gs-step-container {
    padding: 6px;
    min-height: 100vh;
  }
  .gs-step-content {
    padding: 24px 6px 18px;
    border-radius: 12px;
    max-width: 100vw;
    min-width: 0;
  }
  .gs-step-header h1 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .gs-fee-amount {
    font-size: 32px !important;
    margin: 16px 0 !important;
  }
  .gs-benefits-list {
    padding: 12px;
    margin: 24px 0;
    border-radius: 10px;
    font-size: 14px;
  }
  .gs-benefit-item {
    font-size: 14px;
    gap: 10px;
    padding: 8px 0;
  }
  .gs-step-header p, .gs-fee-subtitle {
    font-size: 13px !important;
    margin-bottom: 24px !important;
  }
  .gs-step-actions {
    gap: 12px;
    margin-top: 24px;
    flex-direction: column-reverse;
  }
  .gs-continue-button, .gs-submit-button, .gs-back-button {
    font-size: 15px;
    padding: 10px 12px;
    border-radius: 8px;
    max-width: 100%;
    width: 100%;
  }
  .gs-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gs-option-button {
    font-size: 15px;
    padding: 12px;
  }
}

@media (max-width: 600px) {
  .gs-step-header h1 {
    font-size: 18px;
  }
  .gs-fee-amount {
    font-size: 24px !important;
  }
  .gs-benefits-list {
    padding: 8px;
    font-size: 13px;
  }
  .gs-benefit-item {
    font-size: 13px;
    gap: 8px;
    padding: 6px 0;
  }
  .gs-option-button {
    font-size: 14px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .gs-step-header h1 {
    font-size: 15px;
  }
  .gs-fee-amount {
    font-size: 18px !important;
  }
  .gs-step-container .gs-progress-bar {
    top: 20px;
    margin-bottom: 12px !important;
  }
  .gs-progress-step {
    width: 20px;
    height: 4px;
  }
  .gs-option-button {
    font-size: 13px;
    padding: 6px;
  }
  .gs-step-content {
    padding: 10px 2px 8px;
    border-radius: 8px;
  }
}

/* Extra Responsive Design for Fee Step and Benefits */

@media (max-width: 600px) {
  .gs-step-content {
    padding: 24px 6px 18px;
    border-radius: 12px;
    max-width: 98vw;
    min-width: 0;
  }
  .gs-fee-amount {
    font-size: 32px !important;
    margin: 16px 0 !important;
  }
  .gs-benefits-list {
    padding: 12px;
    margin: 24px 0;
    border-radius: 10px;
    font-size: 14px;
  }
  .gs-benefit-item {
    font-size: 14px;
    gap: 10px;
    padding: 8px 0;
  }
  .gs-step-header p, .gs-fee-subtitle {
    font-size: 13px !important;
    margin-bottom: 24px !important;
  }
  .gs-step-header h1 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .gs-step-actions {
    gap: 12px;
    margin-top: 24px;
  }
  .gs-continue-button, .gs-submit-button, .gs-back-button {
    font-size: 15px;
    padding: 10px 12px;
    border-radius: 8px;
    max-width: 100%;
  }
}

/* Get Started Form Styles */

.gs-step-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.gs-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-family: inherit;
}

.gs-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* GetStartedForm specific progress bar */

.gs-step-container .gs-progress-bar {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 auto 32px !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  width: fit-content !important;
  position: relative !important;
  flex-wrap: nowrap !important;
  z-index: 1 !important;
}

/* Progress bar when inside step content */

.gs-step-content .gs-progress-bar {
  position: static;
  transform: none;
  margin: 0 auto 32px;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  gap: 8px;
  width: auto;
  display: flex;
  flex-wrap: nowrap;
}

.gs-progress-step {
  width: 60px;
  height: 20px;
  background: rgba(158, 158, 158, 0.3);
  border-radius: 12px;
  transition: all 0.4s ease;
  position: relative;
  border: none;
  flex-shrink: 0;
}

.gs-progress-step.active {
  background: #9B7CB6;
  border: none;
  box-shadow: none;
}

.gs-progress-step.completed {
  background: rgba(158, 158, 158, 0.3);
  border: none;
  box-shadow: none;
}

.gs-step-content {
  background: white;
  border-radius: 24px;
  padding: 60px 48px 48px;
  max-width: 640px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: visible;
}

.gs-step-header h3 {
  color: #6B7280;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-family: inherit;
}

.gs-step-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 16px;
  line-height: 1.1;
  font-family: inherit;
  letter-spacing: -0.02em;
}

.gs-step-header p {
  font-size: 16px;
  color: #6B7280;
  margin: 0 0 48px;
  line-height: 1.6;
  font-weight: 400;
  font-family: inherit;
}

/* Button Styles */

.gs-button-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.gs-option-button {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px;
  font-size: 18px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 80px;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.gs-option-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(118, 75, 162, 0.1), transparent);
  transition: left 0.5s ease;
}

.gs-option-button:hover::before {
  left: 100%;
}

.gs-option-button:hover {
  border-color: #764ba2;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(118, 75, 162, 0.15);
}

.gs-option-button.selected {
  border-color: #764ba2;
  background: linear-gradient(135deg, #764ba2, #667eea);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(118, 75, 162, 0.4);
}

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

.gs-option-icon svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Fee Step Styles */

.gs-fee-amount {
  font-size: 72px !important;
  font-weight: 900 !important;
  color: #111827 !important;
  margin: 24px 0 !important;
  letter-spacing: -0.03em !important;
  background: linear-gradient(135deg, #111827, #374151);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gs-fee-subtitle {
  font-size: 15px !important;
  color: #6B7280 !important;
  margin-bottom: 48px !important;
  font-weight: 500 !important;
}

.gs-benefits-list {
  text-align: left;
  margin: 48px 0;
  background: #F9FAFB;
  border-radius: 16px;
  padding: 24px;
}

.gs-benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  font-size: 16px;
  color: #374151;
  font-weight: 500;
  font-family: inherit;
}

.gs-benefit-item svg {
  color: #10B981;
  filter: drop-shadow(0 1px 2px rgba(16, 185, 129, 0.2));
}

/* Form Styles */

.gs-form-fields {
  text-align: left;
}

.gs-form-group {
  position: relative;
  margin-bottom: 24px;
}

.gs-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #6B7280;
  display: flex;
  align-items: center;
}

.gs-form-group input,
.gs-form-group select {
  width: 100%;
  padding: 18px 18px 18px 54px;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: inherit;
  background: #FAFAFA;
}

.gs-form-group input:focus,
.gs-form-group select:focus {
  outline: none;
  border-color: #764ba2;
  background: white;
  box-shadow: 0 0 0 4px rgba(118, 75, 162, 0.1);
}

.gs-phone-input {
  display: flex;
  align-items: center;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  transition: all 0.3s ease;
  padding-left: 54px;
  background: #FAFAFA;
}

.gs-phone-input:focus-within {
  border-color: #764ba2;
  background: white;
  box-shadow: 0 0 0 4px rgba(118, 75, 162, 0.1);
}

.gs-country-code {
  padding: 18px 12px;
  border-right: 1px solid #E5E7EB;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: #374151;
  font-family: inherit;
}

.gs-phone-input input {
  border: none;
  padding: 18px;
  flex: 1;
  background: transparent;
  box-shadow: none;
}

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

.gs-fees-notice {
  font-size: 14px;
  color: #6B7280;
  margin: 24px 0;
  text-align: center;
  font-weight: 500;
  padding: 16px;
  background: #F3F4F6;
  border-radius: 12px;
  font-family: inherit;
}

.gs-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 32px 0;
  padding: 20px;
  background: #F9FAFB;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
}

.gs-checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  padding: 0;
  transform: scale(1.2);
}

.gs-checkbox-group label {
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
  font-weight: 500;
  font-family: inherit;
}

/* File Upload Styles */

.gs-file-upload-section {
  margin: 32px 0;
}

.gs-file-upload-label {
  display: block;
  font-size: 16px;
  color: #374151;
  margin-bottom: 16px;
  font-weight: 600;
  font-family: inherit;
}

.gs-file-upload-area {
  position: relative;
  border: 2px dashed #D1D5DB;
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: linear-gradient(135deg, #F9FAFB, #F3F4F6);
}

.gs-file-upload-area:hover {
  border-color: #764ba2;
  background: linear-gradient(135deg, rgba(118, 75, 162, 0.05), rgba(118, 75, 162, 0.1));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(118, 75, 162, 0.15);
}

.gs-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.gs-file-upload-content {
  pointer-events: none;
}

.gs-upload-icon {
  font-size: 40px;
  margin-bottom: 16px;
  color: #9CA3AF;
}

.gs-file-upload-content p {
  font-size: 16px;
  color: #6B7280;
  margin: 0;
  font-weight: 500;
  font-family: inherit;
}

.gs-file-selected {
  color: #764ba2 !important;
  font-weight: 600 !important;
  margin-top: 12px !important;
  padding: 8px 16px;
  background: rgba(118, 75, 162, 0.1);
  border-radius: 8px;
  display: inline-block;
}

/* Radio Group Styles */

.gs-scheme-section {
  margin: 32px 0;
  text-align: left;
}

.gs-scheme-section p {
  font-size: 16px;
  color: #374151;
  margin-bottom: 20px;
  font-weight: 600;
  font-family: inherit;
}

.gs-radio-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gs-radio-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #FAFAFA;
  font-family: inherit;
  font-weight: 500;
}

.gs-radio-option:hover {
  border-color: #764ba2;
  background: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(118, 75, 162, 0.1);
}

.gs-radio-option input[type="radio"] {
  width: auto;
  margin: 0;
  transform: scale(1.2);
}

.gs-radio-option input[type="radio"]:checked + .gs-radio-option,
.gs-radio-option:has(input[type="radio"]:checked) {
  border-color: #764ba2;
  background: rgba(118, 75, 162, 0.1);
}

/* Step Actions */

.gs-step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  gap: 24px;
}

.gs-back-button {
  background: transparent;
  border: 2px solid #E5E7EB;
  color: #6B7280;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.gs-back-button:hover {
  border-color: #764ba2;
  color: #764ba2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(118, 75, 162, 0.15);
}

.gs-continue-button,
.gs-submit-button {
  background: linear-gradient(135deg, #764ba2, #667eea);
  border: none;
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 220px;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.gs-continue-button::before,
.gs-submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.gs-continue-button:hover::before,
.gs-submit-button:hover::before {
  left: 100%;
}

.gs-continue-button:hover,
.gs-submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(118, 75, 162, 0.4);
}

.gs-submit-button:disabled {
  background: #D1D5DB;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.gs-submit-button:disabled::before {
  display: none;
}

/* Success Step - Beam Branded */

.gs-success-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

.gs-success-icon {
  margin: 0 auto 30px;
  display: flex;
  justify-content: center;
  animation: successBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successBounce {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.gs-success-logo {
  margin: 0 auto 30px;
  display: flex;
  justify-content: center;
  animation: fadeInDown 0.8s ease-out 0.2s both;
}

.gs-success-logo img {
  max-width: 200px;
  height: auto;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.gs-success-content .step-header {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.gs-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #10b981;
  border-radius: 12px;
  font-size: 15px;
  color: #047857;
  animation: fadeInUp 0.8s ease-out 0.6s both;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.gs-email-badge svg {
  flex-shrink: 0;
}

.gs-email-badge strong {
  color: #065f46;
  font-weight: 600;
}

.gs-email-notice {
  font-size: 16px !important;
  color: #6B7280 !important;
  margin-top: 24px !important;
  font-weight: 500 !important;
  font-family: inherit !important;
}

/* Enhance step header for success page */

.gs-success-content .step-header .step-title {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.gs-success-content .step-header .step-subtitle {
  color: #10b981;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 12px;
}

.gs-success-content .step-header .step-description {
  font-size: 18px;
  line-height: 1.7;
  color: #4b5563;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .gs-success-content {
    padding: 30px 15px;
  }
  
  .gs-success-icon svg {
    width: 60px;
    height: 60px;
  }
  
  .gs-success-logo img {
    max-width: 150px;
  }
  
  .gs-success-content .step-header .step-title {
    font-size: 32px;
  }
  
  .gs-email-badge {
    flex-direction: column;
    gap: 8px;
    padding: 14px 18px;
    font-size: 14px;
  }
}

/* File Upload Styles */

.gs-file-upload-section {
  margin: 30px 0;
}

.gs-file-upload-label {
  display: block;
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 500;
}

.gs-file-upload-area {
  position: relative;
  border: 2px dashed #e0e0e0;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  transition: border-color 0.3s, background-color 0.3s;
  cursor: pointer;
}

.gs-file-upload-area:hover {
  border-color: #764ba2;
  background: rgba(118, 75, 162, 0.05);
}

.gs-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.gs-file-upload-content {
  pointer-events: none;
}

.gs-upload-icon {
  font-size: 32px;
  margin-bottom: 15px;
}

.gs-file-upload-content p {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.gs-file-selected {
  color: #764ba2 !important;
  font-weight: 600 !important;
  margin-top: 10px !important;
}

/* Responsive Design */

@media (max-width: 768px) {
  .gs-step-container {
    padding: 10px;
  }
  
  .gs-step-content {
    padding: 40px 20px 30px;
  }
  
  .gs-step-header h1 {
    font-size: 24px;
  }
  
  .gs-fee-amount {
    font-size: 48px !important;
  }
  
  .gs-form-row {
    grid-template-columns: 1fr;
  }
  
  .gs-step-actions {
    flex-direction: column-reverse;
  }
  
  .gs-continue-button,
  .gs-submit-button {
    max-width: none;
    width: 100%;
  }
  
  .gs-back-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .gs-step-header h1 {
    font-size: 20px;
  }
  
  .gs-option-button {
    font-size: 16px;
    padding: 15px;
  }
  
  .gs-progress-step {
    width: 30px;
    height: 6px;
  }
}

/* Contact Page Styles */

.gs-contact-options {
  display: flex;
  gap: 24px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.gs-contact-card {
  flex: 1;
  min-width: 280px;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  border: 1px solid #e9ecef;
}

.gs-contact-card h3 {
  margin: 0 0 12px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground, #1f2937);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: -0.01em;
}

.gs-contact-card p {
  margin: 0 0 20px 0;
  color: var(--muted-foreground, #6b7280);
  font-size: 0.875rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
}

.gs-contact-button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gs-phone-button {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white !important;
  text-decoration: none !important;
}

.gs-phone-button:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
}

.gs-phone-button:visited,
.gs-phone-button:link,
.gs-phone-button:active {
  color: white !important;
  text-decoration: none !important;
}

.gs-book-button {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white !important;
}

.gs-book-button:hover {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.gs-book-button:focus {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
}

.gs-download-button {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white !important;
  text-decoration: none !important;
}

.gs-download-button:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
}

.gs-download-button:visited,
.gs-download-button:link,
.gs-download-button:active {
  color: white !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .gs-contact-options {
    flex-direction: column;
    gap: 16px;
  }
  
  .gs-contact-card {
    min-width: unset;
    padding: 20px;
  }
  
  .gs-contact-button {
    width: 100%;
    padding: 14px 24px;
  }
}



/* App-specific styles */
#root {
  min-height: 100vh;
  background: #ffffff;
  color: #1f2937;
}

/* Focus styles for accessibility */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Improved link styles */
a {
  text-decoration: none;
  color: #667eea;
  transition: color 0.2s ease;
}

a:hover {
  color: #4f46e5;
}

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

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

.text-left {
  text-align: left;
}

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

.hidden {
  display: none;
}

.flex {
  display: flex;
}

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

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

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

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

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.p-4 {
  padding: 1rem;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}
