.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

:root {
    --chatbox-offset: 24px;
}

.site-chatbox {
    position: fixed;
    right: 24px;
    bottom: var(--chatbox-offset);
    z-index: 99990;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.site-chatbox__launcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 14px 20px;
    background: #d7b54f !important;
    color: #000000;
    box-shadow: 0 18px 38px rgba(15, 63, 83, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-chatbox__launcher:hover,
.site-chatbox__launcher:focus {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(15, 63, 83, 0.32);
    color: #ffffff;
    outline: none;
}

.site-chatbox__launcher-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    font-size: 16px;
}

.site-chatbox__launcher-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-chatbox__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 16px);
    width: min(380px, calc(100vw - 32px));
    
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
    
}

.site-chatbox__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #0f3f53, #1a6c5c);
    color: #ffffff;
}

.site-chatbox__eyebrow {
    margin: 0 0 6px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
}

.site-chatbox__header h3 {
    margin: 0;
    font-size: 25px;
    line-height: 1.2;
    color: #ffffff;
}

.site-chatbox__close {
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
}

.site-chatbox__body {
    padding: 18px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.site-chatbox__message {
    display: flex;
    margin-bottom: 12px;
}

.site-chatbox__message p {
    margin: 0;
    max-width: 86%;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.55;
}

.site-chatbox__message--agent p {
    background: #edf6f2;
    color: #15313b;
    border-bottom-left-radius: 8px;
}

.site-chatbox__quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 18px 16px;
}

.site-chatbox__chip {
    border: 1px solid rgba(15, 63, 83, 0.16);
    background: #ffffff;
    border-radius: 999px;
    padding: 10px 14px;
    color: #0f3f53;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-chatbox__chip:hover,
.site-chatbox__chip:focus {
    background: #0f3f53;
    color: #ffffff;
    border-color: #0f3f53;
    outline: none;
}

.site-chatbox__cta {
    display: block;
    margin: 0 18px 18px;
    border-radius: 14px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 14px 32px rgba(18, 140, 126, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-chatbox__cta:hover,
.site-chatbox__cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(18, 140, 126, 0.28);
    outline: none;
}

.site-chatbox__footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.site-chatbox__footer a {
    color: #0f3f53 !important;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .site-chatbox {
        left: auto;
        right: 16px;
        bottom: var(--chatbox-offset);
    }

    .site-chatbox__launcher {
        width: auto;
        justify-content: flex-start;
        gap: 8px;
        padding: 11px 15px;
    }

    .site-chatbox__launcher-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .site-chatbox__launcher-label {
        font-size: 12px;
    }

    .site-chatbox__panel {
        width: min(380px, calc(100vw - 32px));
        right: 0;
        left: auto;
        bottom: calc(100% + 12px);
        border-radius: 20px;
    }

    .site-chatbox__header {
        padding: 16px 18px;
    }

    .site-chatbox__eyebrow {
        font-size: 10px;
    }

    .site-chatbox__header h3 {
        font-size: 18px;
    }

    .site-chatbox__close {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .site-chatbox__body {
        padding: 14px;
    }

    .site-chatbox__message {
        margin-bottom: 10px;
    }

    .site-chatbox__message p {
        font-size: 12px;
        line-height: 1.45;
        padding: 10px 12px;
    }

    .site-chatbox__quick-actions {
        gap: 6px;
        padding: 0 14px 14px;
    }

    .site-chatbox__chip {
        padding: 8px 12px;
        font-size: 11px;
    }

    .site-chatbox__cta {
        margin: 0 14px 14px;
        padding: 12px 14px;
        font-size: 13px;
    }

    .site-chatbox__footer {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
        padding: 12px 14px 14px;
    }

    .site-chatbox__footer a {
        font-size: 11px;
    }
}
