/* Overlay */
/* .overlay {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1;
      } */
/* Center Card */
/* line 12, app/assets/stylesheets/application.scss */
.login-card {
  position: relative;
  z-index: 2;
  max-width: 400px;
  margin: auto;
  margin-top: 10%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 2rem;
}

/* line 24, app/assets/stylesheets/application.scss */
.login-card h3 {
  color: #007bff;
  font-weight: 600;
}

/* line 29, app/assets/stylesheets/application.scss */
.form-control {
  border-radius: 10px;
}

/* line 33, app/assets/stylesheets/application.scss */
.btn-primary-btn {
  width: 100%;
  border-radius: 10px;
  background-color: #007bff !important;
  border: none;
  font-weight: 600;
  transition: all 0.3s;
}

/* line 42, app/assets/stylesheets/application.scss */
.btn-primary-btn:hover {
  background-color: #0056b3 !important;
  transform: translateY(-2px);
}

/* line 47, app/assets/stylesheets/application.scss */
.login-footer {
  text-align: center;
  margin-top: 1rem;
}

/* line 52, app/assets/stylesheets/application.scss */
.login-footer a {
  color: #007bff;
  text-decoration: none;
}

/* line 57, app/assets/stylesheets/application.scss */
.login-footer a:hover {
  text-decoration: underline;
}

