* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: #f6f7fb;
  color: #1f2937;
}

.wrapper {
  max-width: 960px;
  margin: 60px auto;
  padding: 0 20px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

h1 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 28px;
}

.subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 30px;
}

/* Steps */
.steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: #e5e7eb;
}

.step span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #6b7280;
  font-weight: 600;
}

.step.active span {
  background: #4f7cff;
  color: #fff;
}

.step p {
  margin-top: 8px;
  font-size: 13px;
  color: #6b7280;
}

/* Dropzone */
.dropzone {
  border: 2px dashed #c7d2fe;
  border-radius: 14px;
  padding: 50px 20px;
  text-align: center;
  background: #f8faff;
  transition: 0.2s;
}

.dropzone.dragover {
  background: #eef2ff;
  border-color: #4f7cff;
}

.dropzone strong {
  font-size: 16px;
}

.dropzone small {
  display: block;
  margin-top: 6px;
  color: #6b7280;
}

.dropzone input {
  margin-top: 16px;
}

/* Options */
.options {
  display: flex;
  gap: 16px;
  margin: 30px 0;
}

.option {
  flex: 1;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}

.option.active {
  border-color: #4f7cff;
  background: #f0f4ff;
}

.option input {
  display: none;
}

/* Button */
.actions {
  text-align: center;
  margin-top: 30px;
}

button {
  background: #4f7cff;
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
}

button:hover {
  background: #3f69e0;
}

/* Log */
#log {
  margin-top: 30px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px;
  height: 200px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-line;
}
