:root {
  /* Professional Color Palette */
  --primary-color: #7c3aed; /* violet-600 */
  --primary-dark: #6d28d9;  /* violet-700 */
  --primary-light: #8b5cf6; /* violet-500 */
  --primary-lighter: #ede9fe; /* violet-100 */
  
  /* Secondary Colors */
  --secondary-color: #f8fafc;
  --secondary-dark: #e2e8f0;
  --secondary-darker: #cbd5e1;
  
  /* Accent Colors */
  --accent-color: #059669;
  --accent-dark: #047857;
  --accent-light: #10b981;
  
  /* Text Colors */
  --text-color: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --text-lighter: #cbd5e1;
  
  /* Background Colors */
  --bg-color: #f8fafc;
  --bg-white: #ffffff;
  --bg-light: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  
  /* Border Colors */
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --border-dark: #cbd5e1;
  
  /* Status Colors */
  --success-color: #10b981;
  --success-light: #34d399;
  --warning-color: #f59e0b;
  --warning-light: #fbbf24;
  --danger-color: #ef4444;
  --danger-light: #f87171;
  --info-color: #7c3aed;
  --info-light: #a78bfa;
  
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --glass-gradient: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Modern Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-color);
  overflow-x: hidden;
}

/* Modern Header Styling */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--spacing-lg);
}

/* Modern Logo Styling */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  padding: 0.5rem;
  border-radius: var(--radius-md);
}

.logo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.logo-icon {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.logo-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* Modern Navigation */
nav {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  transition: var(--transition-normal);
  z-index: -1;
}

nav a:hover::before {
  left: 0;
}

nav a:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

nav a.btn {
  background: var(--primary-gradient);
  color: white;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  border: none;
}

nav a.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* Modern Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-normal);
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn:active {
  transform: translateY(0);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--text-color);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-accent {
  background: var(--accent-gradient);
}

.btn-success {
  background: var(--success-gradient);
}

.btn-warning {
  background: var(--warning-gradient);
}

.btn-danger {
  background: var(--danger-gradient);
}

/* Modern Form Styling */
.form-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl) 0;
}

.form-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-3xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 500px;
  width: 100%;
  margin: 0 var(--spacing-lg);
}

.form-container h2 {
  text-align: center;
  margin-bottom: var(--spacing-sm);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  font-weight: 800;
}

.form-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
  font-size: 1.1rem;
}

/* Modern Form Groups */
.form-group {
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: var(--transition-normal);
  background: var(--bg-white);
  color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

.form-group small {
  display: block;
  margin-top: var(--spacing-sm);
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Rate input styling */
#signup-rate {
  font-weight: 600;
  color: var(--primary-color);
}

#signup-rate:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Modern User Type Selection */
.user-type-selection {
  margin-bottom: var(--spacing-2xl);
}

.user-type-selection h3 {
  margin-bottom: var(--spacing-lg);
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 600;
}

.user-type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.user-type-option {
  cursor: pointer;
  position: relative;
}

.user-type-option input[type="radio"] {
  display: none;
}

.option-content {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.option-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 0;
}

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

.user-type-option input[type="radio"]:checked + .option-content {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.user-type-option input[type="radio"]:checked + .option-content::before {
  opacity: 0.05;
}

.option-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  display: block;
}

.option-content h4 {
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
  color: var(--text-color);
}

.option-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Highlight correct user type when there's a mismatch */
.user-type-option.correct-type input[type="radio"]:not(:checked) + .option-content {
  border: 2px solid var(--success-color);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.user-type-option.correct-type input[type="radio"]:not(:checked) + .option-content::before {
  background: var(--success-color);
  opacity: 1;
  transform: scale(1);
}

.user-type-option.correct-type input[type="radio"]:not(:checked) + .option-content .option-icon {
  color: var(--success-color);
}

.user-type-option.correct-type input[type="radio"]:not(:checked) + .option-content h4 {
  color: var(--success-color);
}

/* Highlight incorrect user type when there's a mismatch */
.user-type-option.incorrect-type input[type="radio"]:checked + .option-content {
  border: 2px solid var(--danger-color);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.user-type-option.incorrect-type input[type="radio"]:checked + .option-content::before {
  background: var(--danger-color);
}

.user-type-option.incorrect-type input[type="radio"]:checked + .option-content .option-icon {
  color: var(--danger-color);
}

.user-type-option.incorrect-type input[type="radio"]:checked + .option-content h4 {
  color: var(--danger-color);
}

/* Modern Worker Fields */
#worker-fields {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  border: 2px solid rgba(99, 102, 241, 0.1);
  margin: var(--spacing-xl) 0;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

#worker-fields::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
}

#worker-fields:empty {
  display: none;
}

/* Modern Checkbox Styling */
.checkbox-group {
  margin-bottom: var(--spacing-xl);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  cursor: pointer;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.checkbox-label:hover {
  background: var(--bg-light);
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition-normal);
  background: var(--bg-white);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

/* Modern Form Footer */
.form-footer {
  text-align: center;
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border-light);
}

.form-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-normal);
}

