/* EichelmanLAB contact form. Uses the fonts and colors from default.css. */

.ct-center {
  text-align: center;
}

.ct-form {
  display: block;
  max-width: 600px;
  margin: 20px auto 10px auto;
}

.ct-label {
  display: block;
  margin-bottom: 12px;
  font-size: .9rem;
  font-weight: bold;
  color: #000;
}

.ct-form .ct-input,
.ct-form .ct-text {
  display: block;
  width: 100%;
  min-height: 0;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid #2a2a33;
  border-radius: 8px;
  background: #e4eaf2;
  color: #212529;
  font: 1rem/1.5 'Manrope', sans-serif;
  text-align: left;
  text-transform: none;
}

.ct-form .ct-text {
  min-height: 10rem;
  resize: vertical;
}

.ct-form .ct-input:focus,
.ct-form .ct-text:focus,
.ct-submit:focus-visible {
  outline: 2px solid #1E90FF;
  outline-offset: 2px;
}

.ct-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ct-submit {
  padding: 8px 22px;
  border: 0;
  border-radius: 8px;
  background: #2a2a33;
  color: #FFF;
  font: bold .95rem/1.5 'Manrope', sans-serif;
  cursor: pointer;
  transition: background .2s;
}

.ct-submit:hover {
  background: #1E90FF;
}

.ct-submit:disabled {
  opacity: .6;
  cursor: default;
}

.ct-hint {
  font-size: .8rem;
  font-weight: normal;
  color: #6c757d;
}

.ct-form .ct-file {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 6px 0;
  font: .9rem/1.5 'Manrope', sans-serif;
  color: #212529;
}

.ct-file::file-selector-button {
  margin-right: 10px;
  padding: 6px 14px;
  border: 1px solid #2a2a33;
  border-radius: 8px;
  background: #e4eaf2;
  color: #212529;
  font: bold .85rem/1.5 'Manrope', sans-serif;
  cursor: pointer;
}

.ct-file:focus-visible {
  outline: 2px solid #1E90FF;
  outline-offset: 2px;
}

.ct-status {
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 4px;
}

.ct-status[hidden] {
  display: none;
}

.ct-ok {
  border-left: 3px solid #1E90FF;
  background: #eaf3fd;
  color: #0b3d6e;
}

.ct-note {
  border-left: 3px solid #6c757d;
  background: #f1f4f8;
  color: #212529;
}

.ct-error {
  border-left: 3px solid #c0392b;
  background: #fdecea;
  color: #7b1e14;
}

.ct-back {
  text-align: center;
}

/* Honeypot: hidden from people, visible to bots. */
.ct-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ct-direct {
  text-align: center;
  margin: 1rem 0 .35rem;
}

.ct-pgp-line {
  text-align: center;
  margin: 0 0 .25rem;
  font-size: .95rem;
}
