/* 由 index.html 內嵌樣式移出：焦點、按鈕、動畫與離線列 */

.u-hidden {
  display: none !important;
}

.bk-field-error {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #b91c1c;
}

@keyframes pulse {
  0% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.6; transform: scale(1); }
}

.quick-notice-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--sw-primary) !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Offline 橫幅與匯出／列印鈕 */

.offline-mode::before {
  content: "📵 離線模式";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ff9800;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  z-index: 1001;
}

.offline-mode .btn[onclick*="export"],
.offline-mode .btn[onclick*="print"] {
  opacity: 0.6;
  cursor: not-allowed;
}