.form-footer a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Modern Link Styling */
.link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-normal);
}

.link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Modern Home Page Styling */
.hero-index {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-xl);
  color: white;
}

  .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-2xl);
  line-height: 1.6;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.feature-icon {
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

  .btn-primary {
    background: var(--primary-gradient);
    color: white;
    position: relative;
    overflow: hidden;
  }

.btn-primary::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

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

.hero-image-placeholder {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-2xl);
}

.image-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.worker-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.worker-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.worker-avatar {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.2);
  padding: var(--spacing-md);
  border-radius: var(--radius-full);
}

.worker-info h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.worker-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Modern Stats Section */
.stats-section {
  background: var(--bg-white);
  padding: var(--spacing-3xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
}

.stat-card {
  background: var(--bg-white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  color: #000000;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Modern Services Section */
.services-section {
  background: var(--bg-light);
  padding: var(--spacing-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-lg);
  display: block;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-color);
}

.service-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.service-features {
  list-style: none;
  margin-bottom: var(--spacing-xl);
}

.service-features li {
  padding: var(--spacing-sm) 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: var(--spacing-lg);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

/* Modern How It Works Section */
.how-it-works {
  background: var(--bg-white);
  padding: var(--spacing-3xl) 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  position: relative;
}

.step-card {
  text-align: center;
  padding: var(--spacing-2xl);
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto var(--spacing-lg);
  box-shadow: var(--shadow-lg);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-color);
}

.step-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Modern Testimonials Section */
.testimonials-section {
  background: var(--bg-light);
  padding: var(--spacing-3xl) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
}

.testimonial-card {
  background: var(--bg-white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.author-info h4 {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: var(--spacing-sm);
}

.star {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Modern CTA Section */
.cta-section {
  background: var(--primary-gradient);
  padding: var(--spacing-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: var(--spacing-lg);
}

.cta-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* Modern Footer */
footer {
  background: var(--bg-dark);
  color: white;
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: var(--spacing-lg);
  color: white;
}

.footer-section a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: var(--spacing-sm);
  transition: var(--transition-normal);
}

.footer-section a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .stats-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Modern Dashboard Styling */
.dashboard-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: var(--spacing-2xl) 0;
}

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.welcome-section {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-3xl);
  margin-bottom: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.welcome-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.welcome-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  color: #000000;
}

.welcome-subtitle {
  font-size: 1.25rem;
  color: #000000;
  margin-bottom: var(--spacing-xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.stat-card {
  background: var(--bg-white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1rem;
}

.quick-actions {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.quick-actions h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  color: var(--text-color);
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
}

.action-card {
  background: var(--bg-light);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  cursor: pointer;
}

.action-card:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.action-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  display: block;
}

.action-title {
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.action-description {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Modern Cards Section */
.cards-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-2xl);
}

.recent-section {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.recent-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.view-all-btn {
  font-size: 0.9rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-normal);
}

.view-all-btn:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

.recent-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  border: 1px solid var(--border-light);
}

.recent-item:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(5px);
}

.recent-icon {
  font-size: 1.5rem;
  background: var(--primary-color);
  color: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-full);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recent-item:hover .recent-icon {
  background: white;
  color: var(--primary-color);
}

.recent-info h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.recent-info p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Modern Workers Page Styling */
.workers-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: var(--spacing-2xl) 0;
}

.workers-header {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  text-align: center;
}

.workers-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.workers-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
}

.filters-section {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-2xl);
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  background: var(--bg-white);
  color: var(--text-color);
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.workers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.worker-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
}

.worker-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.worker-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.worker-card:hover::before {
  transform: scaleX(1);
}

.worker-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  flex-shrink: 0;
}

.worker-avatar {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.worker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.worker-info {
  flex: 1;
  min-width: 0;
}

.worker-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--text-color);
  line-height: 1.3;
}

.worker-info p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xs);
  font-size: 0.9rem;
  font-weight: 500;
}

.worker-type {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-sm);
}

.worker-rating {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-sm);
}

.stars {
  display: flex;
  gap: 0.125rem;
}

.star {
  color: var(--primary-color);
  font-size: 0.875rem;
}

.worker-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  flex: 1;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: var(--spacing-xs) 0;
}

.detail-item:not(:last-child) {
  border-bottom: 1px solid var(--border-light);
}

.detail-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.detail-icon {
  color: var(--primary-color);
  font-size: 1rem;
  width: 16px;
  flex-shrink: 0;
}

.worker-rate {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: var(--spacing-sm);
}

.worker-experience {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-sm);
}

.worker-skills {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.4;
  margin-bottom: var(--spacing-lg);
  flex: 1;
}

.worker-actions {
  margin-top: auto;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-light);
}

