#lpva-chat-button{
    position:fixed;
    bottom:20px;
    right:20px;
    background:#E5308A;
    color:#fff;
    padding:15px 22px;
    border-radius:32px;
    cursor:pointer;
    z-index:99999;
    font-family:Arial, sans-serif;
    transition:all .3s ease;
    box-shadow:0 4px 14px rgba(0,0,0,.25);
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:600;
}

#lpva-chat-button:hover{
    background:#c91f75;
    transform:translateY(-2px);
}

.lpva-paw-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
}

.lpva-paw-icon svg{
    display:block;
}

#lpva-chat-window{
    position:fixed;
    bottom:80px;
    right:20px;
    width:360px;
    max-width:95%;
    background:#fff;
    border:1px solid #ddd;
    border-radius:14px;
    display:none;
    z-index:99999;
    overflow:hidden;
    box-shadow:0 5px 22px rgba(0,0,0,.22);
    font-family:Arial, sans-serif;
}

.lpva-header{
    background:#E5308A;
    color:#fff;
    padding:15px;
    font-weight:bold;
    text-align:center;
    font-size:16px;
}

.lpva-body{
    height:350px;
    overflow-y:auto;
    overflow-x:hidden;
    padding:15px;
    background:#f8f8f8;
    scroll-behavior:smooth;
    box-sizing:border-box;
}

.lpva-body::-webkit-scrollbar{
    width:6px;
}

.lpva-body::-webkit-scrollbar-thumb{
    background:#ccc;
    border-radius:10px;
}

.lpva-bot-message{
    background:#fff;
    color:#000;
    padding:12px;
    border-radius:12px;
    margin-bottom:10px;
    line-height:1.5;
    font-size:14px;
    box-shadow:0 1px 4px rgba(0,0,0,.05);
    width:100%;
    box-sizing:border-box;
    overflow:visible;
}

.lpva-user-message{
    background:#000;
    color:#fff;
    padding:12px;
    border-radius:12px;
    margin-bottom:10px;
    text-align:right;
    line-height:1.5;
    font-size:14px;
}

.lpva-footer{
    display:flex;
    border-top:1px solid #ddd;
    background:#fff;
}

#lpva-input{
    flex:1;
    border:none;
    padding:12px;
    outline:none;
    font-size:14px;
    font-family:Arial, sans-serif;
}

#lpva-input::placeholder{
    color:#999;
}

#lpva-send{
    border:none;
    background:#E5308A;
    color:#fff;
    padding:12px 15px;
    cursor:pointer;
    transition:all .3s ease;
    font-size:14px;
}

#lpva-send:hover{
    background:#c91f75;
}

.lpva-active-message{
    width:100%;
    box-sizing:border-box;
}

.lpva-final-response{
    display:block;
    width:100%;
    line-height:1.5;
    word-wrap:break-word;
    overflow-wrap:break-word;
    white-space:normal;
}

.lpva-response-fixed{
    display:block;
    width:100%;
    animation:none;
}

.lpva-extra-content{
    width:100%;
    overflow:visible;
}

.lpva-typing-cursor{
    display:inline-block;
    margin-left:2px;
    font-weight:bold;
    animation:lpvaBlinkCursor 0.8s infinite;
}

@keyframes lpvaBlinkCursor{
    0%{
        opacity:1;
    }

    50%{
        opacity:0;
    }

    100%{
        opacity:1;
    }
}

.lpva-options-wrap{
    margin-top:18px;
    width:100%;
    opacity:0;
    transform:translateY(8px);
    animation:lpvaOptionsAppear 0.35s ease forwards;
}