/* Tailwind + Custom Utilities */
/* line 64, app/assets/stylesheets/application.scss */
filter-select {
  @apply border border-gray-300 rounded-lg px-3 py-2 text-gray-700 w-full focus:ring-2 focus:ring-[#64287F];
}

/* line 68, app/assets/stylesheets/application.scss */
.input {
  @apply border border-gray-300 rounded-lg px-3 py-2 w-full focus:ring-2 focus:ring-[#64287F];
}

/* line 72, app/assets/stylesheets/application.scss */
.btn-primary {
  @apply bg-[#64287F] text-white px-4 py-2 rounded-lg hover:bg-[#4e1f63] transition;
}

/* line 76, app/assets/stylesheets/application.scss */
.btn-secondary {
  @apply bg-gray-200 text-gray-800 px-4 py-2 rounded-lg hover:bg-gray-300 transition;
}

/* Modal */
/* line 81, app/assets/stylesheets/application.scss */
.modal {
  @apply fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50;
}

/* line 85, app/assets/stylesheets/application.scss */
.modal-content {
  @apply bg-white rounded-xl p-6 w-full max-w-md shadow-lg;
}

/* line 89, app/assets/stylesheets/application.scss */
.modal-title {
  @apply text-xl font-bold mb-4 text-[#64287F];
}

/* Loader */
/* line 94, app/assets/stylesheets/application.scss */
.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #64287F;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== DASHBOARD LAYOUT STYLES ===== */
/* line 108, app/assets/stylesheets/application.scss */
:root {
  --primary-color: #7763AF;
  --primary-dark: #6551a0;
  --primary-light: #8a75c1;
  --primary-50: #f8f7fc;
  --primary-100: #f0edf7;
  --primary-200: #e1daf0;
  --primary-300: #c9bce4;
  --primary-400: #a895d2;
  --primary-500: #7763AF;
  --primary-600: #6a56a0;
  --primary-700: #584785;
  --primary-800: #493a6b;
  --primary-900: #3d3157;
  --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;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
}

/* Body Background */
/* line 139, app/assets/stylesheets/application.scss */
body {
  /* neutral background instead of hardcoded purple */
  background: linear-gradient(180deg, var(--gray-50), #ffffff) !important;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
}

/* Container Styles */
/* line 148, app/assets/stylesheets/application.scss */
.container {
  background: linear-gradient(135deg, #ffffff 0%, #f8f7fc 100%);
  min-height: 100vh;
  border-radius: 0;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow-x: hidden;
}

/* ---- Task edit container specific styles ---- */
/* line 158, app/assets/stylesheets/application.scss */
.task-edit-container .card-header.bg-gradient-primary {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

/* line 162, app/assets/stylesheets/application.scss */
.task-preview {
  background: linear-gradient(180deg, #fff, var(--primary-50));
  border: 1px solid var(--primary-100);
  box-shadow: 0 6px 18px rgba(119, 99, 175, 0.06);
}

/* line 168, app/assets/stylesheets/application.scss */
.task-preview .preview-value {
  padding-top: 0.25rem;
  color: var(--gray-800);
}

/* line 173, app/assets/stylesheets/application.scss */
.btn-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border: none;
  color: #fff;
  box-shadow: 0 8px 20px rgba(119, 99, 175, 0.15);
}

/* line 180, app/assets/stylesheets/application.scss */
.select2-container--default .select2-selection--single {
  height: 2.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.6rem;
}

/* responsive: stack preview under form on small screens */
@media (max-width: 767px) {
  /* line 188, app/assets/stylesheets/application.scss */
  .task-preview {
    margin-top: 1rem;
  }
}

/* line 191, app/assets/stylesheets/application.scss */
.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7663AE, #8a75c1);
}

/* Server Time Display */
/* line 202, app/assets/stylesheets/application.scss */
#server-time {
  color: var(--primary-700) !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: 0.75rem;
  display: inline-block;
  border: 1px solid var(--primary-200);
  box-shadow: 0 2px 10px rgba(119, 99, 175, 0.1);
}

/* Row and Column Adjustments */
/* line 215, app/assets/stylesheets/application.scss */
.row {
  margin: 0;
  padding: 0 1rem;
}

/* line 220, app/assets/stylesheets/application.scss */
.col-12.text-end {
  padding-top: 1rem;
}

/* Dashboard Container Specific Styles */
/* line 225, app/assets/stylesheets/application.scss */
.dashboard-container {
  background: transparent;
  padding: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* line 232, app/assets/stylesheets/application.scss */
  .container {
    margin: 0;
    border-radius: 0;
  }
  /* line 237, app/assets/stylesheets/application.scss */
  .row {
    padding: 0 0.5rem;
  }
  /* line 241, app/assets/stylesheets/application.scss */
  #server-time {
    font-size: 1rem;
    padding: 0.375rem 0.75rem;
  }
}

/* Animation for page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* line 259, app/assets/stylesheets/application.scss */
.container {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar for the entire page */
/* line 264, app/assets/stylesheets/application.scss */
::-webkit-scrollbar {
  width: 8px;
}

/* line 268, app/assets/stylesheets/application.scss */
::-webkit-scrollbar-track {
  background: var(--primary-100);
}

/* line 272, app/assets/stylesheets/application.scss */
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 4px;
}

/* line 277, app/assets/stylesheets/application.scss */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* ===== MANAGER DASHBOARD STYLES - PURPLE THEME ===== */
/* line 282, app/assets/stylesheets/application.scss */
:root {
  --primary-color: #7763AF;
  --primary-dark: #6551a0;
  --primary-light: #8a75c1;
  --primary-50: #f8f7fc;
  --primary-100: #f0edf7;
  --primary-200: #e1daf0;
  --primary-300: #c9bce4;
  --primary-400: #a895d2;
  --primary-500: #7763AF;
  --primary-600: #6a56a0;
  --primary-700: #584785;
  --primary-800: #493a6b;
  --primary-900: #3d3157;
  --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;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
}

/* Select2 Customization */
/* line 315, app/assets/stylesheets/application.scss */
.select2-container .select2-selection--single {
  border-radius: 0.75rem;
  border: 2px solid var(--gray-200);
  padding: 0.75rem 1rem;
  box-shadow: 0 1px 3px 0 rgba(119, 99, 175, 0.08);
  height: 3rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  font-size: 0.875rem;
}

/* line 326, app/assets/stylesheets/application.scss */
.select2-container .select2-selection--single:hover {
  border-color: var(--primary-300);
  box-shadow: 0 4px 6px -1px rgba(119, 99, 175, 0.08);
}

/* line 331, app/assets/stylesheets/application.scss */
.select2-container .select2-selection--single:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(119, 99, 175, 0.08);
}

/* line 337, app/assets/stylesheets/application.scss */
.select2-dropdown {
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(119, 99, 175, 0.08), 0 10px 10px -5px rgba(119, 99, 175, 0.04);
  border: 2px solid var(--primary-200);
  background: white;
  z-index: 10060;
  overflow: hidden;
}

/* line 347, app/assets/stylesheets/application.scss */
.select2-results__option {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border-bottom: 1px solid var(--gray-100);
}

/* line 354, app/assets/stylesheets/application.scss */
.select2-results__option:last-child {
  border-bottom: none;
}

/* line 358, app/assets/stylesheets/application.scss */
.select2-results__option--highlighted {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  transform: translateX(4px);
}

/* line 364, app/assets/stylesheets/application.scss */
.select2-results__option--selected {
  background-color: var(--primary-100);
  color: var(--primary-800);
}

/* Table Animations & Styles */
/* line 370, app/assets/stylesheets/application.scss */
.task-row {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* line 375, app/assets/stylesheets/application.scss */
.task-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(119, 99, 175, 0.15);
  background: linear-gradient(135deg, white 0%, var(--primary-50) 100%);
}

/* Task cards and interactivity */
/* line 382, app/assets/stylesheets/application.scss */
.task-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* line 386, app/assets/stylesheets/application.scss */
.task-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(119, 99, 175, 0.08);
}

/* Status badge variants (more contrast) */
/* line 392, app/assets/stylesheets/application.scss */
.status-badge.status-in-progress {
  background: linear-gradient(135deg, #e6f0ff, #cfe4ff);
  color: #0f57b7;
}

/* line 393, app/assets/stylesheets/application.scss */
.status-badge.status-pending {
  background: linear-gradient(135deg, #fff7e6, #fff0cc);
  color: #a45500;
}

/* line 394, app/assets/stylesheets/application.scss */
.status-badge.status-completed {
  background: linear-gradient(135deg, #e8fff4, #ccf8e6);
  color: #0b6b3a;
}

/* Buttons - small interactive hover */
/* line 397, app/assets/stylesheets/application.scss */
.btn-outline-primary:hover {
  transform: translateY(-2px);
}

/* line 399, app/assets/stylesheets/application.scss */
.task-row::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* line 411, app/assets/stylesheets/application.scss */
.task-row:hover::after {
  opacity: 1;
}

/* Stats Cards */
/* line 416, app/assets/stylesheets/application.scss */
.stats-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f8f7fc 50%, #f0edf7 100%);
  border: 1px solid var(--primary-100);
  box-shadow: 0 4px 20px rgba(119, 99, 175, 0.3);
}

/* line 425, app/assets/stylesheets/application.scss */
.stats-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(119, 99, 175, 0.25);
  border-color: var(--primary-300);
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-50) 30%, var(--primary-100) 100%);
}

/* line 432, app/assets/stylesheets/application.scss */
.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

/* line 445, app/assets/stylesheets/application.scss */
.stats-card:hover::before {
  transform: scaleX(1);
}

/* line 449, app/assets/stylesheets/application.scss */
.stats-card-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  box-shadow: 0 4px 15px rgba(119, 99, 175, 0.3);
}

