/* 門市排班管理系統自訂樣式 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --secondary: #0d9488;
  --accent: #f59e0b;
}

body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
}

/* 滾動條美化 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* 值班狀態 Badge */
.duty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.125rem 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.25rem;
  transition: all 0.15s ease;
}

/* 上值 (永慶早班 09:00-15:00) */
.duty-badge-up {
  background-color: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* 下值 (永慶晚班 15:00-20:30) */
.duty-badge-down {
  background-color: #e0e7ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

/* 上下 (全天班) */
.duty-badge-both {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* 永義 (永義店班 10:00-18:00) */
.duty-badge-yungy {
  background-color: #d1fae5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

/* 月曆單元格樣式 */
.calendar-cell {
  min-height: 120px;
  transition: all 0.2s ease;
}

.calendar-cell:hover {
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

/* 異動高亮標記 */
.duty-item-modified {
  position: relative;
  background-color: #ecfdf5 !important;
  border-left: 3px solid #10b981 !important;
  padding-left: 0.25rem !important;
}

/* 脈動特效 */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.animate-pulse-subtle {
  animation: pulse-ring 2s infinite ease-in-out;
}
