/* Host Cloud Crisp intake */

.hcci-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999980;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f2a5f 0%, #0e7490 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 42, 95, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hcci-launcher:hover,
.hcci-launcher:focus {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 34px rgba(15, 42, 95, 0.42);
  outline: none;
}

.hcci-launcher[hidden] {
  display: none !important;
}

.hcci[hidden] {
  display: none !important;
}

.hcci {
  position: fixed;
  inset: 0;
  z-index: 999990;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
  font-family: Outfit, system-ui, -apple-system, Segoe UI, sans-serif;
}

.hcci-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.35);
}

.hcci-card {
  position: relative;
  z-index: 1;
  width: min(380px, 100%);
  margin: 0 4px 72px 0;
  background: #fff;
  border: 1px solid #d6e4ea;
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 20px 50px rgba(15, 42, 95, 0.22);
  color: #0b1220;
}

.hcci-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: #5b6b7c;
  cursor: pointer;
}

.hcci-kicker {
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0e7490;
}

.hcci-title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
  color: #0f2a5f;
}

.hcci-lead {
  margin: 8px 0 16px;
  color: #5b6b7c;
  font-size: 0.92rem;
  line-height: 1.45;
}

.hcci-form {
  display: grid;
  gap: 12px;
}

.hcci-field {
  display: grid;
  gap: 6px;
}

.hcci-field span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5b6b7c;
}

.hcci-field input,
.hcci-field select {
  min-height: 42px;
  border: 1px solid #d6e4ea;
  border-radius: 12px;
  padding: 0 12px;
  font: inherit;
  color: #0b1220;
  background: #fff;
}

.hcci-field input:focus,
.hcci-field select:focus {
  outline: none;
  border-color: #0e7490;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.15);
}

.hcci-error {
  margin: 0;
  color: #b42318;
  font-size: 0.88rem;
  font-weight: 600;
}

.hcci-submit {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: #0f2a5f;
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-top: 4px;
}

.hcci-submit:hover,
.hcci-submit:focus {
  background: #0a1f48;
  outline: none;
}

@media (max-width: 480px) {
  .hcci {
    align-items: stretch;
    padding: 0;
  }

  .hcci-card {
    width: 100%;
    margin: 0;
    border-radius: 18px 18px 0 0;
    max-height: 92vh;
    overflow: auto;
  }

  .hcci-launcher {
    right: 16px;
    bottom: 16px;
  }
}