/* Status Badges */
/* line 455, app/assets/stylesheets/application.scss */
.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* line 465, app/assets/stylesheets/application.scss */
.status-badge:hover {
  transform: scale(1.05);
}

/* line 469, app/assets/stylesheets/application.scss */
.status-pending {
  background: linear-gradient(135deg, #fef3c7, #fbbf24);
  color: #92400e;
  box-shadow: 0 2px 10px rgba(251, 191, 36, 0.2);
}

/* line 475, app/assets/stylesheets/application.scss */
.status-in-progress {
  background: linear-gradient(135deg, #dbeafe, #3b82f6);
  color: #1e40af;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
}

/* line 481, app/assets/stylesheets/application.scss */
.status-completed {
  background: linear-gradient(135deg, #d1fae5, #10b981);
  color: #065f46;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
}

/* line 487, app/assets/stylesheets/application.scss */
.status-default {
  background: linear-gradient(135deg, #f3f4f6, #9ca3af);
  color: #374151;
}

/* Priority Badges */
/* line 493, app/assets/stylesheets/application.scss */
.priority-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

/* line 501, app/assets/stylesheets/application.scss */
.priority-urgent {
  background: linear-gradient(135deg, #fecaca, #ef4444);
  color: #7f1d1d;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

/* line 507, app/assets/stylesheets/application.scss */
.priority-normal {
  background: linear-gradient(135deg, #bbf7d0, #22c55e);
  color: #14532d;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

/* line 513, app/assets/stylesheets/application.scss */
.priority-default {
  background: linear-gradient(135deg, #e5e7eb, #6b7280);
  color: #374151;
}

/* Button Styles */
/* line 519, app/assets/stylesheets/application.scss */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-radius: 0.875rem;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
  box-shadow: 0 4px 15px rgba(119, 99, 175, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* line 539, app/assets/stylesheets/application.scss */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

/* line 550, app/assets/stylesheets/application.scss */
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(119, 99, 175, 0.4);
}

/* line 556, app/assets/stylesheets/application.scss */
.btn-primary:hover::before {
  left: 100%;
}

/* line 560, app/assets/stylesheets/application.scss */
.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(119, 99, 175, 0.3);
}

/* line 565, app/assets/stylesheets/application.scss */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  color: var(--gray-700);
  border-radius: 0.875rem;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

/* line 582, app/assets/stylesheets/application.scss */
.btn-secondary:hover {
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-200);
  color: var(--primary-700);
}

/* line 590, app/assets/stylesheets/application.scss */
.btn-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(119, 99, 175, 0.2);
}

/* Form Controls */
/* line 596, app/assets/stylesheets/application.scss */
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  background: white;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%237763AF' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
}

/* line 611, app/assets/stylesheets/application.scss */
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(119, 99, 175, 0.1);
  background-color: var(--primary-50);
}

/* line 618, app/assets/stylesheets/application.scss */
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  background: white;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition: all 0.3s ease;
}

/* line 629, app/assets/stylesheets/application.scss */
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(119, 99, 175, 0.1);
  background-color: var(--primary-50);
}

/* Filter Buttons */
/* line 637, app/assets/stylesheets/application.scss */
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  border-radius: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* line 653, app/assets/stylesheets/application.scss */
.filter-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* line 658, app/assets/stylesheets/application.scss */
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(119, 99, 175, 0.3);
}

/* Table Styles */
/* line 666, app/assets/stylesheets/application.scss */
.table-container {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 25px rgba(119, 99, 175, 0.1);
  overflow: hidden;
  border: 1px solid var(--primary-100);
  transition: all 0.3s ease;
}

/* line 675, app/assets/stylesheets/application.scss */
.table-container:hover {
  box-shadow: 0 8px 35px rgba(119, 99, 175, 0.15);
}

/* line 679, app/assets/stylesheets/application.scss */
.table-header {
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-bottom: 2px solid var(--primary-200);
}

/* line 684, app/assets/stylesheets/application.scss */
.table-header th {
  padding: 1rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-700);
  text-align: left;
  border-right: 1px solid var(--primary-200);
}

