/* Simple Request a Callback popup */
body.asmorix-cb-open {
  overflow: hidden;
}

.asmorix-cb[hidden] {
  display: none !important;
}

.asmorix-cb {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.asmorix-cb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 35, 0.58);
  backdrop-filter: blur(3px);
}

.asmorix-cb__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(0, 0, 139, 0.28);
  overflow: hidden;
}

.asmorix-cb__head {
  padding: 22px 22px 14px;
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(255, 210, 0, 0.22), transparent 55%),
    linear-gradient(145deg, #000066 0%, #00008b 100%);
  color: #fff;
}

.asmorix-cb__eyebrow {
  margin: 0 0 6px;
  font-family: Nunito, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd200;
}

.asmorix-cb__title {
  margin: 0 0 6px;
  font-family: Rajdhani, sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.asmorix-cb__desc {
  margin: 0;
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.asmorix-cb__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.asmorix-cb__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.asmorix-cb__form {
  padding: 18px 22px 22px;
  display: grid;
  gap: 12px;
}

.asmorix-cb__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.asmorix-cb__field span {
  font-family: Nunito, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
}

.asmorix-cb__field span em {
  font-style: normal;
  color: #c62828;
}

.asmorix-cb__field input,
.asmorix-cb__field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1.5px solid rgba(0, 0, 139, 0.16);
  border-radius: 10px;
  background: #fbfcff;
  font-family: Nunito, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
}

.asmorix-cb__field input:focus,
.asmorix-cb__field select:focus {
  border-color: #00008b;
  box-shadow: 0 0 0 4px rgba(0, 0, 139, 0.1);
  background: #fff;
}

.asmorix-cb__submit {
  margin-top: 4px;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffe34a 0%, #ffd200 55%, #f0c200 100%);
  color: #000;
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 2px 0 #e0b400, 0 10px 22px rgba(255, 210, 0, 0.28);
}

.asmorix-cb__submit:hover {
  filter: brightness(1.03);
}

.asmorix-cb__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.asmorix-cb__note {
  margin: 0;
  text-align: center;
  font-family: Nunito, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.asmorix-cb__status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: Nunito, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.asmorix-cb__status[data-state="ok"] {
  background: #ecfdf5;
  color: #047857;
}

.asmorix-cb__status[data-state="err"] {
  background: #fef2f2;
  color: #b91c1c;
}

@media (max-width: 480px) {
  .asmorix-cb__dialog {
    width: 100%;
  }
  .asmorix-cb__title {
    font-size: 24px;
    padding-right: 28px;
  }
}
