/* =========================================
   CONTACT PAGE
========================================= */

.contact-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 24px 120px;
}


/* =========================================
   NOTICE
========================================= */

.contact-notice {
  background: #ffffff;
  border-radius: 5px;
  border: 1px solid var(--color-border);
  padding: 20px 30px;
  margin-bottom: 28px;
  line-height: 1.8;
  color: #3c4043;
}
.contact-notice .title {   
    color:  #3F8C92;
    font-weight: 800;
    margin-bottom: 0;
}

.contact-notice .description {   
    padding-left: 15px;
    margin-top: 0;
}

/* =========================================
   FORM CARD
========================================= */

.talk-form {
  background: white;
  border: 1px solid #dadce0;
  border-top: 8px solid #3F8C92;
  border-radius: 14px;
  padding: 38px 34px;
}

/* =========================================
   FORM GROUP
========================================= */

.form-group {
  margin-bottom: 36px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 14px;
}

.required {
  color: red;
}

.contact-fallback {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #9b978f;
  line-height: 1.8;
}

.contact-fallback a {
  color: #3F8C92;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed #3F8C92;
}

.contact-fallback a:hover {
  opacity: 0.75;
}

/* =========================================
   INPUTS
========================================= */

.form-group input:not(.soft-input),
.form-group textarea:not(.soft-input) {

  width: 100%;
  border: none;
  border-bottom: 1px solid #dadce0;
  background: transparent;
  padding: 14px 4px;
  font-size: 16px;
  color: #202124;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* =========================================
   SOFT INPUT
========================================= */

.soft-input {
  width: 100%;
  box-sizing: border-box;
  background: #f5f5f5;
  border: 1px solid #e3dfd8;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #2c2c2c;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.soft-input::placeholder {
  color: #9b978f;
}

.soft-input:focus {
  outline: none;
  background: white;
  border-color: #3F8C92;
}

.soft-textarea {
  min-height: 180px;
  resize: vertical;
}

/* =========================================
   GUIDE BOX
========================================= */

.form-guide {

  background: #f5f5f5;
  border-left: 4px solid #3F8C92;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 36px;
  font-size: 15px;
  line-height: 1.8;
  color: #5f6368;
}

/* =========================================
   INQUIRY BUTTONS
========================================= */

.inquiry-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inquiry-btn {
  border: 1px solid #dadce0;
  background: white;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 14px;
  color: #3c4043;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border 0.2s ease,
    color 0.2s ease;
}

.inquiry-btn:hover {
  background: #3F8C92;
  color: white;
}

.inquiry-btn.selected {
  background: #3F8C92;
  border-color: #3F8C92;
  color: white;
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.submit-btn {
  width: 100%;
  border: none;
  background: #3F8C92;
  color: white;
  border-radius: 10px;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.15s ease;
}

.submit-btn:hover {
  opacity: 0.94;
}

.submit-btn:active {
  transform: scale(0.99);
}

/* =========================================
   ERROR
========================================= */

/* .error {
  border-color: #d96b6b !important;
  background: #fff5f5 !important;
} */

input.soft-input.error,
textarea.soft-input.error {
  border-color: #d96b6b !important;
  background: #fff5f5 !important;
  box-shadow: 0 0 0 2px rgba(217, 107, 107, 0.15);
}

.error-message {
  margin-top: 8px;
  font-size: 13px;
  color: #d96b6b;
}

.inquiry-buttons.error {
  padding: 10px;
  border: 1px solid #d96b6b;
  border-radius: 14px;
  background: #fff5f5;
}
/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

  .contact-page {
    padding:
      42px 18px
      100px;
  }

  .contact-header h1 {
    font-size: 32px;
  }

  .talk-form,
  .contact-notice {
    padding: 24px;
  }

  .tab-buttons {
    gap: 8px;
  }

  .tab-btn {
    font-size: 14px;
    padding: 10px 14px;
  }
}

/* =========================================
   FILE UPLOAD PILL
========================================= */

.file-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.file-input-hidden {
  display: none;
}

.file-label {
  width: 50%;
  border: 1px solid #dadce0;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 13px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.15s ease;
}


.file-label:hover {
  background: #3F8C92;
  color: white;
  border-color: #3F8C92;
}

.file-name-display {
  font-size: 14px;
  color: #9b978f;
}

/* =========================================
   TOAST
========================================= */

.contact-toast {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease,
    margin 0.4s ease;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.contact-toast.show {
  max-height: 80px;
  opacity: 1;
  padding: 16px;
  margin-bottom: 16px;
}

.contact-toast.success {
  background: #edf7f7;
  color: #3F8C92;
  border: 1px solid #b2dde0;
}

.contact-toast.error {
  background: #fff5f5;
  color: #d96b6b;
  border: 1px solid #f5c6c6;
}
