/* ==========================================
CRISP BUTTON POSITION
========================================== */

.crisp-client .cc-tlyw {
    bottom: 18px !important;
    right: 18px !important;
}

/* ==========================================
SMART TEASER
========================================== */

#zr-smart-teaser {
    position: fixed;
    right: 92px;
    bottom: 92px;
    width: 320px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,.14);
    z-index: 999999;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(.96);
    transition:
        opacity .35s ease,
        transform .35s ease,
        visibility .35s ease;
    font-family: Inter, Arial, sans-serif;
}

#zr-smart-teaser.zr-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* ==========================================
HEADER
========================================== */

.zr-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 12px 0 12px;
}

.zr-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all .2s ease;
}

.zr-close:hover {
    background: #f3f3f3;
    color: #111;
}

/* ==========================================
BODY
========================================== */

.zr-body {
    display: flex;
    gap: 12px;
    padding: 4px 16px 16px;
}

.zr-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.zr-content {
    flex: 1;
}

.zr-content strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 5px;
}

.zr-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #4d4d4d;
}

/* ==========================================
BUTTON
========================================== */

.zr-footer {
    padding: 0 16px 16px;
}

.zr-button {
    width: 100%;
    border: 0;
    border-radius: 999px;
    background: #1663ff;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition:
        transform .2s ease,
        background .2s ease;
}

.zr-button:hover {
    background: #0e57ea;
    transform: translateY(-1px);
}

.zr-button svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* ==========================================
MOBILE
========================================== */

@media (max-width: 768px) {
    #zr-smart-teaser {
        left: 16px;
        right: 16px;
        width: auto;
        bottom: 88px;
    }

    .crisp-client .cc-tlyw {
        right: 16px !important;
        bottom: 16px !important;
    }
}

@media (max-width: 480px) {
    #zr-smart-teaser {
        border-radius: 18px;
    }

    .zr-content p {
        font-size: 13px;
    }

    .zr-button {
        font-size: 13px;
    }
}
