/* Modal backdrop */
#quote-modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(7, 12, 20, .52);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px)
}

/* Modal card */
#quote-modal {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(2, 6, 23, .18);
  overflow: hidden;
  font-family: "Poppins", "Segoe UI", Roboto, -apple-system, sans-serif;
  border: 1px solid #eef2ff
}

/* Header */
#quote-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #f1f5f9
}

#quote-modal .modal-header h3 {
    margin: 0;
    font-size: 30px;
    color: #009247;
    text-transform: uppercase;
    line-height: 34px;
}

#quote-modal .modal-header .sub {
  font-size: 20px;
  color: #000;
  margin-top: 6px
}

/* Body */
#quote-modal .modal-body {
  padding: 18px 20px 14px 20px;
  color: #475569;
  font-size: 14px
}

#quote-modal form {
  display: grid;
  gap: 12px
}

.q-input,
.q-textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid #e6eef6;
  font-size: 14px;
  color: #0b1220;
  box-sizing: border-box;
  outline: none
}

.q-input:focus,
.q-textarea:focus {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
  border-color: #c7d2fe
}

.q-textarea {
  min-height: 92px;
  resize: vertical
}

/* Actions */
#quote-modal .modal-actions {
  padding: 14px 20px 20px;
  display: flex;
  justify-content: center;
  gap: 10px
}

.q-btn {
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  font-size: 20px
}

.q-btn-ghost {
  background: transparent;
  color: #0f172a;
  border: 1px solid #eef2ff
}

.q-btn-primary {
  background: linear-gradient(90deg, #009247, #283a8e);
  color: #fff;
  box-shadow: 0 8px 30px rgba(124, 58, 237, .12)
}

/* Close icon */
#quote-modal .close-x {
  background: transparent;
  border: 0;
  font-size: 20px;
  color: #64748b;
  cursor: pointer
}

/* small note */
.small-note {
  font-size: 13px;
  color: #64748b;
  margin-top: 6px
}

/* responsive */
@media (max-width:420px) {
  #quote-modal {
    max-width: 96%;
    border-radius: 12px
  }

  #quote-modal .modal-header h3 {
    font-size: 16px
  }
}