@import "general.css";
@import "nav.css";
@import "form.css";
@import "search.css";

/* ---- Quote dialog styles (inlined from former quote.css) ---- */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-height: 80vh;
  overflow-y: auto;
  padding-right: .25rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .65rem 1rem;
}

@media (min-width:480px) {

  .quote-grid>.field-group:nth-child(1),
  .quote-grid>.field-group:nth-child(2) {
    grid-column: span 1;
  }
}

.quote-grid .full-width {
  grid-column: 1 / -1;
}

.field-group {
  display: flex;
  flex-direction: column;
}

.field-group.inline-row {
  flex-direction: row;
  align-items: center;
  gap: .5rem;
}

.field-group.services {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .35rem 0 .25rem 0;
}

.field-group.services h3 {
  margin: 0 0 .25rem 0;
  font-size: 0.95rem;
}

.inline {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
}

.contact-section {
  padding-top: .15rem;
  margin-top: -.2rem;
}

.contact-grid {
  display: grid;
  gap: .7rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.field-group.subscribe {
  justify-content: end;
}

.what-next {
  padding-top: .4rem;
}

.next-steps {
  list-style: none;
  padding: 0;
  margin: .5rem 0 0 0;
  counter-reset: steps;
}

.next-steps li {
  position: relative;
  padding-left: 1.6rem;
  margin: .3rem 0;
  font-size: .85rem;
}

.next-steps li .step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  font-weight: 600;
}

.secure-footer {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #555;
  padding-top: .5rem;
}

.actions button[type=submit] {
  width: 100%;
  background: #111a27;
  color: #fff;
  font-weight: 600;
  padding: .65rem .9rem;
}

@media (min-width:640px) {
  .actions button[type=submit] {
    width: auto;
    align-self: center;
    min-width: 260px;
  }
}

.quote-form>.actions {
  border-top: none !important;
  margin-top: .4rem;
  padding-top: .4rem;
}

/* ---- End quote dialog styles ---- */