.btn-view {
  width: 100%;
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-view:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  background: var(--primary-dark);
}

/* Improved Loading States */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3xl);
  text-align: center;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-light);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: var(--spacing-lg);
}

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

.loading-state p {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

/* Improved Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3xl);
  text-align: center;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
}

.empty-state p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
  max-width: 400px;
}

/* Performance Optimizations */
.workers-grid {
  contain: layout style paint;
}

.worker-card {
  contain: layout style paint;
  will-change: transform;
}

/* Responsive Design */
@media (max-width: 768px) {
  .workers-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .worker-card {
    min-height: auto;
    padding: var(--spacing-lg);
  }
  
  .worker-header {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .worker-avatar {
    width: 120px;
    height: 120px;
  }
  
  .worker-info h3 {
    font-size: 1.2rem;
  }
  
  .worker-details {
    text-align: center;
  }
  
  .detail-item {
    justify-content: center;
  }
}

/* Modern Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--bg-white);
  margin: 5% auto;
  padding: var(--spacing-3xl);
  border-radius: var(--radius-2xl);
  width: 90%;
  max-width: 600px;
  box-shadow: var(--shadow-2xl);
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-2xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
}

.close {
  color: var(--text-light);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-normal);
}

.close:hover {
  color: var(--text-color);
}

/* Modern Profile Page Styling */
.profile-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: var(--spacing-2xl) 0;
}

.profile-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.profile-header {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-3xl);
  margin-bottom: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.profile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.profile-avatar {
  width: 120px;
  height: 120px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  margin: 0 auto var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.avatar-upload {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--accent-color);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
}

.avatar-upload:hover {
  background: var(--accent-dark);
  transform: scale(1.1);
}

.profile-name {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-role {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
}

.profile-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-2xl);
}

.profile-main {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.profile-sidebar {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  height: fit-content;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.section-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

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

/* Modern Admin Dashboard Styling */
.admin-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: var(--spacing-2xl) 0;
}

.admin-header {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  text-align: center;
}

.admin-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.admin-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-2xl);
}

.admin-main {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.admin-sidebar {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  height: fit-content;
}

.pending-worker {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.pending-worker:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.worker-actions-admin {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.btn-approve {
  background: var(--success-gradient);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-approve:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-reject {
  background: var(--danger-gradient);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-reject:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Modern About Page Styling */
.about-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-hero .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-xl);
  color: white;
}

.about-hero .hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-2xl);
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

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

.stat-item .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.stat-item .stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

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

.image-container {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-2xl);
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  margin-bottom: var(--spacing-xl);
}

.image-overlay {
  position: absolute;
  bottom: var(--spacing-xl);
  left: var(--spacing-xl);
  right: var(--spacing-xl);
}

.overlay-content {
  display: flex;
  gap: var(--spacing-lg);
}

.team-member {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.member-avatar {
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: var(--spacing-sm);
  border-radius: var(--radius-full);
}

.member-info h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.member-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
}

/* About Content Sections */
.about-content {
  background: var(--bg-white);
  padding: var(--spacing-3xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

.about-section {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.section-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-color);
}

.section-icon {
  font-size: 2rem;
  color: var(--primary-color);
}

.mission-stats {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.mission-stat {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.stat-icon {
  font-size: 1.5rem;
}

.stat-text {
  font-weight: 600;
  color: var(--text-color);
}

.timeline {
  margin-top: var(--spacing-xl);
}

.timeline-item {
  display: flex;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 25px;
  top: 50px;
  bottom: -20px;
  width: 2px;
  background: var(--border-color);
}

.timeline-marker {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.timeline-content h4 {
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Services Overview Section */
.services-overview {
  background: var(--bg-light);
  padding: var(--spacing-3xl) 0;
}

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

.section-header.text-center {
  flex-direction: column;
  gap: var(--spacing-md);
}

.section-header.text-center h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header.text-center p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Values Section */
.values-section {
  background: var(--bg-white);
  padding: var(--spacing-3xl) 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
}

.value-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-lg);
  display: block;
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-color);
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Modern Contact Page Styling */
.contact-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.contact-hero .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-xl);
  color: white;
}

.contact-hero .hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-2xl);
  line-height: 1.6;
}

.contact-illustration {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-2xl);
}

.illustration-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.support-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.support-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.support-avatar {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.2);
  padding: var(--spacing-md);
  border-radius: var(--radius-full);
}