/* line 695, app/assets/stylesheets/application.scss */
.table-header th:last-child {
  border-right: none;
}

/* line 699, app/assets/stylesheets/application.scss */
.table-body td {
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--gray-700);
  white-space: nowrap;
  border-bottom: 1px solid var(--primary-50);
  transition: all 0.2s ease;
}

/* line 709, app/assets/stylesheets/application.scss */
.table-body tr:last-child td {
  border-bottom: none;
}

/* Modal Styles */
/* line 714, app/assets/stylesheets/application.scss */
.modal-backdrop {
  background: rgba(119, 99, 175, 0.7);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

/* line 720, app/assets/stylesheets/application.scss */
.modal-content {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 32px 64px rgba(119, 99, 175, 0.3);
  border: 1px solid var(--primary-200);
  transform: scale(0.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* line 729, app/assets/stylesheets/application.scss */
.modal-content-enter {
  transform: scale(1);
}

/* line 733, app/assets/stylesheets/application.scss */
.modal-header {
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-bottom: 2px solid var(--primary-200);
  padding: 1.5rem 2rem;
  border-radius: 1.5rem 1.5rem 0 0;
}

/* Empty States */
/* line 741, app/assets/stylesheets/application.scss */
.empty-state {
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-50), white);
  border-radius: 1rem;
  border: 2px dashed var(--primary-200);
}

/* line 749, app/assets/stylesheets/application.scss */
.empty-state-icon {
  margin: 0 auto 1.5rem;
  color: var(--primary-300);
  width: 4rem;
  height: 4rem;
}

/* line 756, app/assets/stylesheets/application.scss */
.empty-state-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-700);
  margin-bottom: 0.5rem;
}

/* line 763, app/assets/stylesheets/application.scss */
.empty-state-description {
  font-size: 0.875rem;
  color: var(--primary-500);
  line-height: 1.5;
}

