/* ========== AJÁNLATKÉRÉS (quote request) ==========
   A Conference Onboarding legnagyobb csomagja („Kiemelt rendezvény”)
   nem fix áron vásárolható: a felület „Ajánlatkérés” gombja nyitja ezt a popupot.
   A popup markupját a quote-request.js injektálja, ezért ezt a stíluslapot az
   index.html (szórólap) és az invitation.html (vásárlási csempe) közösen
   használja.

   A popup saját (quote-*) osztályokat használ, nem a lapok .modal-overlay
   szabályaira épül: az invitation.html nem tölt be modal CSS-t, a szórólapon
   pedig a popup a szórólap modalja FÖLÖTT jelenik meg (z-index 11000). A
   visszajelzést a common.js showMessage()-e adja (z-index 11020). */

.quote-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45);
    display: none; align-items: center; justify-content: center;
    z-index: 11000; padding: 16px;
}
.quote-overlay.active { display: flex; }
.quote-modal {
    background: #fff; border-radius: 14px; max-width: 640px; width: 100%;
    max-height: 95vh; overflow: auto; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
    padding: 22px; position: relative;
}
.quote-close {
    position: absolute; top: 12px; right: 12px; border: none; background: #ddd;
    color: #333; border-radius: 8px; padding: 6px 10px; font-weight: 700; cursor: pointer;
}
.quote-modal h2 { margin-top: 0; font-size: 19px; color: #2C4E6E; padding-right: 30px; }
.quote-modal-intro { font-size: 14px; color: #43536b; line-height: 1.5; margin: 0 0 14px; }
.quote-field { margin-bottom: 12px; }
.quote-field-row { display: flex; gap: 12px; }
.quote-field-row .quote-field { flex: 1 1 0; min-width: 0; }
.quote-field label { display: block; font-size: 13px; font-weight: 600; color: #2C4E6E; margin-bottom: 4px; }
.quote-field input[type="text"],
.quote-field input[type="email"],
.quote-field input[type="tel"],
.quote-field textarea {
    width: 100%; border: 1px solid #d8d2c2; border-radius: 10px;
    padding: 10px 12px; font-size: 14px; font-family: inherit;
    color: #2b3a4a; background: #fff;
}
.quote-field input:focus, .quote-field textarea:focus {
    outline: 2px solid #F3E3B8; outline-offset: 1px; border-color: #2C4E6E;
}
.quote-field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.quote-counter { text-align: right; font-size: 12px; color: #6b7280; margin-top: 3px; }
.quote-counter.limit { color: #b45309; font-weight: 600; }
.quote-files { display: grid; gap: 8px; }
.quote-files input[type="file"] { width: 100%; font-size: 13px; color: #43536b; }
.quote-files-hint { font-size: 12px; color: #6b7280; line-height: 1.45; margin-top: 4px; }
.quote-form-error {
    display: none; margin-top: 12px; padding: 10px 12px; border-radius: 10px;
    background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 13px;
}
.quote-form-error.visible { display: block; }
.quote-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap-reverse; }
.quote-actions button {
    border: none; border-radius: 11px; padding: 11px 18px;
    font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.quote-btn-submit { background: #2C4E6E; color: #fff; }
.quote-btn-submit:disabled { opacity: 0.6; cursor: progress; }
.quote-btn-back { background: #eee6d2; color: #2C4E6E; }

/* Az „Ajánlatkérés” gomb (szórólap táblázat és vásárlási csempe). */
.quote-open-btn {
    border: none; border-radius: 9px; padding: 6px 12px;
    background: #2C4E6E; color: #fff; font-size: 13px; font-weight: 700;
    font-family: inherit; cursor: pointer; white-space: nowrap;
}
.quote-open-btn:hover { filter: brightness(1.15); }

@media (max-width: 480px) {
    .quote-field-row { flex-direction: column; gap: 0; }
    .quote-actions button { flex: 1 1 100%; }
}

.quote-modal-intro { font-size: 14px; color: #43536b; line-height: 1.5; margin: 0 0 14px; }
.quote-field { margin-bottom: 12px; }
.quote-field-row { display: flex; gap: 12px; }
.quote-field-row .quote-field { flex: 1 1 0; min-width: 0; }
.quote-field label { display: block; font-size: 13px; font-weight: 600; color: #2C4E6E; margin-bottom: 4px; }
.quote-field input[type="text"],
.quote-field input[type="email"],
.quote-field input[type="tel"],
.quote-field textarea {
    width: 100%; border: 1px solid #d8d2c2; border-radius: 10px;
    padding: 10px 12px; font-size: 14px; font-family: inherit;
    color: #2b3a4a; background: #fff;
}
.quote-field input:focus, .quote-field textarea:focus {
    outline: 2px solid #F3E3B8; outline-offset: 1px; border-color: #2C4E6E;
}
.quote-field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.quote-counter { text-align: right; font-size: 12px; color: #6b7280; margin-top: 3px; }
.quote-counter.limit { color: #b45309; font-weight: 600; }
.quote-files { display: grid; gap: 8px; }
.quote-files input[type="file"] { width: 100%; font-size: 13px; color: #43536b; }
.quote-files-hint { font-size: 12px; color: #6b7280; line-height: 1.45; margin-top: 4px; }
.quote-form-error {
    display: none; margin-top: 12px; padding: 10px 12px; border-radius: 10px;
    background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 13px;
}
.quote-form-error.visible { display: block; }
.quote-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap-reverse; }
.quote-actions button {
    border: none; border-radius: 11px; padding: 11px 18px;
    font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.quote-btn-submit { background: #2C4E6E; color: #fff; }
.quote-btn-submit:disabled { opacity: 0.6; cursor: progress; }
.quote-btn-back { background: #eee6d2; color: #2C4E6E; }

/* Az „Ajánlatkérés” gomb (szórólap táblázat és vásárlási csempe). */
.quote-open-btn {
    border: none; border-radius: 9px; padding: 6px 12px;
    background: #2C4E6E; color: #fff; font-size: 13px; font-weight: 700;
    font-family: inherit; cursor: pointer; white-space: nowrap;
}
.quote-open-btn:hover { filter: brightness(1.15); }

@media (max-width: 480px) {
    .quote-field-row { flex-direction: column; gap: 0; }
    .quote-actions button { flex: 1 1 100%; }
}
