/* 03-questions.css · 문제 만들기, 과목 추가 */

/* ===== 문제 만들기 ===== */
.q-block {
  border: 2px dashed #c9c7b0;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 16px;
}

.q-block:last-child {
  margin-bottom: 0;
}

.q-title {
  font-weight: 800;
  color: var(--grass-dark);
  margin-bottom: 10px;
}

textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 11px 12px;
  border: 3px solid var(--ink);
  border-radius: 7px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
}

textarea:focus {
  outline: none;
  background: #fffdf0;
  box-shadow: 3px 3px 0 var(--olive);
}

select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 11px 12px;
  border: 3px solid var(--ink);
  border-radius: 7px;
  font-size: 15px;
  background: #fff;
}

.choice-wrap {
  margin-top: 7px;
}

.choice-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.choice-radio {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin: 0;
}

.choice-text {
  flex: 1;
  margin-top: 0;
}

/* ===== 과목 추가 (리그 만들기) ===== */
.subject-label {
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 8px;
}

.subject-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}

.subject-row .subject-name {
  flex: 1;
  margin-top: 0;
}

.subject-row .subject-count {
  width: 68px;
  margin-top: 0;
  text-align: center;
}

.subject-del {
  flex: 0 0 auto;
  width: 38px;
  height: 44px;
  border: 3px solid var(--ink);
  background: #fff;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
  color: var(--red);
}

.subject-del:hover {
  background: #ffe9e4;
}

