* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  background-color: #f3f4f6;
  color: #111827;
}

.page {
  max-width: 680px;
  margin: 78px auto 40px;
  padding: 0 24px;
}

.form-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px;
}

.form-title {
  margin: 0 0 20px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-wrap {
  margin-bottom: 14px;
}

.field-wrap-submit {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 16px;
  background-color: #ffffff;
}

textarea {
  min-height: 220px;  
  resize: vertical;
}

.submit-button {
  width: 80%;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 16px;
  background-color: #e11c71;
  color: #ffffff;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  cursor: pointer;
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ArSee_logo a {
  display: block;
  width: 100%;
  height: 100%;
}

.status-text {
  margin-top: 12px;
  font-size: 14px;
}

.status-success {
  color: #047857;
}

.status-error {
  color: #dc2626;
}

/* ===== FOOTER (index.html과 동일) ===== */
#footer {
  background: #323232;
  padding: 0;
  /* common.css의 legacy footer 스타일(높이 100% 등) 무력화 */
  height: auto;
  overflow: visible;
}

/* common.css: footer/img/footer>div 등의 전역 규칙이 #footer에 영향을 줘서 레이아웃이 길어지는 문제 방지 */
#footer > div {
  height: auto;
  overflow: visible;
  max-width: none;
  padding: 0;
}

#footer img {
  float: none;
  padding-top: 0;
  display: block;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-top {
  border-bottom: 1px solid #767676;
  padding: 18px 0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.footer-logo img {
  height: 17px;
  width: auto;
}

.footer-info-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-info p, .footer-info a {
  font-size: 14px;
  color: #fff;
  font-family: 'NanumGothic', sans-serif;
  line-height: 1.4;
}

.footer-info-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-divider {
  width: 1px;
  height: 12px;
  background: #767676;
  border-radius: 1px;
}

.footer-sns {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-sns a {
  color: #fff;
  font-size: 22px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-sns a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-sns a:hover { opacity: 0.8; }

.footer-bottom {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 14px;
  padding-left: 98px;
}

.footer-certs {
  display: flex;
  gap: 4px;
  align-items: center;
}

.footer-certs img { width: 40px; height: 40px; }

.footer-cert-text {
  font-size: 10px;
  color: #fff;
  font-family: 'NanumGothic', sans-serif;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .page {
    padding: 0 14px;
    margin-top: 72px;
  }

  .form-card {
    padding: 20px 16px;
  }


  .field-grid {
    grid-template-columns: 1fr;
  }

  .submit-button {
    width: 100%;
    padding: 14px;
  }

  /* footer mobile */
  .footer-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .footer-top {
    flex-direction: column;
    gap: 12px;
  }
  .footer-info-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-info-row {
    flex-wrap: wrap;
    gap: 4px 0;
  }
  .footer-bottom {
    padding-left: 0;
    flex-wrap: wrap;
  }
}