* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
}

#wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

#header {
  text-align: center;
  margin-bottom: 20px;
}

#header h1 {
  margin: 0;
}

#header img {
  max-width: 280px;
  height: auto;
}

.tab-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.tab-btn {
  border: 1px solid #cbd5e0;
  background: #fff;
  border-radius: 8px;
  height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: #4a5568;
  cursor: pointer;
}

.tab-btn.active {
  background: #1a365d;
  border-color: #1a365d;
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.panel-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
}

.guide-box,
.form-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
}

.guide-box {
  font-size: 14px;
  line-height: 1.75;
}

.guide-box h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #1a365d;
}

.highlight {
  color: #9b2c2c;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  height: 42px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 15px;
}

.form-group input:focus {
  outline: none;
  border-color: #3182ce;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.16);
}

.required {
  color: #c53030;
}

.help-text {
  margin: 0;
  font-size: 13px;
  color: #4a5568;
}

.consent-check {
  display: flex;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.consent-check input {
  margin-top: 3px;
}

.btn-submit {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 6px;
  background: #1a365d;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.btn-cancel {
  background: #4a5568;
}

.btn-submit:disabled {
  background: #a0aec0;
  cursor: not-allowed;
}

#footer {
  margin-top: 22px;
  text-align: center;
  color: #718096;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .panel-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #wrap {
    padding: 18px 12px 30px;
  }

  .tab-nav {
    grid-template-columns: 1fr;
  }
}
