/* Eligent Labs — quiet tactile depth for the enquiry form. */
.contact-form-panel {
  --pointer-x: 50%; --pointer-y: 0%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 22px 80px rgba(0, 5, 25, .22), inset 0 1px rgba(255,255,255,.04);
  transition: border-color .4s ease, box-shadow .5s ease;
}
.contact-form-panel::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(550px circle at var(--pointer-x) var(--pointer-y), rgba(93,166,255,.12), rgba(179,99,255,.055) 38%, transparent 72%);
  opacity: .32; pointer-events: none;
  transition: opacity .5s ease;
}
.contact-form-panel:hover, .contact-form-panel:focus-within {
  border-color: rgba(149,184,240,.29);
  box-shadow: 0 28px 95px rgba(0,4,22,.3), 0 0 34px rgba(88,126,224,.06), inset 0 1px rgba(255,255,255,.075);
}
.contact-form-panel:hover::before, .contact-form-panel:focus-within::before {opacity:1}
.contact-form-panel .field input:not([type=checkbox]),
.contact-form-panel .field select,
.contact-form-panel .field textarea {
  min-height: 56px;
  border-radius: 12px;
  border: 1px solid rgba(166,196,228,.23);
  background-color: #091928;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.21), 0 0 0 rgba(0,0,0,0);
  transition: border-color .25s ease, background-color .25s ease, box-shadow .3s ease, transform .3s cubic-bezier(.2,.7,.2,1);
}
.contact-form-panel .field textarea {min-height: 165px}
@media(hover:hover) and (pointer:fine){
  .contact-form-panel .field input:not([type=checkbox]):hover,
  .contact-form-panel .field select:hover,
  .contact-form-panel .field textarea:hover {
    border-color: rgba(135,192,246,.55);
    background-color: #0d2032;
    box-shadow: inset 0 1px rgba(255,255,255,.03), 0 8px 25px rgba(0,0,0,.14), 0 0 0 1px rgba(104,169,250,.07);
    transform: translateY(-1px);
  }
}
.contact-form-panel .field input:not([type=checkbox]):focus,
.contact-form-panel .field select:focus,
.contact-form-panel .field textarea:focus {
  outline: 2px solid transparent;
  border-color: #8fbdff;
  background-color: #0d2134;
  box-shadow: 0 0 0 3px rgba(93,170,255,.14), 0 13px 32px rgba(3,10,26,.26), inset 0 1px rgba(255,255,255,.04);
  transform: translateY(-1px);
}
.contact-form-panel .field:focus-within > label:not(.consent) {color:#a9d7ff;transition:color .25s ease}
.contact-form-panel .field select {
  -webkit-appearance:none;appearance:none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23bcd4f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 17px center;background-size:18px;
}
.contact-form-panel .field select option {color:#f3f9fb;background-color:#0b1928}
@media (prefers-reduced-motion:reduce){
  .contact-form-panel,
  .contact-form-panel::before,
  .contact-form-panel .field input,
  .contact-form-panel .field select,
  .contact-form-panel .field textarea {transition:none!important;transform:none!important}
}
