/* ====================
   Department Form 2026-09-09
==================== */

.cmcc-contact-form {
  max-width: 760px;
  margin: 32px auto;
  padding: 28px;
  background: #f8fafc;
  border: 1px solid #dce2e8;
  border-radius: 12px;
}

.cmcc-contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #243746;
}

.cmcc-contact-form input[type="text"],
.cmcc-contact-form input[type="email"],
.cmcc-contact-form input[type="tel"],
.cmcc-contact-form select,
.cmcc-contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  font: inherit;
  color: #172b3a;
  background: #fff;
  border: 1px solid #8797a5;
  border-radius: 6px;
}

.cmcc-contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.cmcc-contact-form input:focus-visible,
.cmcc-contact-form select:focus-visible,
.cmcc-contact-form textarea:focus-visible,
.cmcc-contact-form button:focus-visible {
  outline: 3px solid #266da8;
  outline-offset: 2px;
}

.cmcc-contact-form input[type="submit"],
.cmcc-contact-form button[type="submit"] {
  padding: 12px 24px;
  background: #174b70;
  color: #fff;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cmcc-contact-form input[type="reset"],
.cmcc-contact-form button[type="reset"] {
  padding: 12px 18px;
  background: #fff;
  color: #243746;
  border: 1px solid #8797a5;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}

.cmcc-contact-form :disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .cmcc-contact-form {
    margin: 16px auto;
    padding: 16px;
  }
}

.cmcc-send-status:empty {
  display: none;
}

.cmcc-send-status.is-sending {
  margin-top: 20px;
  padding: 14px 16px;
  background: #eaf2f8;
  border: 1px solid #b8cedf;
  border-radius: 6px;
  color: #174b70;
  font-weight: 600;
}