@keyframes lpvaOptionsAppear{
    from{
        opacity:0;
        transform:translateY(8px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

.lpva-options-title{
    font-size:13px;
    font-weight:800;
    color:#000;
    margin-bottom:12px;
    line-height:1.4;
    text-align:left;
}

.lpva-quick-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:0;
}

.lpva-quick-btn{
    border:none;
    padding:8px 12px;
    border-radius:20px;
    cursor:pointer;
    background:#f1f1f1;
    color:#000;
    font-size:13px;
    transition:background .3s ease, color .3s ease, transform .3s ease;
}

.lpva-quick-btn:hover{
    background:#000;
    color:#fff;
    transform:translateY(-2px);
}

.lpva-quick-btn:focus{
    outline:none;
    background:#000;
    color:#fff;
}

.lpva-buttons-visible{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.lpva-button-step{
    opacity:0;
    transform:translateY(10px);
    animation:lpvaButtonStepIn 0.38s ease forwards;
}

@keyframes lpvaButtonStepIn{
    from{
        opacity:0;
        transform:translateY(10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

.lpva-link{
    display:inline-block;
    background:#E5308A;
    color:#fff !important;
    padding:10px 14px;
    border-radius:22px;
    text-decoration:none !important;
    margin-top:8px;
    font-size:14px;
    font-weight:bold;
    transition:all .3s ease;
}

.lpva-link:hover{
    background:#c91f75;
    color:#fff !important;
    transform:translateY(-2px);
    text-decoration:none !important;
}

.lpva-link:visited{
    color:#fff !important;
}

.lpva-link:focus{
    outline:none;
    background:#c91f75;
    color:#fff !important;
}

.lpva-lead-form{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:12px;
    overflow:visible;
    width:100%;
    box-sizing:border-box;
}

.lpva-lead-form input:not([type="hidden"]),
.lpva-lead-form select{
    border:1px solid #d5d5d5;
    border-radius:9px;
    padding:10px 12px;
    font-size:13px;
    outline:none;
    font-family:Arial, sans-serif;
    width:100%;
    box-sizing:border-box;
    background:#fff;
    color:#000;
}

.lpva-lead-form input:not([type="hidden"]):focus,
.lpva-lead-form select:focus{
    border-color:#000;
    box-shadow:0 0 0 1px #000;
}

.lpva-lead-form input::placeholder{
    color:#777;
}

.lpva-lead-form select{
    cursor:pointer;
}

.lpva-phone-row{
    display:flex;
    align-items:center;
    border:1px solid #d5d5d5;
    border-radius:9px;
    overflow:hidden;
    background:#fff;
    width:100%;
    box-sizing:border-box;
    height:42px;
}

.lpva-phone-row:focus-within{
    border-color:#000;
    box-shadow:0 0 0 1px #000;
}

.lpva-phone-prefix{
    background:#f1f1f1;
    color:#000;
    padding:0 11px;
    font-size:13px;
    font-weight:bold;
    border-right:1px solid #d5d5d5;
    white-space:nowrap;
    height:100%;
    display:flex;
    align-items:center;
}

.lpva-phone-row .lpva-lead-phone{
    border:none !important;
    flex:1;
    padding:10px 12px;
    font-size:13px;
    outline:none;
    width:100%;
    height:100%;
    box-shadow:none !important;
    background:#fff;
}

.lpva-phone-row .lpva-lead-phone:focus{
    border:none !important;
    box-shadow:none !important;
}

.lpva-save-lead-btn,
.lpva-save-quote-lead-btn{
    border:none;
    background:#E5308A;
    color:#fff;
    padding:12px 14px;
    border-radius:24px;
    cursor:pointer;
    font-size:13px;
    font-weight:bold;
    transition:all .3s ease;
    width:100%;
}

.lpva-save-lead-btn:hover,
.lpva-save-quote-lead-btn:hover{
    background:#c91f75;
    transform:translateY(-2px);
}

.lpva-save-lead-btn:disabled,
.lpva-save-quote-lead-btn:disabled{
    background:#777;
    cursor:not-allowed;
    transform:none;
}

.lpva-contact-team-title{
    font-size:14px;
    font-weight:800;
    color:#000;
    margin-top:12px;
    margin-bottom:8px;
}

.lpva-photo-note{
    font-size:12px;
    line-height:1.4;
    color:#555;
    background:#f7f7f7;
    border-radius:9px;
    padding:9px 10px;
}

/* Custom dog breed select */
.lpva-custom-select{
    position:relative;
    width:100%;
    z-index:20;
    box-sizing:border-box;
}

.lpva-custom-select-btn{
    width:100%;
    background:#fff;
    border:1px solid #d5d5d5;
    border-radius:9px;
    padding:10px 12px;
    text-align:left;
    font-size:13px;
    color:#333;
    cursor:pointer;
    font-family:Arial, sans-serif;
    box-sizing:border-box;
    line-height:1.4;
}

.lpva-custom-select-btn::after{
    content:"⌄";
    float:right;
    font-size:14px;
    color:#333;
}

.lpva-custom-select-btn:focus{
    outline:none;
    border-color:#000;
    box-shadow:0 0 0 1px #000;
}

.lpva-custom-select-list{
    display:none;
    position:relative;
    width:100%;
    background:#fff;
    border:1px solid #d5d5d5;
    border-radius:9px;
    margin-top:5px;
    max-height:185px;
    overflow-y:auto;
    overflow-x:hidden;
    z-index:999999;
    box-shadow:0 8px 20px rgba(0,0,0,0.18);
    box-sizing:border-box;
}

.lpva-custom-select-open .lpva-custom-select-list{
    display:block;
}

.lpva-custom-select-list::-webkit-scrollbar{
    width:6px;
}

.lpva-custom-select-list::-webkit-scrollbar-thumb{
    background:#ccc;
    border-radius:10px;
}

.lpva-custom-select-option{
    width:100%;
    background:#fff;
    border:none;
    padding:10px 12px;
    text-align:left;
    font-size:13px;
    cursor:pointer;
    color:#333;
    font-family:Arial, sans-serif;
    box-sizing:border-box;
}

.lpva-custom-select-option:hover{
    background:#f3f3f3;
}

/* Mobile UX */
/* Chat focus mode: desktop + mobile */
body.lpva-chat-open{
    overflow:hidden;
    height:100vh;
    touch-action:none;
}

/* Dark overlay to block the page while chat is open */
body.lpva-chat-open::before{
    content:"";
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.35);
    z-index:99998;
    pointer-events:auto;
}

/* Desktop focused chat - aligned right */
body.lpva-chat-open #lpva-chat-window{
    position:fixed;
    left:auto;
    right:20px;
    bottom:80px;
    transform:none;
    width:390px;
    max-width:94%;
    max-height:82vh;
    border-radius:18px;
    z-index:99999;
    box-shadow:
        0 18px 45px rgba(0,0,0,0.45),
        0 8px 18px rgba(0,0,0,0.30);
}

/* Keep the chat content scrollable */
body.lpva-chat-open .lpva-body{
    max-height:58vh;
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
}

/* Keep the chat button behind the overlay while chat is open */
body.lpva-chat-open #lpva-chat-button{
    z-index:99997;
}

/* Mobile adjustments */
@media (max-width:480px){

    body.lpva-chat-open #lpva-chat-window{
        left:50%;
        right:auto;
        bottom:18px;
        transform:translateX(-50%);
        width:94%;
        max-width:420px;
        max-height:82vh;
        border-radius:18px;
    }

    #lpva-chat-button{
        right:15px;
        bottom:15px;
        padding:13px 18px;
        font-size:14px;
    }

    .lpva-body{
        height:auto;
        max-height:58vh;
        overflow-y:auto;
        overflow-x:hidden;
        -webkit-overflow-scrolling:touch;
    }

    .lpva-quick-btn{
        font-size:12px;
        padding:8px 10px;
    }

    #lpva-input{
        font-size:13px;
    }

    #lpva-send{
        font-size:13px;
        padding:12px;
    }

    .lpva-lead-form{
        gap:9px;
    }

    .lpva-lead-form input:not([type="hidden"]),
    .lpva-lead-form select{
        font-size:13px;
        padding:9px 10px;
    }

    .lpva-phone-row{
        height:40px;
    }

    .lpva-phone-prefix{
        padding:0 10px;
        font-size:12px;
    }

    .lpva-phone-row .lpva-lead-phone{
        padding:9px 10px;
        font-size:13px;
    }

    .lpva-save-lead-btn,
    .lpva-save-quote-lead-btn{
        font-size:12px;
        padding:11px;
    }
}

    #lpva-chat-window{
        position:fixed;
        left:50%;
        right:auto;
        bottom:18px;
        transform:translateX(-50%);
        width:94%;
        max-width:420px;
        max-height:82vh;
        border-radius:18px;
        z-index:99999;
        box-shadow:
            0 18px 45px rgba(0,0,0,0.45),
            0 8px 18px rgba(0,0,0,0.30);
    }

    #lpva-chat-button{
        right:15px;
        bottom:15px;
        padding:13px 18px;
        font-size:14px;
        z-index:99997;
    }

    .lpva-body{
        height:auto;
        max-height:58vh;
        overflow-y:auto;
        overflow-x:hidden;
        -webkit-overflow-scrolling:touch;
    }

    .lpva-quick-btn{
        font-size:12px;
        padding:8px 10px;
    }

    #lpva-input{
        font-size:13px;
    }

    #lpva-send{
        font-size:13px;
        padding:12px;
    }

    .lpva-lead-form{
        gap:9px;
    }

    .lpva-lead-form input:not([type="hidden"]),
    .lpva-lead-form select{
        font-size:13px;
        padding:9px 10px;
    }

    .lpva-custom-select-btn{
        font-size:13px;
        padding:9px 10px;
    }

    .lpva-custom-select-list{
        max-height:170px;
    }

    .lpva-custom-select-option{
        font-size:13px;
        padding:9px 10px;
    }

    .lpva-phone-row{
        height:40px;
    }

    .lpva-phone-prefix{
        padding:0 10px;
        font-size:12px;
    }

    .lpva-phone-row .lpva-lead-phone{
        padding:9px 10px;
        font-size:13px;
    }

    .lpva-save-lead-btn,
    .lpva-save-quote-lead-btn{
        font-size:12px;
        padding:11px;
    }
}
/* Corrected dog breed dropdown - opens downward */
.lpva-custom-select{
    position:relative !important;
    width:100% !important;
    display:block !important;
    box-sizing:border-box !important;
    z-index:50 !important;
}

