/* Fleet Quote Form — matches LÍZING360 design system */


/* ── Wrapper ────────────────────────────────────────────────────────────── */
.fqf-wrap {
  font-family: "Inter Tight", "Roboto", system-ui, sans-serif;
  width: 100%;
}

.fqf-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow: 0 8px 40px rgba(10, 22, 40, .10), 0 2px 12px rgba(10, 22, 40, .06);
  border: 1px solid rgba(10, 22, 40, .09);
  width: 100%;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.fqf-header {
  margin-bottom: 22px;
}

.fqf-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #0A1628;
  line-height: 1.25;
}

.fqf-sub {
  margin: 0;
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.5;
}

/* ── Vehicle summary card ────────────────────────────────────────────────── */
.fqf-vehicle-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f4f7fb;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 22px;
  border: 1px solid rgba(30, 144, 232, .15);
}

.fqf-vehicle-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}

.fqf-vehicle-img--placeholder {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1E90E8, #00BFA6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fqf-vehicle-img--placeholder span {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
}

.fqf-vehicle-info {
  flex: 1;
  min-width: 0;
}

.fqf-vehicle-name {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #0A1628;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fqf-vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.fqf-meta-chip {
  display: inline-block;
  background: #e8f0fe;
  color: #1E90E8;
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.fqf-meta-chip--price {
  background: #00BFA6;
  color: #fff;
}

/* ── Form grid ───────────────────────────────────────────────────────────── */
.fqf-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fqf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fqf-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fqf-field--full {
  grid-column: 1 / -1;
}

/* ── Labels & inputs ─────────────────────────────────────────────────────── */
.fqf-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.fqf-required {
  color: #ef4444;
  margin-left: 2px;
}

.fqf-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 13px;
  font-size: 14px;
  font-family: inherit;
  color: #0A1628;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 9px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}

.fqf-input:focus {
  border-color: #1E90E8;
  box-shadow: 0 0 0 3px rgba(30, 144, 232, .12);
  background: #fff;
}

.fqf-input.fqf-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .10);
}

.fqf-textarea {
  resize: vertical;
  min-height: 96px;
}

/* ── T&C ─────────────────────────────────────────────────────────────────── */
.fqf-tc {
  margin-top: 2px;
}

.fqf-tc-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: #6b7280;
  cursor: pointer;
  line-height: 1.45;
}

.fqf-tc-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #1E90E8;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.fqf-tc-label a {
  color: #00BFA6;
  text-decoration: underline;
}

/* ── Validation message ──────────────────────────────────────────────────── */
.fqf-validation-msg {
  display: none;
  margin: 0;
  font-size: 13px;
  color: #ef4444;
  font-weight: 500;
}

.fqf-validation-msg.is-visible {
  display: block;
}

/* ── Submit button ───────────────────────────────────────────────────────── */
.fqf-submit {
  width: 100%;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg,#1A8FE3 0%,#00BFA6 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: filter .2s, box-shadow .2s, transform .12s;
  letter-spacing: .01em;
}

.fqf-submit:hover {
  filter: brightness(.96);
  box-shadow: 0 14px 30px rgba(26,143,227,.4);
}

.fqf-submit:active {
  transform: scale(.98);
}

.fqf-submit:disabled {
  background: #93c5fd;
  cursor: not-allowed;
  transform: none;
}

/* ── Modal overlay ───────────────────────────────────────────────────────── */
.fqf-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 22, 40, .55);
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.fqf-modal-overlay.is-open {
  display: flex;
}

.fqf-modal {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 80px rgba(10, 22, 40, .22);
  border-top: 4px solid transparent;
  animation: fqf-modal-in .22s ease;
}

@keyframes fqf-modal-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

.fqf-modal--success { border-top-color: #00BFA6; }
.fqf-modal--error   { border-top-color: #ef4444; }

.fqf-modal__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fqf-modal--success .fqf-modal__icon {
  background: #ecfdf5;
}

.fqf-modal--error .fqf-modal__icon {
  background: #fef2f2;
}

.fqf-modal__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #0A1628;
  line-height: 1.25;
}

.fqf-modal__body {
  margin: 0 0 28px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.55;
}

.fqf-modal__btn {
  display: inline-block;
  padding: 12px 36px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s, transform .12s;
  letter-spacing: .01em;
  width: 100%;
}

.fqf-modal--success .fqf-modal__btn {
  background: #00BFA6;
  color: #fff;
}

.fqf-modal--success .fqf-modal__btn:hover {
  background: #009d88;
}

.fqf-modal--error .fqf-modal__btn {
  background: #1E90E8;
  color: #fff;
}

.fqf-modal--error .fqf-modal__btn:hover {
  background: #166fc0;
}

.fqf-modal__btn:active {
  transform: scale(.98);
}

.fqf-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  border-radius: 6px;
  transition: color .15s;
}

.fqf-modal__close:hover {
  color: #374151;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 540px) {
  .fqf-card {
    padding: 24px 16px 20px;
    border-radius: 14px;
  }

  .fqf-row {
    grid-template-columns: 1fr;
  }

  .fqf-vehicle-img {
    width: 60px;
    height: 48px;
  }

  .fqf-vehicle-img--placeholder {
    width: 60px;
    height: 48px;
  }
}