.support-info h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.support-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Contact Content */
.contact-content {
  background: var(--bg-white);
  padding: var(--spacing-3xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

.contact-info-section {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.contact-info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.contact-method:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.contact-icon {
  font-size: 2rem;
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
  padding: var(--spacing-md);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.contact-details h4 {
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
}

.contact-details p {
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.contact-details small {
  color: var(--text-light);
  font-size: 0.8rem;
}

.contact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.contact-stats .stat-card {
  background: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.contact-stats .stat-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.contact-stats .stat-info h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-color);
}

.contact-stats .stat-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Contact Form Section */
.contact-form-section {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.contact-form-section .form-container {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-3xl);
  box-shadow: none;
  border: none;
  max-width: none;
  margin: 0;
}

.contact-form-section .form-container::before {
  display: none;
}

.contact-form-section .section-header {
  margin-bottom: var(--spacing-lg);
}

.contact-form-section .form-subtitle {
  margin-bottom: var(--spacing-2xl);
}

/* FAQ Section */
.faq-section {
  background: var(--bg-light);
  padding: var(--spacing-3xl) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-2xl);
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  display: flex;
  gap: var(--spacing-lg);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
  padding: var(--spacing-md);
  border-radius: var(--radius-full);
  height: fit-content;
  flex-shrink: 0;
}

.faq-content h4 {
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-color);
}

.faq-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive Design for About & Contact */
@media (max-width: 768px) {
  .about-hero .hero-content,
  .contact-hero .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-hero .hero-title,
  .contact-hero .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-stats {
    grid-template-columns: 1fr;
  }
  
  .overlay-content {
    flex-direction: column;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline-item::after {
    display: none;
  }
}

/* Modern Success Page Styling */
.success-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl) 0;
}

.success-card {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-3xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--border-light);
  text-align: center;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.success-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--success-gradient);
}

.success-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-xl);
  display: block;
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.success-card h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  background: var(--success-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.success-message {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
  line-height: 1.6;
}

.success-details {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--border-light);
}

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

.detail-label {
  font-weight: 600;
  color: var(--text-color);
}

.detail-value {
  color: var(--text-secondary);
}

.status-confirmed {
  color: var(--success-color);
  font-weight: 600;
}

.success-actions {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.success-note {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  color: var(--success-color);
  font-weight: 500;
}

/* Modern Worker Profile Page Styling */
.worker-profile-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: var(--spacing-2xl) 0;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.back-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  transition: var(--transition-normal);
}

.back-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateX(-5px);
}

.profile-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.worker-profile-card {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-3xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.worker-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

/* Modern Workers Page Styling */
.workers-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: var(--spacing-2xl) 0;
}

.workers-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.workers-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.workers-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.search-filter-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-3xl);
  align-items: center;
}

.search-box {
  display: flex;
  max-width: 500px;
  width: 100%;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 1rem 1.25rem;
  padding-right: 3rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: var(--transition-normal);
  background: var(--bg-white);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-btn {
  position: absolute;
  right: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition-normal);
}

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

.filter-container {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  background: var(--bg-white);
  color: var(--text-color);
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Loading and Empty States */
.loading-state,
.empty-state {
  text-align: center;
  padding: var(--spacing-3xl);
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto var(--spacing-lg);
}

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

.empty-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-color);
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

/* Enhanced Dashboard Styling */
.dashboard-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: var(--spacing-2xl) 0;
}

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.welcome-section {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-3xl);
  margin-bottom: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
}

.welcome-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.welcome-content {
  flex: 1;
  min-width: 300px;
}

.welcome-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  color: #000000;
}

.welcome-subtitle {
  font-size: 1.25rem;
  color: #000000;
  margin-bottom: var(--spacing-xl);
}

.welcome-actions {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.stat-card {
  background: var(--bg-white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
  padding: var(--spacing-lg);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
  text-align: left;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1rem;
}

.cards-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-2xl);
}

.recent-section {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

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

.recent-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
}

.view-all-btn {
  font-size: 0.9rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-normal);
}

.view-all-btn:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

.recent-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  border: 1px solid var(--border-light);
}

.recent-item:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(5px);
}

.recent-icon {
  font-size: 1.5rem;
  background: var(--primary-color);
  color: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-full);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recent-item:hover .recent-icon {
  background: white;
  color: var(--primary-color);
}

.recent-info h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.recent-info p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.quick-actions {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  height: fit-content;
}

.quick-actions h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  color: var(--text-color);
}

.actions-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.action-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.action-card:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.action-icon {
  font-size: 2rem;
  background: var(--primary-color);
  color: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-full);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.action-card:hover .action-icon {
  background: white;
  color: var(--primary-color);
}

.action-content {
  flex: 1;
}

.action-title {
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
}

.action-description {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.4;
}

/* Enhanced Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--bg-white);
  margin: 5% auto;
  padding: 0;
  border-radius: var(--radius-2xl);
  width: 90%;
  max-width: 700px;
  box-shadow: var(--shadow-2xl);
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-2xl);
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
}

.close {
  color: var(--text-light);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-normal);
}

.close:hover {
  color: var(--text-color);
}

.modal-body {
  padding: var(--spacing-2xl);
  max-height: 70vh;
  overflow-y: auto;
}

/* Responsive Design for All Pages */
@media (max-width: 768px) {
  .welcome-section {
    flex-direction: column;
    text-align: center;
  }
  
  .welcome-actions {
    justify-content: center;
  }
  
  .cards-section {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    flex-direction: column;
    text-align: center;
  }
  
  .stat-content {
    text-align: center;
  }
  
  .search-filter-section {
    align-items: stretch;
  }
  
  .filter-container {
    justify-content: stretch;
  }
  
  .filter-btn {
    flex: 1;
    text-align: center;
  }
  
  .success-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .workers-header h1 {
    font-size: 2.5rem;
  }
}

