.container {
  max-width: 640px;
}

.back {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 14px;
  margin-bottom: 16px;
  padding: 0;
}

.title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.input {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.input:focus {
  border-color: var(--color-primary);
}

.templateList {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.templateCard {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s;
}

.templateCard.selected {
  border-color: var(--color-primary);
  background: rgba(0, 113, 227, 0.04);
}

.templateCard input {
  margin-top: 2px;
}

.templateInfo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.templateDesc {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.templateMeta {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.error {
  color: var(--color-error);
  font-size: 14px;
}

.actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cancelBtn {
  padding: 10px 24px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: white;
  font-size: 14px;
}

.submitBtn {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  background: var(--color-primary);
  color: white;
  font-size: 14px;
  font-weight: 500;
}

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