/* 
 * 815 Employee Portal - Production CSS
 * This file combines Tailwind CSS and custom styles for production use
 * Last updated: 2025-08-05
 */

/* Include the entire Tailwind CSS content */
/* Import Tailwind CSS */
@import url('/assets/css/tailwind.min.css');

/* Custom styles with Tailwind utility classes */

/* Base styles */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
}

/* Primary colors */
.bg-primary-50 { background-color: #f0f9ff; }
.bg-primary-100 { background-color: #e0f2fe; }
.bg-primary-200 { background-color: #bae6fd; }
.bg-primary-300 { background-color: #7dd3fc; }
.bg-primary-400 { background-color: #38bdf8; }
.bg-primary-500 { background-color: #0ea5e9; }
.bg-primary-600 { background-color: #0284c7; }
.bg-primary-700 { background-color: #0369a1; }
.bg-primary-800 { background-color: #075985; }
.bg-primary-900 { background-color: #0c4a6e; }
.bg-primary-950 { background-color: #082f49; }

.text-primary-50 { color: #f0f9ff; }
.text-primary-100 { color: #e0f2fe; }
.text-primary-200 { color: #bae6fd; }
.text-primary-300 { color: #7dd3fc; }
.text-primary-400 { color: #38bdf8; }
.text-primary-500 { color: #0ea5e9; }
.text-primary-600 { color: #0284c7; }
.text-primary-700 { color: #0369a1; }
.text-primary-800 { color: #075985; }
.text-primary-900 { color: #0c4a6e; }
.text-primary-950 { color: #082f49; }

/* Secondary colors */
.bg-secondary-50 { background-color: #f8fafc; }
.bg-secondary-100 { background-color: #f1f5f9; }
.bg-secondary-200 { background-color: #e2e8f0; }
.bg-secondary-300 { background-color: #cbd5e1; }
.bg-secondary-400 { background-color: #94a3b8; }
.bg-secondary-500 { background-color: #64748b; }
.bg-secondary-600 { background-color: #475569; }
.bg-secondary-700 { background-color: #334155; }
.bg-secondary-800 { background-color: #1e293b; }
.bg-secondary-900 { background-color: #0f172a; }
.bg-secondary-950 { background-color: #020617; }

.text-secondary-50 { color: #f8fafc; }
.text-secondary-100 { color: #f1f5f9; }
.text-secondary-200 { color: #e2e8f0; }
.text-secondary-300 { color: #cbd5e1; }
.text-secondary-400 { color: #94a3b8; }
.text-secondary-500 { color: #64748b; }
.text-secondary-600 { color: #475569; }
.text-secondary-700 { color: #334155; }
.text-secondary-800 { color: #1e293b; }
.text-secondary-900 { color: #0f172a; }
.text-secondary-950 { color: #020617; }

/* Custom component styles */
.btn {
  padding: 0.5rem 1rem; /* px-4 py-2 */
  border-radius: 0.25rem; /* rounded */
  font-weight: 500; /* font-medium */
  transition-property: color, background-color, border-color;
  transition-duration: 200ms; /* duration-200 */
}

.btn-primary {
  background-color: #0284c7; /* bg-primary-600 */
  color: white; /* text-white */
}
.btn-primary:hover {
  background-color: #0369a1; /* hover:bg-primary-700 */
}

.btn-secondary {
  background-color: #475569; /* bg-secondary-600 */
  color: white; /* text-white */
}
.btn-secondary:hover {
  background-color: #334155; /* hover:bg-secondary-700 */
}

.card {
  background-color: white; /* bg-white */
  border-radius: 0.5rem; /* rounded-lg */
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); /* shadow */
  padding: 1.5rem; /* p-6 */
}

/* Form elements */
.form-input {
  width: 100%; /* w-full */
  padding: 0.5rem 0.75rem; /* px-3 py-2 */
  border: 1px solid #d1d5db; /* border border-gray-300 */
  border-radius: 0.375rem; /* rounded-md */
}
.form-input:focus {
  outline: none; /* focus:outline-none */
  border-color: #0ea5e9; /* focus:border-primary-500 */
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.25); /* focus:ring-2 focus:ring-primary-500 */
}

.form-label {
  display: block; /* block */
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  color: #374151; /* text-gray-700 */
  margin-bottom: 0.25rem; /* mb-1 */
}

/* Table styles */
.table-container {
  overflow-x: auto; /* overflow-x-auto */
}

.table {
  min-width: 100%; /* min-w-full */
  border-collapse: collapse;
  border-spacing: 0;
  border-bottom: 1px solid #e5e7eb; /* divide-y divide-gray-200 */
}

.table thead {
  background-color: #f9fafb; /* bg-gray-50 */
}

.table th {
  padding: 0.75rem 1.5rem; /* px-6 py-3 */
  text-align: left; /* text-left */
  font-size: 0.75rem; /* text-xs */
  font-weight: 500; /* font-medium */
  color: #6b7280; /* text-gray-500 */
  text-transform: uppercase; /* uppercase */
  letter-spacing: 0.05em; /* tracking-wider */
}

.table tbody {
  background-color: white; /* bg-white */
}
.table tbody tr {
  border-top: 1px solid #e5e7eb; /* divide-y divide-gray-200 */
}

.table td {
  padding: 1rem 1.5rem; /* px-6 py-4 */
  white-space: nowrap; /* whitespace-nowrap */
  font-size: 0.875rem; /* text-sm */
  color: #6b7280; /* text-gray-500 */
}

/* Timesheet specific styles */
.timer-active {
  background-color: #dcfce7; /* bg-green-100 */
  border-left: 4px solid #22c55e; /* border-l-4 border-green-500 */
}

.timer-paused {
  background-color: #fef9c3; /* bg-yellow-100 */
  border-left: 4px solid #eab308; /* border-l-4 border-yellow-500 */
}

.timer-stopped {
  background-color: #f3f4f6; /* bg-gray-100 */
  border-left: 4px solid #6b7280; /* border-l-4 border-gray-500 */
}

/* Responsive utilities */
@media (max-width: 640px) {
  .mobile-menu {
    position: fixed; /* fixed */
    top: 0; right: 0; bottom: 0; left: 0; /* inset-0 */
    background-color: rgba(31, 41, 55, 0.75); /* bg-gray-800 bg-opacity-75 */
    z-index: 50; /* z-50 */
  }
}