/* Admin Login Page Styling */
.auth-page {
  min-height: 100vh;
  background: var(--gradient-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.auth-container {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 3rem;
  width: 100%;
  max-width: 500px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

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

.auth-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

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

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

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

.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  background: var(--input-bg);
  color: var(--text-color);
  transition: all 0.3s ease;
}

.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-color-alpha);
  outline: none;
}

.auth-form .checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-color);
}

.auth-form .checkbox-label input[type="checkbox"] {
  margin-right: 0.5rem;
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
}

.auth-form .btn-full {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1rem;
}

.auth-footer {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-footer p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.auth-footer a:hover {
  color: var(--primary-dark);
}

.demo-info {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.demo-info h4 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.demo-info p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.demo-info strong {
  color: var(--text-color);
}

.demo-info small {
  color: var(--text-muted);
  font-style: italic;
}

/* Admin Dashboard Styling */
.admin-dashboard {
  min-height: 100vh;
  background: var(--page-bg);
  padding: 2rem 0;
}

.admin-header {
  text-align: center;
  margin-bottom: 3rem;
}

.admin-header h1 {
  font-size: 3rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.admin-header p {
  color: var(--text-secondary);
  font-size: 1.2rem;
}

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

.admin-stats-grid .stat-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.admin-stats-grid .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.admin-stats-grid .stat-icon {
  width: 48px;
  height: 48px;
  margin-right: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border-radius: var(--radius-md);
  padding: 8px;
}

.admin-stats-grid .stat-icon svg {
  width: 100%;
  height: 100%;
  color: white;
  fill: white;
}

.admin-stats-grid .stat-content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.admin-stats-grid .stat-content p {
  color: var(--text-secondary);
  font-weight: 500;
}

.admin-sections {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.section-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.section-header {
  background: var(--primary-gradient);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.section-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.workers-list {
  padding: 2rem;
  max-height: 500px;
  overflow-y: auto;
}

.pending-worker {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.pending-worker:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.worker-info h4 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.worker-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.worker-actions-admin {
  display: flex;
  gap: 0.5rem;
}

.btn-approve {
  background: var(--success-gradient);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-approve:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-reject {
  background: var(--danger-gradient);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-reject:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.activity-list {
  padding: 2rem;
  max-height: 500px;
  overflow-y: auto;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

.activity-icon {
  width: 24px;
  height: 24px;
  margin-right: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.activity-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.activity-content p {
  color: var(--text-color);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.activity-content small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.admin-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: 2rem;
}

.admin-info span {
  color: var(--text-color);
  font-weight: 600;
}

.admin-info small {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* Admin Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--card-bg);
  margin: 5% auto;
  padding: 0;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 600px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
  background: var(--primary-gradient);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.modal-header .close {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.modal-header .close:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 2rem;
}

.modal-body p {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.modal-body textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  background: var(--input-bg);
  color: var(--text-color);
  resize: vertical;
  min-height: 100px;
  transition: all 0.3s ease;
}

.modal-body textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-color-alpha);
  outline: none;
}

.approval-actions,
.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: flex-end;
}

.approval-actions .btn,
.modal-actions .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

/* Loading and Empty States */
.loading-state {
  text-align: center;
  padding: 3rem 1rem;
}

.spinner {
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

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

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
}

.empty-state p {
  font-size: 1.1rem;
  margin: 0;
}

/* Responsive Design for Admin Pages */
@media (max-width: 768px) {
  .auth-container {
    padding: 2rem;
    margin: 1rem;
  }
  
  .auth-header h1 {
    font-size: 2rem;
  }
  
  .admin-header h1 {
    font-size: 2rem;
  }
  
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-sections {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .pending-worker {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .worker-actions-admin {
    justify-content: center;
  }
  
  .admin-info {
    margin-left: 0;
    margin-top: 1rem;
    align-items: center;
  }
  
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
  
  .approval-actions,
  .modal-actions {
    flex-direction: column;
  }
}

/* Admin Sign Out Button Specific Styles */
#adminSignOutBtn {
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  background: var(--primary-gradient);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

#adminSignOutBtn:hover {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  text-decoration: none !important;
}

#adminSignOutBtn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

/* Worker Profile Modal Styles */
.worker-profile-modal {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.worker-profile-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border-light);
}

.worker-profile-header .worker-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-light);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

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

.worker-profile-header .worker-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: var(--spacing-sm);
}

.worker-profile-header .worker-type {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-sm);
}

.worker-profile-header .worker-rate {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: var(--spacing-sm);
}

.worker-profile-header .worker-rating {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.worker-details-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.booking-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-color);
  min-height: 100vh;
}

.booking-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.booking-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.booking-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.booking-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  max-width: 1200px;
  margin: 0 auto;
}

.worker-profile-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  height: fit-content;
}

.worker-profile-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border-light);
}

