/* Thông báo người mua thật (assets/js/social_proof.js) */
.aiweb-sp {
    position: fixed;
    bottom: calc(var(--aiweb-sp-bottom, 16px) + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    box-sizing: border-box;
    max-width: min(340px, calc(100vw - 32px));
    padding: 11px 34px 11px 14px;
    background: #ffffff;
    color: #121417;
    border: 1px solid #dcdee1;
    border-radius: 12px;
    box-shadow: 0 14px 30px -16px rgba(18, 20, 23, 0.38);
    font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.aiweb-sp[hidden] {
    display: none;
}

.aiweb-sp-left {
    left: 16px;
}

.aiweb-sp-right {
    right: 16px;
}

.aiweb-sp.is-in {
    opacity: 1;
    transform: none;
}

.aiweb-sp.is-static {
    transition: none;
    transform: none;
}

.aiweb-sp-text {
    margin: 0;
}

.aiweb-sp-text strong {
    font-weight: 700;
}

.aiweb-sp-ago {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #6a717c;
}

.aiweb-sp-close {
    position: absolute;
    top: 5px;
    right: 6px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: none;
    color: #6a717c;
    font-size: 18px;
    line-height: 28px;
    cursor: pointer;
    border-radius: 6px;
}

.aiweb-sp-close:hover,
.aiweb-sp-close:focus-visible {
    color: #121417;
    background: #f1f2f4;
}

/* Điện thoại: chừa chỗ cho nút nổi bên phải (chat Zalo), nằm trên thanh nút ở đáy nếu có. */
@media (max-width: 767px) {
    .aiweb-sp,
    .aiweb-sp-left,
    .aiweb-sp-right {
        left: 10px;
        right: 76px;
        max-width: none;
        font-size: 13.5px;
    }
}
