.at-chat-callback {
  box-sizing: border-box;
  width: min(26rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 1.75rem;
  border: 0;
  border-radius: 1rem;
  margin: auto;
  background: #fff;
  color: #102f32;
  font: 16px/1.45 system-ui, sans-serif;
  text-align: left;
  box-shadow: 0 1rem 3.5rem #102f3240;
}

.at-chat-callback::backdrop {
  background: rgb(16 47 50 / 52%);
}

.at-chat-callback h2 {
  margin: 0 2rem 0.4rem 0;
  padding: 0;
  color: inherit;
  font: 700 1.5rem/1.2 system-ui, sans-serif;
}

.at-chat-callback p {
  margin: 0 0 1rem;
}

.at-chat-callback:not(:has(form)) .at-chat-callback-intro {
  margin-bottom: 0;
}

.at-chat-callback-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: 1.65rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.at-chat-callback-phone,
.at-chat-callback-consent {
  font-weight: 500;
}

.at-chat-callback-phone input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid #647a7b;
  border-radius: 0.5rem;
  margin-top: 0.25rem;
  background: #fff;
  color: inherit;
  font: inherit;
}

.at-chat-callback-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.8rem 0 1rem;
  font-size: 0.875rem;
}

.at-chat-callback-consent input {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  accent-color: #006d6e;
}

.at-chat-callback-submit {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 0.85rem;
  border: 0;
  border-radius: 0.5rem;
  background: #006d6e;
  color: #fff;
  font: 650 1rem/1.3 system-ui, sans-serif;
  cursor: pointer;
}

.at-chat-callback-submit:disabled {
  opacity: 0.65;
  cursor: progress;
}

.at-chat-callback :focus-visible {
  outline: 2px solid #006d6e;
  outline-offset: 2px;
}

.at-chat-callback .at-chat-callback-status {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
}

.at-chat-callback-status:empty {
  display: none;
}