.worker-profile-header .worker-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-light);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

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

.worker-profile-header .worker-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: var(--spacing-sm);
}

.worker-profile-header .worker-type {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-sm);
}

.worker-profile-header .worker-rate {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: var(--spacing-sm);
}

.worker-profile-header .worker-rating {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.worker-details-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.booking-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.booking-form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.form-group label {
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: var(--spacing-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition-normal);
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.booking-summary {
  background: var(--bg-light);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.booking-summary h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-light);
}

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

.summary-item.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-color);
  border-top: 2px solid var(--border-color);
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-sm);
}

.booking-actions {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.booking-actions .btn {
  min-width: 150px;
  padding: var(--spacing-md) var(--spacing-xl);
}

/* Responsive Design for Booking Page */
@media (max-width: 1024px) {
  .booking-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
}

@media (max-width: 768px) {
  .booking-section {
    padding: var(--spacing-2xl) 0;
  }
  
  .booking-header h1 {
    font-size: 2rem;
  }
  
  .worker-profile-header {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .worker-profile-header .worker-avatar {
    width: 80px;
    height: 80px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .booking-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .booking-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Back Button Styles */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-normal);
  cursor: pointer;
  margin-bottom: var(--spacing-lg);
}

.back-btn:hover {
  background: var(--bg-light);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.back-btn:active {
  transform: translateY(1px);
}

/* Avatar Placeholder Styles */
.avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Appointment Item Enhancements */
.appointment-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: var(--spacing-md);
  transition: var(--transition-normal);
}

.appointment-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.appointment-item.completed {
  opacity: 0.8;
  background: var(--bg-light);
}

.appointment-info {
  flex: 1;
}

.appointment-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: var(--spacing-sm);
}

.appointment-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xs);
}

.appointment-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-direction: column;
}

.appointment-actions .btn {
  min-width: 120px;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.9rem;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.completed {
  background: var(--success-light);
  color: var(--success-color);
}

/* Worker Appointments Page Styles */
.appointments-page {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-color);
  min-height: 100vh;
}

.page-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Filters Section */
.filters-section {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-2xl);
  padding: var(--spacing-xl);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.search-box {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex: 1;
  max-width: 400px;
}

.search-box input {
  flex: 1;
  padding: var(--spacing-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition-normal);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-btn {
  padding: var(--spacing-md);
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
}

.search-btn:hover {
  background: var(--primary-dark);
}

.filter-container {
  display: flex;
  gap: var(--spacing-sm);
}

.filter-btn {
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: 0.9rem;
}

.filter-btn:hover {
  background: var(--primary-light);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.sort-container select {
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  color: var(--text-color);
  font-size: 0.9rem;
  cursor: pointer;
}

/* Appointments Container */
.appointments-container {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

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

/* Enhanced Appointment Item Styles */
.appointment-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  position: relative;
}

.appointment-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.appointment-header h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.appointment-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xs) 0;
}

.detail-label {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.detail-value {
  color: var(--text-color);
  font-size: 0.9rem;
}

.detail-value.amount {
  font-weight: 600;
  color: var(--accent-color);
}

/* Status Badge Styles */
.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.scheduled {
  background: var(--warning-light);
  color: var(--warning-color);
}

.status-badge.confirmed {
  background: var(--info-light);
  color: var(--info-color);
}

.status-badge.completed {
  background: var(--success-light);
  color: var(--success-color);
}

/* Appointment Actions */
.appointment-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  min-width: 140px;
}

.appointment-actions .btn {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.9rem;
  text-align: center;
}

/* Modal Styles for Appointment Details */
.appointment-details-modal {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.appointment-details-modal .detail-section {
  background: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.appointment-details-modal .detail-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: var(--spacing-sm);
}

.appointment-details-modal .detail-section p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
}

.appointment-details-modal .detail-section p strong {
  color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .filters-section {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-md);
  }
  
  .search-box {
    max-width: none;
  }
  
  .filter-container {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .appointments-page {
    padding: var(--spacing-2xl) 0;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .appointment-item {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .appointment-actions {
    flex-direction: row;
    justify-content: center;
    min-width: auto;
  }
  
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
  }
  
  .filter-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .filter-btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
  }
}

/* Customer Dashboard Booking Items */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.refresh-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.refresh-btn:hover {
  background: var(--bg-secondary);
  color: var(--primary-color);
  transform: rotate(180deg);
}

