@charset "utf-8";

.contact {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* contact 페이지는 모달을 페이지 형태로 표시 */
.contact .modal {
  opacity: 1 !important;
  pointer-events: all !important;
  background-color: transparent;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-width: 1300px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.contact .modal-content {
  transform: none !important;
  width: 100%;
}

.checkBox-wrapper {
  cursor: pointer !important;
  margin-bottom: 12px !important;
}

.checkBox {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid #d1d5db !important;
  border-radius: 9999px !important;
  background-color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
  flex-shrink: 0 !important;
}

.checkBox::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: inherit;
  background-color: #fff;
  transform: scale(0);
  transition: transform 0.2s ease;
}

.checkBox:focus-visible {
  outline: 3px solid rgba(3, 102, 214, 0.25) !important;
  outline-offset: 2px;
}

.checkBox:checked {
  background-color: #0366d6 !important;
  border-color: #0366d6 !important;
}

.checkBox:checked::after {
  transform: scale(1) !important;
}

.checkBox-wrapper span {
  font-size: 20px !important;
}

/* ============================================
   반응형 미디어 쿼리
============================================ */

/* 태블릿 가로 (1024px 이하) */
@media (max-width: 1024px) {
  .contact {
    padding: 1.5rem 1rem;
  }

  .contact .modal {
    max-width: 900px;
  }

  .contact .modal-content .w-full.max-w-4xl {
    padding: 2rem 1.5rem;
  }

  .contact .text-4xl,
  .contact .sm\:text-5xl {
    font-size: 2rem !important;
  }

  .contact .text-lg {
    font-size: 1rem !important;
  }

  .contact .grid.lg\:grid-cols-2 {
    gap: 1.5rem;
  }
}

/* 태블릿 세로 (767px 이하) */
@media (max-width: 767px) {
  .contact {
    padding: 1rem 0.75rem;
  }

  .contact .modal {
    max-width: 100%;
  }

  .contact .modal-content .w-full.max-w-4xl {
    padding: 1.5rem 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  }

  .contact .mb-10 {
    margin-bottom: 1.5rem !important;
  }

  .contact .text-4xl,
  .contact .sm\:text-5xl {
    font-size: 1.75rem !important;
    line-height: 1.3;
  }

  .contact .text-lg {
    font-size: 0.95rem !important;
  }

  .contact .grid.lg\:grid-cols-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact .space-y-4 {
    gap: 0.75rem;
  }

  .contact input,
  .contact textarea {
    padding: 0.625rem !important;
    font-size: 0.9rem;
  }

  .contact .pt-4 {
    padding-top: 0.75rem !important;
  }

  .contact button {
    padding: 0.625rem 1rem !important;
    font-size: 0.9rem !important;
  }
}

/* 모바일 (480px 이하) */
@media (max-width: 480px) {
  .contact {
    padding: 0.5rem 0.5rem;
    min-height: auto;
  }

  .contact .modal {
    padding: 0;
    z-index: 1;
  }

  .contact .modal-content .w-full.max-w-4xl {
    padding: 1.25rem 0.875rem;
    border-radius: 0.75rem;
    margin: 100px 0;
  }

  .contact .mb-10 {
    margin-bottom: 1.25rem !important;
  }

  .contact .text-4xl,
  .contact .sm\:text-5xl {
    font-size: 1.5rem !important;
    line-height: 1.3;
  }

  .contact .text-lg {
    font-size: 0.875rem !important;
    line-height: 1.4;
  }

  .contact .mb-2 {
    margin-bottom: 0.375rem !important;
  }

  .contact .grid.lg\:grid-cols-2 {
    gap: 0.875rem;
  }

  .contact .space-y-4 {
    gap: 0.625rem;
  }

  .contact label {
    font-size: 0.8125rem !important;
  }

  .contact input,
  .contact textarea {
    padding: 0.5rem !important;
    font-size: 0.875rem;
  }

  .contact textarea {
    min-height: 8rem;
  }

  .contact .pt-4 {
    padding-top: 0.625rem !important;
  }

  .contact .space-y-3>*:not(:first-child) {
    margin-top: 0.5rem !important;
  }

  .contact button {
    padding: 0.5rem 0.875rem !important;
    font-size: 0.8125rem !important;
  }

  .contact .text-2xl {
    font-size: 1.25rem !important;
  }

  .contact .mb-6 {
    margin-bottom: 1rem !important;
  }

  .contact .p-6 {
    padding: 1rem !important;
  }

  .checkBox-wrapper span {
    font-size: 12px !important;
  }
}