:root {
  color-scheme: light;
}

body {
  font-family: "Inter", "Hiragino Sans", "Yu Gothic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  box-shadow: 0 10px 25px -15px rgba(79, 70, 229, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-primary:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px -20px rgba(79, 70, 229, 0.8);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary:not(:disabled):hover {
  background: rgba(79, 70, 229, 0.18);
}

.btn-muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.6rem 1.4rem;
  background: #e2e8f0;
  color: #475569;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-muted:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-muted:not(:disabled):hover {
  background: #cbd5f5;
}

.link-button {
  font-size: 0.85rem;
  color: #4f46e5;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(79, 70, 229, 0.12);
  transition: background 0.2s ease;
}

.link-button:hover:not(:disabled) {
  background: rgba(79, 70, 229, 0.22);
}

.link-button:disabled {
  opacity: 0.5;
}

.log-panel,
.result-panel {
  min-height: 180px;
  border-radius: 1.5rem;
  background: #0f172a;
  color: #e2e8f0;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.log-panel {
  background: #111827;
}

.result-panel {
  background: #0f172a;
}

#transcript-output,
#minutes-output {
  background: #111826;
}

::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.4);
  border-radius: 9999px;
}

@media (max-width: 640px) {
  .btn-primary,
  .btn-secondary,
  .btn-muted {
    width: 100%;
  }
}