.view-all-btn {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.view-all-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.view-all-btn .arrow-icon {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.view-all-btn:hover .arrow-icon {
  transform: translateX(3px);
}

.booking-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.booking-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.booking-worker-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.booking-worker-info .worker-avatar {
  flex-shrink: 0;
}

.booking-worker-info .worker-avatar .avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.booking-details {
  flex: 1;
}

.booking-details .worker-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.booking-details p {
  margin: 0.25rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.booking-details .booking-amount {
  font-weight: 600;
  color: var(--success-color);
}

.booking-status {
  display: flex;
  justify-content: flex-end;
}

/* Customer Bookings Page Styles */
.bookings-page {
  padding: 2rem 0;
  min-height: calc(100vh - 200px);
}

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

.header-content h1 {
  font-size: 2rem;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.header-content p {
  color: var(--text-secondary);
  margin: 0;
}

.header-actions .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filters-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}

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

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--card-bg);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.search-box .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--card-bg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.bookings-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.summary-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.summary-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.summary-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.summary-content p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9rem;
}

.bookings-container {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.bookings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.bookings-header h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.25rem;
}

.sort-options select {
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--card-bg);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.bookings-list {
  padding: 1.5rem;
}

.booking-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.booking-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.booking-card:last-child {
  margin-bottom: 0;
}

.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
}

.worker-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.worker-info .worker-avatar {
  flex-shrink: 0;
}

.worker-info .worker-avatar .avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.worker-details h3 {
  margin: 0 0 0.25rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.worker-details p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.booking-content {
  padding: 1.5rem;
}

.booking-details {
  margin-bottom: 1.5rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.detail-value {
  color: var(--text-primary);
  font-size: 0.9rem;
}

.detail-value.amount {
  font-weight: 600;
  color: var(--success-color);
}

.booking-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.booking-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Status Badge Styles */
.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.completed {
  background: var(--success-color);
  color: white;
}

.status-badge.pending {
  background: var(--warning-color);
  color: white;
}

.status-badge.cancelled {
  background: var(--danger-color);
  color: white;
}

.status-badge.unknown {
  background: var(--text-secondary);
  color: white;
}

/* Loading and Empty States */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--text-secondary);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  color: var(--text-secondary);
}

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

.empty-state h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
}

