/* styles.css — Custom styles complementing Tailwind CDN */

/* Korean font stack */
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
}

/* Custom focus ring */
input:focus,
textarea:focus,
select:focus,
button:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

/* File drop zone */
.drop-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 0.75rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: #2563EB;
  background-color: #eff6ff;
}

.drop-zone.has-file {
  border-color: #16a34a;
  background-color: #f0fdf4;
}

/* Form state transitions */
.fade-enter {
  opacity: 0;
  transform: translateY(-8px);
}

.fade-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-exit {
  opacity: 1;
}

.fade-exit-active {
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Spinner animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spinner {
  animation: spin 1s linear infinite;
  border: 3px solid #e5e7eb;
  border-top-color: #2563EB;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
}

/* Pulse animation for active wave */
@keyframes pulse-blue {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulse-blue {
  animation: pulse-blue 2s ease-in-out infinite;
}

/* Agent card transition */
.agent-card {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.agent-card-enter {
  opacity: 0;
  transform: translateY(12px);
}

.agent-card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hide elements */
.hidden {
  display: none;
}
