/**************************************************************************
                    Contact Page Styles — Modern Grid Layout
**************************************************************************/

/* ── Card container ── */
.contact-form-box {
  background: #262626;
  border-radius: 6px;
  padding: 28px 30px;
  margin: 0 0 30px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.30);
}
.contact-form-box fieldset {
  padding: 0;
  background: none;
}

/* ── Two-column grid ── */
.contact-form-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: start;
}

/* ── Section headings ── */
.contact-form-box .page-subheading {
  padding-left: 0;
  border: none;
  margin-bottom: 22px;
  font-size: 16px;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Labels ── */
.contact-form-box label {
  display: block;
  color: #168fe3;
  font-weight: 600;
  margin: 0 0 5px 0;
  font-size: 13px;
}
.contact-form-box label.unvisible {
  display: none;
}

/* ── Inputs, selects ── */
.contact-form-box input[type="text"],
.contact-form-box input[type="email"],
.contact-form-box input[type="file"],
.contact-form-box select.form-control,
.contact-form-box textarea.form-control {
  width: 100%;
  min-height: 40px;
  border: 1px solid #444;
  border-radius: 3px;
  padding: 9px 12px;
  font-size: 14px;
  background: #1b1b1b;
  color: #ddd;
  max-width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.contact-form-box input:focus,
.contact-form-box select:focus,
.contact-form-box textarea:focus {
  border-color: #168fe3;
  outline: none;
}

/* ── Select specific ── */
.contact-form-box select.form-control {
  height: 40px;
}

/* ── File input ── */
.contact-form-box input[type="file"] {
  padding: 7px 10px;
  background: #1b1b1b;
}

/* ── Textarea ── */
.contact-form-box textarea.form-control {
  min-height: 260px;
  resize: vertical;
  line-height: 1.5;
}

/* ── Form groups spacing ── */
.contact-form-box .form-group {
  margin-bottom: 16px;
}
.contact-form-box .selector1 {
  margin-bottom: 16px;
}

/* ── Subject description ── */
.contact-form-box .desc_contact {
  margin: -10px 0 14px 0;
  font-size: 12px;
  color: #999;
}
.contact-form-box #desc_contact0 {
  display: none;
}
.contact-form-box .contact-title {
  margin: -8px 0 14px 0;
  line-height: 20px;
  color: #aaa;
  font-size: 12px;
}
.contact-form-box .contact-title i {
  font-size: 18px;
  color: #666;
  padding: 0 8px 0 0;
}

/* ── Right column: Message area ── */
.contact-form-right .form-group {
  margin-bottom: 0;
}

/* ── Antispam block ── */
.contact-antispam-wrapper {
  margin-top: 8px;
}
.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  z-index: -1 !important;
}
.pow-container {
  margin: 0;
}

/* ── PoW status ── */
.pow-status {
  display: block;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  margin: 18px 0 14px;
}
.pow-computing {
  background: #3a3410;
  color: #e2c541;
  border: 1px solid #5a4f20;
}
.pow-ready {
  background: #14301e;
  color: #4cdf80;
  border: 1px solid #1e5c32;
}
.pow-error {
  background: #3d1518;
  color: #f28b8b;
  border: 1px solid #5c2626;
}

/* ── Submit section ── */
.contact-form-box .submit {
  margin-top: 20px;
}
.contact-form-box #submitMessage {
  background: #0b7edb !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 4px;
  padding: 14px 32px !important;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  text-align: center;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  display: block;
}
.contact-form-box #submitMessage:hover {
  background: #0967b3 !important;
  color: #fff !important;
}
.contact-form-box #submitMessage i {
  display: none;
}

/* ── Alerts (errors/success) ── */
.contact-form-box .alert {
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 14px;
}

/* ── Legacy uploader width fixes ── */
#contact.hide-right-column div.uploader span.filename,
#contact.hide-left-column div.uploader span.filename {
  width: 97px;
}
@media (min-width: 992px) and (max-width: 1199px) {
  #contact.hide-right-column div.uploader span.filename,
  #contact.hide-left-column div.uploader span.filename {
    width: 53px;
  }
}
#contact.hide-right-column.hide-left-column div.uploader span.filename {
  width: 172px;
}
@media (min-width: 992px) and (max-width: 1199px) {
  #contact.hide-right-column.hide-left-column div.uploader span.filename {
    width: 114px;
  }
}
@media (min-width: 320px) and (max-width: 340px) {
  #contact.hide-right-column.hide-left-column div.uploader span.filename {
    width: 155px;
  }
}

/* ── Responsive: single column on mobile ── */
@media (max-width: 767px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contact-form-box {
    padding: 18px 16px;
  }
  .contact-form-box .page-subheading {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .contact-form-box textarea.form-control {
    min-height: 180px;
  }
  .contact-form-box #submitMessage {
    font-size: 14px;
    padding: 14px 20px !important;
  }
  .pow-status {
    font-size: 12px;
    padding: 8px 10px;
    margin: 12px 0 10px;
  }
}