.empty-state p {
  margin: 0 0 1.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .filters-section {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-box {
    min-width: auto;
  }
  
  .filter-buttons {
    justify-content: center;
  }
  
  .bookings-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bookings-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .booking-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .booking-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* Admin Tabs and User Management */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1rem;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.tab-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.tab-content {
  display: none;
}

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

/* Search and Filter Controls */
.search-input {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  min-width: 200px;
  background: white;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.filter-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  background: white;
  cursor: pointer;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Users List */
.users-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.user-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.user-info {
  flex: 1;
}

.user-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.user-email {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.user-details {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.user-detail {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.user-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.user-status.active {
  background: #dcfce7;
  color: #166534;
}

.user-status.inactive {
  background: #fef2f2;
  color: #dc2626;
}

.user-status.pending {
  background: var(--primary-lighter);
  color: var(--primary-color);
}

.user-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.action-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.action-btn.view {
  background: var(--primary-color);
  color: white;
}

.action-btn.view:hover {
  background: var(--primary-dark);
}

.action-btn.edit {
  background: var(--primary-color);
  color: white;
}

.action-btn.edit:hover {
  background: var(--primary-dark);
}

.action-btn.delete {
  background: #dc2626;
  color: white;
}

.action-btn.delete:hover {
  background: #b91c1c;
}

.action-btn.approve {
  background: #10b981;
  color: white;
}

.action-btn.approve:hover {
  background: #059669;
}

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

.action-btn.reject:hover {
  background: #4b5563;
}

/* Confirmation Modal */
.confirmation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.confirmation-modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.confirmation-modal.show .modal-content {
  transform: scale(1);
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.modal-icon.danger {
  color: #dc2626;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.modal-message {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.modal-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  min-width: 100px;
}

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

.modal-btn.cancel:hover {
  background: #4b5563;
}

.modal-btn.confirm {
  background: #dc2626;
  color: white;
}

.modal-btn.confirm:hover {
  background: #b91c1c;
}

/* Responsive Admin Tabs */
@media (max-width: 768px) {
  .admin-tabs {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .tab-btn {
    text-align: center;
  }
  
  .user-card {
    flex-direction: column;
    text-align: center;
  }
  
  .user-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .search-input,
  .filter-select {
    min-width: auto;
    width: 100%;
  }
}

/* Rating System Styles */
.rating-section {
  text-align: center;
  padding: 1rem 0;
}

.rating-section h4 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.star-rating {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.star-rating input[type="radio"] {
  display: none;
}

.star-rating label {
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #ddd;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input[type="radio"]:checked ~ label {
  color: var(--primary-color);
}

.star-rating input[type="radio"]:checked ~ label {
  transform: scale(1.1);
}

#rating-comment {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  resize: vertical;
  margin-bottom: 1.5rem;
}

#rating-comment:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.rating-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.completion-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Enhanced Booking and Appointment Cards */
.booking-card,
.appointment-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.booking-card:hover,
.appointment-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

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

.worker-info,
.customer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.worker-avatar,
.customer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.worker-details h3,
.customer-details h4 {
  margin: 0 0 0.25rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.worker-details p,
.customer-details p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.booking-content,
.appointment-details {
  margin-bottom: 1rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.detail-value {
  color: var(--text-primary);
  font-size: 0.9rem;
}

.detail-value.amount {
  font-weight: 600;
  color: var(--primary-color);
}

.booking-actions,
.appointment-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.status-badge.completed {
  background: #dcfce7;
  color: #166534;
}

.status-badge.pending {
  background: var(--primary-lighter);
  color: var(--primary-color);
}

.status-badge.cancelled {
  background: #fef2f2;
  color: #dc2626;
}

.status-badge.unknown {
  background: #f3f4f6;
  color: #6b7280;
}

/* Admin Dashboard Specific Styles */
.admin-dashboard {
  padding: 2rem 0;
}

/* Worker Profile Modal Styles */
#worker-profile-modal .modal-content {
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.profile-avatar {
  flex-shrink: 0;
}

.profile-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.profile-avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.profile-info h4 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  font-size: 1.5rem;
}

.profile-info p {
  margin: 0.25rem 0;
  color: var(--text-secondary);
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: var(--text-primary);
  min-width: 120px;
}

.detail-row span:last-child {
  color: var(--text-secondary);
  text-align: right;
  flex: 1;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

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

.admin-header h1 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.admin-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

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

.admin-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  font-weight: 500;
}

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

.tab-btn.active {
  background: var(--primary-color);
  color: white;
}

.tab-content {
  display: none;
}

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

.section-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header h2 {
  color: var(--text-primary);
  margin: 0;
}

.section-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-input {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  min-width: 200px;
}

.filter-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: white;
  min-width: 150px;
}

.users-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.user-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.user-details h4 {
  margin: 0 0 0.25rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.user-details p {
  margin: 0 0 0.25rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.user-details p:last-child {
  margin-bottom: 0;
}

.user-status {
  margin: 0 1rem;
}

.user-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Admin Dashboard Button Styles - High Visibility */
.user-actions .btn-secondary,
.admin-dashboard .user-actions .btn-secondary,
.admin-dashboard .section-card .user-actions .btn-secondary {
  background: #10b981 !important;
  color: white !important;
  border: 2px solid #10b981 !important;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user-actions .btn-secondary:hover,
.admin-dashboard .user-actions .btn-secondary:hover,
.admin-dashboard .section-card .user-actions .btn-secondary:hover {
  background: #059669 !important;
  border-color: #059669 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4);
}

.user-actions .btn-danger,
.admin-dashboard .user-actions .btn-danger,
.admin-dashboard .section-card .user-actions .btn-danger {
  background: #ef4444 !important;
  color: white !important;
  border: 2px solid #ef4444 !important;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.user-actions .btn-danger:hover,
.admin-dashboard .user-actions .btn-danger:hover,
.admin-dashboard .section-card .user-actions .btn-danger:hover {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

/* Force visibility for admin dashboard buttons */
.admin-dashboard button.btn-secondary,
.admin-dashboard button.btn-outline {
  background: #10b981 !important;
  color: white !important;
  border: 2px solid #10b981 !important;
  font-weight: 700 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.5rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.admin-dashboard button.btn-secondary:hover,
.admin-dashboard button.btn-outline:hover {
  background: #059669 !important;
  border-color: #059669 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4) !important;
}

.worker-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.worker-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.worker-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.worker-details h4 {
  margin: 0 0 0.25rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.worker-details p {
  margin: 0 0 0.25rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.worker-details p:last-child {
  margin-bottom: 0;
}

.worker-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.status-badge.approved {
  background: #dcfce7;
  color: #166534;
}

.status-badge.pending {
  background: var(--primary-lighter);
  color: var(--primary-color);
}

.loading-state {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

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

.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}

.empty-state p {
  font-size: 1.1rem;
  margin: 0;
}

.error-state {
  text-align: center;
  padding: 2rem;
  color: #dc2626;
  background: #fef2f2;
  border-radius: var(--border-radius);
  border: 1px solid #fecaca;
}

.activity-list {
  max-height: 400px;
  overflow-y: auto;
}

.activity-item {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.activity-content h4 {
  margin: 0 0 0.25rem 0;
  color: var(--text-primary);
  font-size: 1rem;
}

.activity-content p {
  margin: 0 0 0.25rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.activity-content small {
  color: var(--text-secondary);
  font-size: 0.8rem;
}