:root {
  --font-sans: "Pretendard", sans-serif;

  --color-bg: #f1f5f9;
  --color-bg-soft: #eef2ff;
  --color-surface: #ffffff;
  --color-surface-soft: rgba(255, 255, 255, 0.88);
  --color-surface-strong: #e2e8f0;
  --color-text: #1e293b;
  --color-text-soft: #475569;
  --color-text-muted: #64748b;
  --color-border: #cbd5e1;
  --color-border-soft: rgba(148, 163, 184, 0.3);
  --color-header: #1e293b;
  --color-header-soft: #334155;
  --color-accent: #4f46e5;
  --color-accent-soft: #e0e7ff;
  --color-accent-strong: #4338ca;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 18px 44px rgba(15, 23, 42, 0.12);
  --shadow-float: 0 18px 36px rgba(79, 70, 229, 0.16);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  min-height: 100%;
  font-family: var(--font-sans);
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(79, 70, 229, 0.12), transparent 22%),
    radial-gradient(circle at bottom right, rgba(148, 163, 184, 0.18), transparent 28%),
    var(--color-bg);
}

body {
  min-height: 100vh;
  overflow: hidden;
}

button,
input,
select,
textarea,
a {
  font: inherit;
}

.ui-card {
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.ui-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
}

.ui-button-primary {
  border: none;
  color: #fff;
  background: var(--color-accent);
  box-shadow: var(--shadow-float);
}

.ui-button-secondary {
  border: 1px solid var(--color-border-soft);
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.72);
}

.ui-input {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-text);
  outline: none;
}

.ui-input:focus {
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}
