#tz-quote-dialog {
  box-sizing: border-box;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(18px, 4vw, 28px);
  overflow: auto;
  border: 1px solid #c6deef;
  border-radius: 16px;
  background: #fff;
  color: #15334d;
  box-shadow: 0 18px 60px rgba(13, 41, 69, .26);
}

#tz-quote-dialog::backdrop { background: rgba(10, 32, 53, .56); }

#tz-quote-dialog .tz-quote-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  margin-bottom: 9px;
}

#tz-quote-dialog h2 {
  --tezel-section-title: clamp(22px, 4vw, 26px);
  margin: 0;
  color: #0a2b64;
}

#tz-quote-dialog .tz-quote-close {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #eff6fc;
  color: #15334d;
  font-size: 24px !important;
  cursor: pointer;
}

#tz-quote-dialog .tz-quote-form {
  display: grid;
  gap: 12px;
  margin: 0;
}

#tz-quote-dialog label {
  display: grid;
  gap: 4px;
  margin: 0;
}

#tz-quote-dialog :is(input, select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #aec5d8;
  border-radius: 7px;
  background: #fff;
  color: #15334d;
}

#tz-quote-dialog textarea { resize: vertical; }

#tz-quote-dialog .tz-quote-submit {
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--tezel-action-blue, #086bd4);
  color: #fff;
  font-weight: 700 !important;
  cursor: pointer;
}

#tz-quote-dialog .tz-quote-intro {
  margin: 0 0 18px;
  color: #33516b;
}

#tz-quote-dialog .tz-quote-details {
  font-size: 14px !important;
}

#tz-quote-dialog .tz-quote-details {
  display: inline-block;
  margin-top: 12px;
  color: #0954a1;
  text-decoration: underline;
}

#tz-quote-dialog :focus-visible {
  outline: 2px solid #086bd4;
  outline-offset: 2px;
}

#quote .tz-home-quote-action {
  align-self: center;
  justify-self: start;
}

#tz-quote-dialog .tz-quote-submit:disabled {
  opacity: .65;
  cursor: default;
}

#tz-quote-dialog .tz-quote-status {
  margin: 0;
  color: #33516b;
}

#tz-quote-dialog .tz-quote-status[data-kind="success"] { color: #166534; }
#tz-quote-dialog .tz-quote-status[data-kind="error"] { color: #a52828; }
