.npco-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.npco-quote-btn svg {
  width: 16px;
  height: 16px;
}

body.npco-qf-lock {
  overflow: hidden;
}

.npco-qf-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Manrope', 'IBM Plex Sans Arabic', sans-serif;
}
.npco-qf-modal.npco-qf-open {
  display: flex;
}

.npco-qf-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 16, 0.6);
  backdrop-filter: blur(3px);
}

.npco-qf-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  color: #1e293b;
}

.npco-qf-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.05);
  color: #475569;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s;
}
.npco-qf-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

.npco-qf-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #034873;
}
.npco-qf-subtitle {
  margin: 0 0 20px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
}

.npco-qf-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.npco-qf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.npco-qf-field {
  display: flex;
  flex-direction: column;
}
.npco-qf-label {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.npco-qf-input {
  width: 100%;
  box-sizing: border-box;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: #1e293b;
  font-family: inherit;
  transition: 0.2s;
}
.npco-qf-input:focus {
  outline: none;
  border-color: #034873;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(3, 72, 115, 0.12);
}
.npco-qf-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-inline-end: 36px;
}
.npco-qf-modal[dir="rtl"] .npco-qf-select {
  background-position: left 12px center;
}
.npco-qf-textarea {
  resize: vertical;
  min-height: 100px;
}
.npco-qf-filebox {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  background: #f8fafc;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 9px 12px;
  cursor: pointer;
  transition: 0.2s;
}
.npco-qf-filebox:hover {
  border-color: #034873;
  background: #ffffff;
}
.npco-qf-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.npco-qf-filebtn {
  flex: 0 0 auto;
  background: #034873;
  color: #ffffff;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.npco-qf-filename {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.npco-qf-file-note {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #94a3b8;
}
.npco-qf-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.npco-qf-submit {
  margin-top: 4px;
  background: linear-gradient(135deg, #034873, #022c47);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: 0.3s;
}
.npco-qf-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(3, 72, 115, 0.3);
}
.npco-qf-submit:disabled {
  opacity: 0.7;
  cursor: default;
}

.npco-qf-recaptcha-note {
  margin-top: 10px;
  font-size: 10.5px;
  line-height: 1.5;
  color: #94a3b8;
  text-align: center;
}

.grecaptcha-badge {
  visibility: hidden;
}

.npco-qf-status {
  font-size: 13px;
  line-height: 1.6;
  min-height: 0;
}
.npco-qf-status--ok {
  color: #15803d;
}
.npco-qf-status--error {
  color: #b91c1c;
}

@media (max-width: 560px) {
  .npco-qf-card {
    padding: 22px 18px;
  }
  .npco-qf-row {
    grid-template-columns: 1fr;
  }
}
