/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --font-prompt: 'Prompt', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--font-prompt);
  background-color: #f8fafc;
  color: #1e293b;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Smooth Transitions */
.transition-all-fast {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Calendar Styles */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-day-cell {
  min-height: 110px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.calendar-day-cell:hover {
  background-color: #f8fafc;
}

.calendar-day-cell.other-month {
  background-color: #fbfcfe;
  opacity: 0.55;
}

.calendar-day-cell.is-today {
  background-color: #eff6ff;
  border-color: #93c5fd !important;
}

/* Task Badge on Calendar */
.calendar-task-badge {
  font-size: 0.72rem;
  line-height: 1.15;
  cursor: pointer;
  border-left-width: 3px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.calendar-task-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Kanban Styles */
.kanban-column {
  min-height: 480px;
}

.kanban-card {
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.kanban-card:active {
  cursor: grabbing;
}

.kanban-card.dragging {
  opacity: 0.4;
  transform: scale(0.98);
}

.kanban-drop-zone.drag-over {
  background-color: #e0e7ff;
  border-color: #6366f1;
}

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

.modal-content {
  animation: modalPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Status Badges */
.status-todo {
  background-color: #f1f5f9;
  color: #475569;
  border-color: #cbd5e1;
}

.status-in_progress {
  background-color: #fef3c7;
  color: #92400e;
  border-color: #fcd34d;
}

.status-on_hold {
  background-color: #f3e8ff;
  color: #6b21a8;
  border-color: #d8b4fe;
}

.status-completed {
  background-color: #dcfce7;
  color: #166534;
  border-color: #86efac;
}

/* Priority Indicator */
.priority-high {
  color: #dc2626;
  background-color: #fee2e2;
}

.priority-medium {
  color: #d97706;
  background-color: #fef3c7;
}

.priority-low {
  color: #2563eb;
  background-color: #dbeafe;
}
