/* Design tokens — single source of truth for the jobs-and-services module.
   Loaded as the first CSS link in every jobs-and-services HTML page. */
:root {
  --primary-color: #1a8917;
  --primary-dark: #146812;
  --primary-light: #22a31f;
  --secondary-color: #667eea;
  --accent-yellow: #e6c855;
  --success-green: #10b981;
  --warning-orange: #f59e0b;
  --danger-red: #ef4444;

  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Space Grotesk', sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition: all 0.3s ease;

  /* Tinted primary used for subtle backgrounds / focus rings */
  --primary-tint: rgba(26, 137, 23, 0.1);
  --primary-hover: #156912;

  /* Booking / application status palette (shared across pages) */
  --status-pending: #f59e0b;
  --status-pending-bg: #fef3c7;
  --status-confirmed: #10b981;
  --status-confirmed-bg: #d1fae5;
  --status-completed: #3b82f6;
  --status-completed-bg: #dbeafe;
  --status-cancelled: #ef4444;
  --status-cancelled-bg: #fee2e2;

  /* WhatsApp brand */
  --whatsapp-color: #25d366;
  --whatsapp-hover: #1da851;
}

/* ===================================
   SHARED ANIMATIONS
   =================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

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

/* ===================================
   SKELETON LOADERS
   Generic shimmer placeholders sized to match
   .professional-card / .service-card layouts.
   =================================== */
.skeleton-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.skeleton-block {
  background: linear-gradient(
    90deg,
    var(--gray-200) 0%,
    var(--gray-100) 50%,
    var(--gray-200) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite ease-in-out;
  border-radius: var(--radius-sm);
}

.skeleton-card .sk-cover {
  height: 140px;
  margin: -1rem -1rem 1rem;
  border-radius: 0;
}

.skeleton-card .sk-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.skeleton-card .sk-line {
  height: 12px;
  margin-bottom: 8px;
}

.skeleton-card .sk-line.short { width: 60%; }
.skeleton-card .sk-line.med { width: 80%; }
.skeleton-card .sk-line.long { width: 100%; }