.lpva-custom-select-btn{
    width:100% !important;
    display:block !important;
    background:#E5308A !important;
    color:#fff !important;
    border:2px solid #000 !important;
    border-radius:6px !important;
    padding:11px 14px !important;
    text-align:left !important;
    font-size:14px !important;
    font-weight:700 !important;
    font-family:Arial, sans-serif !important;
    cursor:pointer !important;
    box-sizing:border-box !important;
    line-height:1.4 !important;
}

.lpva-custom-select-btn::after{
    content:"⌄";
    float:right;
    font-size:14px;
    color:#fff;
}

.lpva-custom-select-list{
    display:none !important;
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    width:100% !important;
    margin-top:4px !important;
    background:#fff !important;
    border:1px solid #999 !important;
    border-radius:0 0 6px 6px !important;
    max-height:220px !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    box-shadow:0 6px 14px rgba(0,0,0,0.18) !important;
    box-sizing:border-box !important;
}

.lpva-custom-select-open .lpva-custom-select-list{
    display:block !important;
}

.lpva-custom-select-option{
    display:block !important;
    width:100% !important;
    background:#fff !important;
    color:#000 !important;
    border:none !important;
    border-bottom:1px solid #eee !important;
    border-radius:0 !important;
    padding:10px 14px !important;
    text-align:left !important;
    font-size:14px !important;
    font-weight:400 !important;
    font-family:Arial, sans-serif !important;
    cursor:pointer !important;
    box-sizing:border-box !important;
}

.lpva-custom-select-option:hover{
    background:#E5308A !important;
    color:#fff !important;
}

.lpva-custom-select-list::-webkit-scrollbar{
    width:7px;
}

.lpva-custom-select-list::-webkit-scrollbar-thumb{
    background:#999;
    border-radius:10px;
}

.lpva-lead-form,
.lpva-extra-content,
.lpva-bot-message{
    overflow:visible !important;
}