/* Trip Agent - 반응형 스타일 */

:root {
  --bg: #0f172a;
  --card-bg: #1e293b;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --error: #f87171;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem;
}

@media (min-width: 768px) {
  .container { padding: 2rem; }
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

header p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
}

.card h2 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--accent);
}

.hidden { display: none !important; }
.error { border-color: var(--error); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--muted);
}

input, select {
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--accent);
}

button {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

button:hover {
  background: var(--accent-hover);
}

button.secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.2);
  margin-left: 0.5rem;
}

button.secondary:hover {
  background: rgba(255,255,255,0.05);
}

.options-grid {
  display: grid;
  gap: 1rem;
}

.option-item {
  padding: 1rem;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: border-color 0.2s;
}

.option-item:hover, .option-item.selected {
  border-color: var(--accent);
}

.option-item h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.option-item p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.option-item .price { color: var(--accent); font-weight: 600; }

#loading p { margin: 0; }
#error-message { color: var(--error); }