/* Alert Styles */
/* line 770, app/assets/stylesheets/application.scss */
.alert-warning {
  background: linear-gradient(135deg, #fef3c7, #fbbf24);
  border: 2px solid #f59e0b;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

/* line 778, app/assets/stylesheets/application.scss */
.alert-warning-icon {
  color: #d97706;
}

/* line 782, app/assets/stylesheets/application.scss */
.alert-warning-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #92400e;
}

/* line 788, app/assets/stylesheets/application.scss */
.alert-warning-content {
  font-size: 0.875rem;
  color: #92400e;
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* Animation Keyframes */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Utility Classes */
/* line 828, app/assets/stylesheets/application.scss */
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 834, app/assets/stylesheets/application.scss */
.border-gradient {
  border: 2px solid;
  border-image: linear-gradient(135deg, var(--primary-color), var(--primary-light)) 1;
}

/* line 839, app/assets/stylesheets/application.scss */
.shadow-purple {
  box-shadow: 0 4px 25px rgba(119, 99, 175, 0.15);
}

/* line 843, app/assets/stylesheets/application.scss */
.shadow-purple-lg {
  box-shadow: 0 10px 40px rgba(119, 99, 175, 0.2);
}

/* Loading Animation */
/* line 848, app/assets/stylesheets/application.scss */
.loading-shimmer {
  animation: shimmer 2s infinite linear;
  background: linear-gradient(to right, var(--primary-50) 4%, var(--primary-100) 25%, var(--primary-50) 36%);
  background-size: 1000px 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* line 861, app/assets/stylesheets/application.scss */
  .table-container {
    border-radius: 0.75rem;
    margin: 0 -1rem;
  }
  /* line 866, app/assets/stylesheets/application.scss */
  .table-header th,
.table-body td {
    padding: 0.875rem 1rem;
    font-size: 0.75rem;
  }
  /* line 872, app/assets/stylesheets/application.scss */
  .stats-card {
    margin-bottom: 1rem;
  }
  /* line 876, app/assets/stylesheets/application.scss */
  .modal-content {
    margin: 1rem;
    width: calc(100% - 2rem);
  }
  /* line 881, app/assets/stylesheets/application.scss */
  .btn-primary,
.btn-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 640px) {
  /* line 889, app/assets/stylesheets/application.scss */
  .table-body td {
    font-size: 0.7rem;
    padding: 0.75rem 0.5rem;
  }
  /* line 894, app/assets/stylesheets/application.scss */
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
  }
  /* line 899, app/assets/stylesheets/application.scss */
  .status-badge,
.priority-badge {
    font-size: 0.65rem;
    padding: 0.375rem 0.75rem;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  /* line 908, app/assets/stylesheets/application.scss */
  .table-container {
    background: var(--gray-800);
    color: white;
  }
  /* line 913, app/assets/stylesheets/application.scss */
  .stats-card {
    border-color: var(--gray-600);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  /* line 920, app/assets/stylesheets/application.scss */
  .task-row,
.stats-card,
.btn-primary,
.btn-secondary,
.filter-btn,
.modal-content {
    transition: none;
    transform: none;
    animation: none;
  }
}

/* Focus Visible for Accessibility */
/* line 933, app/assets/stylesheets/application.scss */
.focus-visible:focus {
  outline: 3px solid var(--primary-300);
  outline-offset: 2px;
}

/* Custom Scrollbar */
/* line 939, app/assets/stylesheets/application.scss */
::-webkit-scrollbar {
  width: 6px;
}

/* line 943, app/assets/stylesheets/application.scss */
::-webkit-scrollbar-track {
  background: var(--primary-50);
  border-radius: 3px;
}

/* line 948, app/assets/stylesheets/application.scss */
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 3px;
}

/* line 953, app/assets/stylesheets/application.scss */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Select2 Custom Styles */
/* line 958, app/assets/stylesheets/application.scss */
.select2-container--bootstrap4 .select2-selection {
  height: 2.5rem !important;
  border-radius: 0.375rem !important;
  border: 1px solid #d1d5db !important;
  padding: 0.25rem 0.5rem !important;
  font-size: 0.875rem !important;
}

/* line 966, app/assets/stylesheets/application.scss */
.select2-container--bootstrap4 .select2-selection__rendered {
  color: #374151 !important;
}

/* line 970, app/assets/stylesheets/application.scss */
.select2-container--bootstrap4 .select2-selection__arrow {
  height: 2.5rem !important;
}

/* line 974, app/assets/stylesheets/application.scss */
.select2-container .select2-results__options {
  max-height: 220px !important;
  overflow-y: auto !important;
}

/* line 979, app/assets/stylesheets/application.scss */
.select2-dropdown {
  border-radius: 0.375rem !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

/* line 984, app/assets/stylesheets/application.scss */
.select2-search--dropdown .select2-search__field {
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  padding: 0.25rem 0.5rem !important;
}

/* line 990, app/assets/stylesheets/application.scss */
.select2-container .select2-selection--single {
  padding: 0.1rem;
}
