/* =========================
   INQUIRY
========================= */

.inq {
  padding: 80px 0;
}

/* =========================
   FORM
========================= */

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #0c8c63;
}

.form-row textarea {
  min-height: 150px;
  resize: none;
}

.file-help {
  margin-top: -10px;
  margin-bottom: 18px;
  color: #777;
  font-size: 14px;
}

/* =========================
   AGREEMENT
========================= */

.agree-wrap {
  margin-top: 40px;
}

.agree-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.agree-title span {
  color: #e74c3c;
  margin-left: 6px;
}

.agree-box {
  max-height: 120px;
  overflow-y: auto;
  border: 1px solid #ddd;
  background: #fafafa;
}

.agree-content {
  padding: 16px;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.agree-content h5 {
  font-size: 15px;
  color: #0c6b4f;
  margin: 18px 0 8px;
}

.agree-content h5:first-child {
  margin-top: 0;
}

.agree-content p {
  margin-bottom: 8px;
  line-height: 1.8;
}

.agree-content ul {
  margin: 0 0 16px 18px;
}

.agree-content li {
  line-height: 1.8;
}

.agree-check {
  margin-top: 12px;
}

.agree-check label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}

.agree-check input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* =========================
   SUBMIT
========================= */

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.form-submit button {
  padding: 14px 40px;
  border: 0;
  background: #0c8c63;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: 0.25s;
}

.form-submit button:hover {
  background: #066b4a;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .inq {
    padding: 60px 0;
  }

  .form-submit button {
    width: 100%;
  }
}


/* =========================
   LOADING BAR
========================= */
.loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
}

.loading-spinner {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border: 4px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}