/* CHOCHTask - Job Hunting Edition Custom Styles */

/* Smooth scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgb(39, 39, 42);
}

::-webkit-scrollbar-thumb {
  background: rgb(63, 63, 70);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(82, 82, 91);
}

/* Line clamp utility */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Kanban column styling */
.kanban-column {
  min-height: 200px;
}

/* Animation for loading spinner */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Card hover effect */
.hover-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Status badge animations */
.status-badge {
  animation: fadeIn 0.3s ease;
}

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

/* Toast animation */
.toast-enter {
  animation: slideIn 0.3s ease;
}

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

/* Pipeline column */
.pipeline-column {
  transition: background-color 0.2s ease;
}

.pipeline-column:hover {
  background-color: rgba(39, 39, 42, 0.5);
}

/* Focus styles */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* Custom checkbox */
input[type="checkbox"] {
  accent-color: #6366f1;
}

/* Modal backdrop blur */
.modal-backdrop {
  backdrop-filter: blur(4px);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Priority indicators */
.priority-1 { color: #ef4444; }
.priority-2 { color: #f97316; }
.priority-3 { color: #eab308; }
.priority-4 { color: #3b82f6; }
.priority-5 { color: #6b7280; }

/* Interview status badges */
.status-scheduled {
  background-color: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.status-completed {
  background-color: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.status-cancelled {
  background-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Application status flow */
.status-interested { background-color: rgba(113, 113, 122, 0.2); color: #a1a1aa; }
.status-researching { background-color: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.status-preparing { background-color: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.status-applied { background-color: rgba(99, 102, 241, 0.2); color: #818cf8; }
.status-document_passed { background-color: rgba(139, 92, 246, 0.2); color: #a78bfa; }
.status-interview { background-color: rgba(236, 72, 153, 0.2); color: #f472b6; }
.status-offer { background-color: rgba(34, 197, 94, 0.2); color: #4ade80; }
.status-rejected { background-color: rgba(239, 68, 68, 0.2); color: #f87171; }
.status-withdrawn { background-color: rgba(75, 85, 99, 0.2); color: #9ca3af; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -256px;
    transition: left 0.3s ease;
    z-index: 40;
  }
  
  .sidebar.open {
    left: 0;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}
