html {
  font-size: 95%;
}
body {
  margin: 0;
  padding: 0;
  background: #f8f8f8;
}
.form-container {
  max-width: 800px;
  margin: 40px auto;
  border: 1px solid #E3E3E3;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 36px 36px 28px 36px;
  background: #FFF;
}
@media (max-width: 820px) {
  .form-container {
    max-width: 100vw;
    padding: 24px 8px 20px 8px;
    margin: 10px;
  }
}
.form-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 22px;
  color: #222;
  text-align: center;
}
.form-group {
  margin-bottom: 22px;
}
.form-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #333;
  margin-bottom: 7px;
  display: block;
}
.form-input, .form-textarea, .form-select, .form-date {
  width: 100%;
  padding: 13px 12px;
  border: 2px solid #999;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 400;
  box-sizing: border-box;
  background: #fafafa;
  transition: border 0.2s;
  outline: none;
  letter-spacing: 1px;
  max-width: 100%;
}
.form-input:focus,
.form-textarea:focus,
.form-date:focus,
.form-select:focus {
  border: 2px solid #107bad;
  background: #fff;
}
.form-textarea {
  min-height: 85px;
  resize: vertical;
  font-size: 15px;
}
.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 8px;
}
.form-radio label,
.form-radio-group label {
  cursor: pointer;
  user-select: none;
}
.form-radio {
  display: flex;
  align-items: center;
  font-size: 15px;
  padding: 4px 0;
  border-radius: 5px;
  background: none;
}
input[type="checkbox"], input[type="radio"] {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  opacity: 1 !important;
  position: static !important;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
  background: #fff;
  cursor: pointer;
}
.form-checkbox {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-top: 8px;
  cursor: pointer;
  user-select: none;
}
.form-checkbox input[type="checkbox"] {
  margin-right: 9px;
}
.privacy-info {
  background: #f7f7f7;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  font-size: 14px;
  color: #222;
  padding: 14px 14px 10px 18px;
  margin-bottom: 10px;
  line-height: 1.7;
}
.form-btn {
  width: 100%;
  background: #107bad;
  color: #fff;
  font-size: 18px;
  padding: 15px 0;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 12px;
}
.form-btn:hover {
  background: #333;
}
.required {
  color: #d43f3a;
  font-size: 14px;
  margin-left: 2px;
}

/* === Çà»çÀÏ½Ã ³¯Â¥/½Ã°£/ºÐ ¼¿·ºÆ® ¹Ú½º ½ºÅ¸ÀÏ === */
.form-date-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
}
.form-date-wrap input[type="text"] {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 0;
  /* ³¯Â¥ ÀÎÇ² ³ÐÀÌ Á¶Àý */
}
/* PC ±âº»°ª: ½Ã°£/ºÐ ¼¿·ºÆ® ¹Ú½º ³ÐÀÌ */
#event_hour {
  min-width: 80px;
  max-width: 120px;
  font-size: 16px;
  padding: 10px 8px;
}
#event_minute {
  min-width: 62px;
  max-width: 90px;
  font-size: 16px;
  padding: 10px 8px;
}

/* --- ¸ð¹ÙÀÏ(600px ÀÌÇÏ)¿¡¼­¸¸ ³ÐÀÌ º°µµ Á¶Àý --- */
@media (max-width: 600px) {
  .form-date-wrap { gap: 4px; }
  .form-date-wrap input[type="text"] {
    font-size: 14px;
    padding: 8px;
  }
  /* ½Ã°£/ºÐ ¼¿·ºÆ® Æø Á¶Àý (¸ð¹ÙÀÏ¿ë) */
  #event_hour {
    flex: 0 0 100px !important;   /* [ÁÖ¼®] ½Ã°£(½Ã) select ¹Ú½º ³ÐÀÌ */
    max-width: 140px !important;
    font-size: 15px;
    padding: 0 5px;
  }
  #event_minute {
    flex: 0 0 60px !important;   /* [ÁÖ¼®] ºÐ(minute) select ¹Ú½º ³ÐÀÌ */
    max-width: 70px !important;
    font-size: 15px;
    padding: 0 5px;
  }
  .form-inner { padding-left: 10px; padding-right: 10px; }
}  
}

/* === Flatpickr ´Þ·Â ½ºÅ¸ÀÏ === */
.flatpickr-calendar {
  border: 2.5px solid #107bad !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.flatpickr-current-month .cur-month {
  font-weight: 900 !important;
  color: #107bad !important;
  font-size: 1.22em !important;
  letter-spacing: 0.03em;
}
.flatpickr-current-month input.cur-year {
  font-weight: 700 !important;
  font-size: 1.13em !important;
}
.flatpickr-weekday {
  font-weight: 700 !important;
  font-size: 1.08em !important;
  color: #333 !important;
}
.flatpickr-monthDropdown-months,
.flatpickr-monthDropdown-months option,
.flatpickr-monthDropdown-months select,
.flatpickr-monthDropdown-months:focus,
.flatpickr-monthDropdown-months option:checked {
  font-weight: 800 !important;
  font-size: 1.16em !important;
  background: #fff !important;
}

.form-divider {
  border-bottom: 2px solid #d8e4ec;
  margin: 22px 0 16px 0;   /* À§¾Æ·¡ °£°Ý */
  /* border-style: dashed;    // Á¡¼±ÀÌ ¿¹»Ú¸é ÀÌ°Íµµ °¡´É */
}