/* Shared inquiry confirmation and feedback; uses the existing dialog design. */
.quote-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.quote-status{margin:20px 0 24px;padding:15px 18px;border-radius:5px;background:#edf3f8;color:#203d59;font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.quote-status[data-state="error"]{background:#fff2ec;color:#8a3821}
.quote-status:focus{outline:2px solid #829db1;outline-offset:3px}
.quote-delivery-note{margin:0 0 20px;font-size:13px;line-height:1.6;color:var(--color-muted)}
.quote-dialog button:disabled{opacity:.6;cursor:wait;transform:none}
.quote-dialog .quote-download{background:transparent;color:var(--color-muted);border:1px solid var(--color-border)}
.quote-dialog[aria-busy="true"] .quote-status::before{content:"";display:inline-block;width:12px;height:12px;margin-right:10px;border:2px solid #829db1;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:quote-spin 1s linear infinite}
@keyframes quote-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.quote-dialog[aria-busy="true"] .quote-status::before{animation:none}}
@media(max-width:600px){.quote-dialog .dialog-actions{gap:10px}.quote-dialog .dialog-actions button{flex:1 1 100%;justify-content:center}.quote-status{padding:14px}}
.quote-dialog .upload-zone .upload-hint{font-size:13px;margin-top:14px;line-height:1.6}
.quote-dialog .quote-file-list{list-style:none;margin:0;padding:0}
.quote-dialog .quote-file-list button{flex:0 0 auto;padding:6px}
.quote-dialog .quote-retry-note{font-size:14px;line-height:1.6;color:#8a3821;background:#fff2ec;padding:12px 16px;margin-bottom:20px}
.quote-file-error:focus{outline:2px solid #829db1;outline-offset:3px}

.quote-dialog .quote-project-description{margin:0 0 20px}

/* Calling-code search shares the existing inquiry colors and typography. */
.quote-dialog .phone-input{position:relative}
.quote-dialog .phone-country-picker{flex:0 0 142px;min-width:0}
.quote-dialog .phone-country-picker select[hidden]{display:none}
.quote-dialog .phone-country-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:100%;min-height:48px;padding:12px;color:var(--color-text);background:#fff;border:1px solid var(--color-border);border-right:0;border-radius:4px 0 0 4px;font:400 15px var(--body);cursor:pointer;white-space:nowrap}
.quote-dialog .phone-country-chevron{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 3px 4px}
.quote-dialog .phone-country-toggle[aria-expanded="true"] .phone-country-chevron{transform:rotate(225deg);margin-top:5px}
.quote-dialog .phone-country-panel{position:absolute;z-index:5;top:calc(100% + 6px);left:0;width:min(440px,100%);box-sizing:border-box;padding:16px;background:#fff;border:1px solid var(--color-border);border-radius:6px;box-shadow:0 10px 28px #172c4b20;color:var(--color-text)}
.quote-dialog .phone-country-panel[hidden]{display:none}
.quote-dialog .phone-country-panel label{display:block;margin:0 0 8px;font-size:14px}
.quote-dialog .phone-country-panel input{display:block;box-sizing:border-box;width:100%;min-height:44px;border:1px solid var(--color-border);border-radius:4px;font-size:16px;padding:10px 12px}
.quote-dialog .phone-country-hint,.quote-dialog .phone-country-status{font-size:12px;line-height:1.5;color:var(--color-muted);margin:8px 0 10px}
.quote-dialog .phone-country-results{max-height:190px;overflow-y:auto;overscroll-behavior:contain}
.quote-dialog .phone-country-option{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:9px 10px;border-radius:3px;font-size:14px;line-height:1.5;cursor:pointer}
.quote-dialog .phone-country-option>span:first-child{overflow-wrap:anywhere}
.quote-dialog .phone-country-option:hover,.quote-dialog .phone-country-option.is-active{background:#edf3f7}
.quote-dialog .phone-country-option[aria-selected="true"]{font-weight:600}
.quote-dialog .phone-country-code{flex:none;font-variant-numeric:tabular-nums;color:var(--color-muted)}
.quote-dialog .phone-country-status{margin-bottom:0}
.quote-dialog .phone-country-status.is-empty{font-size:14px;padding:12px 0}
.quote-dialog .phone-country-toggle:focus-visible,.quote-dialog .phone-country-panel input:focus-visible{outline:2px solid #517b9b;outline-offset:2px}
@media(max-width:600px){.quote-dialog .phone-country-picker{flex-basis:132px}.quote-dialog .phone-country-panel{padding:12px}.quote-dialog .phone-country-results{max-height:176px}}

.country-flag{display:inline-block;width:24px;height:18px;object-fit:cover;flex:0 0 24px;border-radius:2px;box-shadow:0 0 0 1px #172c4b1a;vertical-align:middle}
#current-language,.phone-country-toggle>span:first-child{display:inline-flex;align-items:center;gap:8px}
.language-menu button>span:first-child{display:inline-flex;align-items:center}
.quote-dialog .phone-country-name{display:flex;align-items:center;gap:10px;min-width:0}
.quote-dialog .phone-country-name>span{overflow-wrap:anywhere}
.quote-dialog .field .phone-national-hint{display:block;margin:8px 0 0;font-size:12px;line-height:1.5;color:var(--color-muted)}
