.cscb-wrapper {
    position: fixed;
    bottom: 30px;
    z-index: 9999;
}

.cscb-right { right: 30px; }
.cscb-left { left: 30px; }

.cscb-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #444;
    color: #fff;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.cscb-toggle img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.cscb-actions {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: 
        max-height 0.5s ease,
        opacity 0.4s ease,
        transform 0.4s ease;
}

.cscb-actions.active {
    max-height: 200px; /* enough height for icons */
    opacity: 1;
    transform: translateY(0);
}

.cscb-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.cscb-btn:hover {
    transform: scale(1.1);
}

.cscb-page-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}
/* Tab css */

.cscb-tabs {
    margin-bottom: 15px;
}

.cscb-tab {
    background: #f1f1f1;
    border: none;
    padding: 8px 15px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 5px;
}

.cscb-tab.active {
    background: #0073aa;
    color: #fff;
}

.cscb-tab-content {
    display: none;
    max-height: 250px;
    overflow-y: auto;
    padding: 15px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
}

.cscb-tab-content.active {
    display: block;
}