/* WE Catquot frontend UI - readable source kept under historical .min.css name. */
.wecatquot-my_prod-form{
    --wecatquot-primary:#043d72;
    --wecatquot-accent:#e94d65;
    --wecatquot-text:#172b4d;
    --wecatquot-muted:#667085;
    --wecatquot-border:#d8e0e8;
    --wecatquot-surface:#fff;
    --wecatquot-soft:#f6f8fb;
    position:relative;
    z-index:10;
    width:100%;
    padding:0 16px;
    color:var(--wecatquot-text);
    box-sizing:border-box;
}
.wecatquot-my_prod-form *, .wecatquot-my_prod-form *::before, .wecatquot-my_prod-form *::after{box-sizing:border-box}
.wecatquot-my_prod-form .wecatquot-form-inner{
    width:100%;
    max-width:920px;
    margin:0 auto;
    padding:32px;
    background:var(--wecatquot-surface);
    border:1px solid #e8edf3;
    border-radius:18px;
    box-shadow:0 18px 48px rgba(4,61,114,.10);
}
.wecatquot-form-heading{display:block;text-align:center;margin:0 0 28px}
.wecatquot-form-heading .wecatquot-title{
    display:block;
    margin:0 0 8px;
    padding:0;
    color:var(--wecatquot-text);
    font-size:clamp(22px,2.2vw,30px);
    line-height:1.3;
    font-weight:750;
    letter-spacing:-.02em;
}
.wecatquot-form-heading .wecatquot-desc{
    display:block;
    margin:0;
    color:var(--wecatquot-muted);
    font-size:15px;
    line-height:1.65;
    font-weight:400;
}
.wecatquot-fields-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 20px;
}
.wecatquot-field{min-width:0}
.wecatquot-field--full,.wecatquot-actions{grid-column:1/-1}
.wecatquot-field-label{
    display:block;
    margin:0 0 7px;
    color:#344054;
    font-size:14px;
    line-height:1.4;
    font-weight:650;
}
.wecatquot-field-label span{color:var(--wecatquot-accent)}
.wecatquot-my_prod-form input,
.wecatquot-my_prod-form select,
.wecatquot-my_prod-form textarea{
    display:block;
    width:100%;
    min-height:50px;
    margin:0;
    padding:12px 14px;
    border:1px solid var(--wecatquot-border);
    border-radius:10px;
    background:#fff;
    color:#1d2939;
    font:inherit;
    font-size:15px;
    line-height:1.45;
    font-style:normal;
    outline:none;
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.wecatquot-my_prod-form input::placeholder,.wecatquot-my_prod-form textarea::placeholder{color:#98a2b3}
.wecatquot-my_prod-form input:focus,
.wecatquot-my_prod-form select:focus,
.wecatquot-my_prod-form textarea:focus{
    border-color:var(--wecatquot-primary);
    background:#fff;
    box-shadow:0 0 0 3px rgba(4,61,114,.10);
}
.wecatquot-my_prod-form select,.wecatquot-my_prod-form .wecatquot-native-select{appearance:auto;-webkit-appearance:auto;cursor:pointer;pointer-events:auto}
.wecatquot-actions{display:flex;align-items:center;gap:12px;margin-top:6px}
.wecatquot-actions--end{justify-content:flex-end}
.wecatquot-actions--between{justify-content:space-between}
.wecatquot-btn{
    min-height:48px;
    padding:11px 22px;
    border:1px solid transparent;
    border-radius:10px;
    font:inherit;
    font-size:15px;
    line-height:1.2;
    font-weight:700;
    cursor:pointer;
    transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease;
}
.wecatquot-btn:hover{transform:translateY(-1px)}
.wecatquot-btn:focus-visible{outline:3px solid rgba(4,61,114,.22);outline-offset:2px}
.wecatquot-btn--primary{background:var(--wecatquot-primary);color:#fff;box-shadow:0 8px 18px rgba(4,61,114,.18)}
.wecatquot-btn--primary:hover{background:#032f58;color:#fff}
.wecatquot-btn--secondary{background:#fff;color:#344054;border-color:#d0d5dd}
.wecatquot-btn--secondary:hover{background:#f8fafc;border-color:#b8c2cf;color:#1d2939}
.wecatquot-form.is-sending .wecatquot-btn{cursor:wait;opacity:.72}
.wecatquot-message{margin-top:16px;font-size:14px;line-height:1.5}
.wecatquot-message.is-error{color:#b42318}
.wecatquot-message.is-success{color:#067647}

/* Two-step progress. */
.wecatquot-progress{
    display:flex;
    align-items:center;
    justify-content:center;
    max-width:560px;
    margin:0 auto 30px;
    user-select:none;
}
.wecatquot-progress-item{display:flex;align-items:center;gap:9px;min-width:0;color:#98a2b3;font-size:13px;font-weight:650;transition:color .2s ease}
.wecatquot-progress-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#eef2f6;color:#667085;font-size:13px;font-weight:750;transition:all .2s ease}
.wecatquot-progress-label{white-space:nowrap}
.wecatquot-progress-item.is-active{color:var(--wecatquot-primary)}
.wecatquot-progress-item.is-active .wecatquot-progress-number{background:var(--wecatquot-primary);color:#fff;box-shadow:0 6px 14px rgba(4,61,114,.18)}
.wecatquot-progress-item.is-completed{color:#067647}
.wecatquot-progress-item.is-completed .wecatquot-progress-number{background:#12b76a;color:#fff}
.wecatquot-progress-line{position:relative;flex:1;height:2px;min-width:52px;max-width:110px;margin:0 14px;background:#e4e7ec;overflow:hidden}
.wecatquot-progress-line::before{content:"";position:absolute;inset:0 auto 0 0;width:0;background:#12b76a;transition:width .25s ease}
.wecatquot-progress.step-2 .wecatquot-progress-line::before{width:100%}
.wecatquot-step{display:none;animation:wecatquotFade .22s ease}
.wecatquot-step.is-active{display:block}
.wecatquot-form[data-form-mode="one_step"] .wecatquot-step{display:block!important;animation:none}
.wecatquot-form[data-form-mode="one_step"] .wecatquot-step + .wecatquot-step{margin-top:24px;padding-top:24px;border-top:1px solid #edf1f5}
@keyframes wecatquotFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}

/* Modal. */
body.wecatquot-modal-open{overflow:hidden}
.wecatquot-modal[hidden]{display:none!important}
.wecatquot-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:24px}
.swal2-container.wecatquot-swal-container{z-index:1000005!important}
.wecatquot-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(4px)}
.wecatquot-modal__dialog{position:relative;z-index:1;width:min(920px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border:1px solid rgba(255,255,255,.3);border-radius:20px;box-shadow:0 30px 90px rgba(15,23,42,.28);padding:24px;outline:0}
.wecatquot-modal__close{position:absolute;right:16px;top:16px;z-index:4;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid #e4e7ec;border-radius:10px;background:#fff;color:#475467;font-size:26px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(15,23,42,.05)}
.wecatquot-modal__close:hover{background:#f8fafc;color:#101828}
.wecatquot-modal__product{margin:0 54px 18px 0;padding:12px 14px;border:1px solid #e4e7ec;background:#f8fafc;border-radius:12px;color:#475467;font-size:14px;line-height:1.5}
.wecatquot-modal__product span{color:#667085}
.wecatquot-modal__product strong{color:#344054}
.wecatquot-modal .wecatquot-my_prod-form{padding:0}
.wecatquot-modal .wecatquot-form-inner{max-width:none;padding:10px 4px 4px;border:0;border-radius:0;box-shadow:none}

/* Legacy trigger form can still be hidden by external integration. */
.wecatquot-my_prod-form .d-none{display:none}

@media(max-width:767px){
    .wecatquot-my_prod-form{padding:0 10px}
    .wecatquot-my_prod-form .wecatquot-form-inner{padding:22px 16px;border-radius:14px}
    .wecatquot-form-heading{margin-bottom:22px;text-align:left}
    .wecatquot-form-heading .wecatquot-title{font-size:22px}
    .wecatquot-fields-grid{grid-template-columns:1fr;gap:15px}
    .wecatquot-field--full,.wecatquot-actions{grid-column:auto}
    .wecatquot-actions,.wecatquot-actions--between,.wecatquot-actions--end{justify-content:stretch;flex-direction:column-reverse;align-items:stretch}
    .wecatquot-btn{width:100%}
    .wecatquot-progress{justify-content:flex-start;margin-bottom:24px}
    .wecatquot-progress-label{display:none}
    .wecatquot-progress-line{max-width:70px}
    .wecatquot-modal{padding:10px;align-items:flex-end}
    .wecatquot-modal__dialog{max-height:94vh;padding:18px 12px;border-radius:18px 18px 0 0}
    .wecatquot-modal__product{margin-right:48px}
}
