*,
*::before,
*::after {
  box-sizing: border-box;
}

.register-container,
input,
button {
  font-family: "MyIansui", serif;
}

/* 容器設定 */
.register-container {
  max-width: 1000px;
  margin: 20px auto;
  background-color: #e9eaeb;
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 大標題 */
.section-title {
  text-align: center;
  color: #2c3e50;
  margin: 0 0 30px 0;
  font-size: 40px;
}

/* 表單結構 */
.register-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

/* 說明文字區塊 */
.form-description {
  background-color: #f1f5f9;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 18px;
  color: #333333;
  line-height: 1.8;
  text-align: justify;
}

/* 注意事項列表 */
.warning-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.warning-list li {
  margin-bottom: 10px;
  color: #c05621;
  font-weight: bold;
}

.warning-list strong {
  color: #d9534f;
}

.warning-list a {
  color: #2b6cb0;
  text-decoration: underline;
}

/* 表單群組 */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group > label {
  font-size: 18px;
  font-weight: bold;
  color: #34495e;
}

.required-mark {
  color: #d9534f;
  margin-right: 4px;
}

.form-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* --- 場次選擇 (Radio) --- */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 5px;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  font-size: 18px; /* 選項字體稍微加大 */
  cursor: pointer;
  color: #333;
}

.radio-group input {
  margin-right: 10px;
  transform: scale(1.3);
}

/* --- 輸入框樣式 --- */
input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  font-size: 18px;
  background-color: #f8fafc;
  line-height: 1.5;
  transition: border-color 0.3s;
}

input:focus {
  outline: none;
  border-color: #5a67d8;
  box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.2);
}

/* --- 送出按鈕 --- */
.btn-register-submit {
  background-color: #2c3e50;
  color: white;
  padding: 18px;
  border-radius: 8px;
  border: none;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}

.btn-register-submit:hover {
  background-color: #34495e;
  transform: translateY(-2px);
}

/* --- 電腦版排版 (RWD) --- */
@media (min-width: 768px) {
  .form-group {
    flex-direction: row;
    align-items: flex-start;
  }

  .form-group > label {
    width: 100px; /* 標題寬度 */
    text-align: right;
    padding-right: 20px;
    margin-bottom: 0;
    flex-shrink: 0;
    padding-top: 13px;
  }

  .form-content {
    flex: 1;
  }
}
