/* Compact project and information dialogs; customer form values stay untouched. */
.dialog-close {
  display: grid;
  place-items: center;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
  text-align: center;
}

.dialog-language {
  top: 12px;
  right: 62px;
}

.dialog-language .language-toggle {
  height: 40px;
}

.quote-dialog,
.info-dialog {
  width: 520px;
  padding: 62px 28px 24px;
}

.quote-dialog h2,
.info-dialog h2 {
  margin: 12px 0;
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: -.035em;
  text-align: center;
  overflow-wrap: anywhere;
}

.quote-dialog > .eyebrow,
.info-dialog .eyebrow {
  justify-content: center;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 1px;
  text-align: center;
}

.quote-dialog > p:not(.eyebrow),
.quote-dialog .form-hint,
.quote-dialog small,
.info-dialog p,
.info-dialog ul {
  font-size: 10px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.quote-dialog > p:not(.eyebrow),
.info-dialog p {
  margin: 10px 0;
}

.quote-dialog form {
  gap: 10px;
  margin-top: 14px;
}

.quote-dialog label {
  gap: 4px;
  min-width: 0;
  font-size: 10px;
  line-height: 1.5;
}

.quote-dialog input,
.quote-dialog select,
.quote-dialog textarea {
  min-width: 0;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.3;
}

.quote-dialog input,
.quote-dialog select {
  height: 40px;
}

.quote-dialog textarea {
  height: 88px;
  min-height: 80px;
  line-height: 1.55;
  resize: vertical;
}

.quote-dialog input::placeholder,
.quote-dialog textarea::placeholder {
  font-size: 10px;
  line-height: 1.5;
}

.quote-dialog .form-hint {
  margin-top: 10px;
}

.quote-dialog .button {
  min-height: 40px;
  padding: 10px 12px;
  gap: 14px;
  font-size: 10px;
}

.quote-dialog .button .ui-arrow {
  width: 18px;
  height: 18px;
}

#quote-email-link {
  font-size: 10px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.info-dialog h3 {
  margin: 16px 0 6px;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.info-dialog ul {
  margin: 10px 0;
  padding-left: 16px;
}

@media (max-width: 760px) {
  .quote-dialog,
  .info-dialog {
    padding: 60px 18px 22px;
  }

  /* Keep entered text large enough to avoid automatic mobile focus zoom. */
  .quote-dialog input,
  .quote-dialog select,
  .quote-dialog textarea {
    font-size: 16px;
  }
}
