#whatsapp-widget {
        position: fixed;
        right: 24px;
        bottom: 24px;
        z-index: 9999;
        font-family: Arial, sans-serif;
    }

    #whatsapp-toggle {
        width: 58px;
        height: 58px;
        border: 0;
        border-radius: 50%;
        background: #25D366;
        color: white;
        font-size: 26px;
        cursor: pointer;
        box-shadow: 0 4px 14px #0003;
    }

    .wa-popup {
        position: absolute;
        right: 0;
        bottom: 72px;
        width: 320px;
        max-width: calc(100vw - 32px);
        overflow: hidden;
        border-radius: 14px;
        background: #efeae2;
        box-shadow: 0 6px 28px #0003;
    }

    .wa-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        color: white;
        background: #075e54;
    }

    .wa-status {
        margin-top: 5px;
        font-size: 12px;
        opacity: .85;
    }

    #whatsapp-close {
        border: 0;
        background: transparent;
        color: white;
        font-size: 26px;
        cursor: pointer;
    }

    .wa-body {
        min-height: 130px;
        padding: 18px 12px;
    }

    .wa-message {
        display: inline-block;
        max-width: 90%;
        padding: 12px;
        border-radius: 10px;
        background: white;
        font-size: 14px;
        line-height: 1.6;
    }

    .wa-footer {
        display: flex;
        gap: 8px;
        padding: 12px;
        background: white;
    }

    .wa-footer input {
        min-width: 0;
        flex: 1;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 20px;
        outline: none;
    }

    .wa-footer button {
        border: 0;
        border-radius: 20px;
        padding: 10px 12px;
        background: #25D366;
        color: white;
        cursor: pointer;
    }

    #whatsapp-toggle:focus-visible,
    #whatsapp-close:focus-visible,
    .wa-footer button:focus-visible {
        outline: 2px solid #075e54;
        outline-offset: 3px;
    }


    #pwa-install-overlay {
        position: fixed;
        inset: 0;
        z-index: 99999;
        background: rgba(0, 0, 0, .55);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    #pwa-install-card {
        background: #fff;
        width: 100%;
        max-width: 360px;
        padding: 24px;
        border-radius: 18px;
        text-align: center;
        font-family: Arial, sans-serif;
        box-shadow: 0 10px 40px #0003;
    }

    #pwa-install-card h3 {
        margin: 0 0 10px;
    }

    #pwa-install-card p {
        color: #555;
        line-height: 1.7;
        font-size: 14px;
    }

    #pwa-install-card button {
        width: 100%;
        padding: 12px;
        border: 0;
        border-radius: 10px;
        background: #0f766e;
        color: #fff;
        font-size: 15px;
        cursor: pointer;
        margin-top: 8px;
    }

    #pwa-dismiss {
        background: #eee !important;
        color: #333 !important;
    }