.cbm-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

.cbm-item {
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    position: relative;
}

.cbm-item i {
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
}

.cbm-item.active i {
    color: red !important;
}



.cbmitem {
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    position: relative;
}

.cbmitem i {
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
}

.cbmitem.active i {
    color: red !important;
}


.cbm-notification-popup {
    display: none; /* Initially hidden */
    position: fixed;
    bottom: 60px; /* Slightly above the bottom bar */
    right: 10px; /* Adjust for notification icon alignment */
    background: #ff0000; /* Red background */
    color: #fff; /* White text */
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: space-between;
    z-index: 1001; /* Above the menu bar */
    animation: fadeIn 0.5s ease-out, slideUp 0.5s ease-out; /* Entry animation */
}

.cbm-notification-popup::after {
    content: "";
    position: absolute;
    bottom: -10px; /* Arrow below the bubble */
    right: 20px; /* Adjusted to point near the bell icon */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ff0000; /* Matches the bubble's red background */
}
.cbm-notification-close {
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    color: white;
    font-weight: bold;
    background-color: white; /* White background */
    border-radius: 8px; /* Rounded corners */
    padding: 5px 10px; /* Add padding for a better appearance */
    color: #000; /* Change text color to black for visibility */
    border: 1px solid #ccc; /* Optional: Add a light border */
    display: inline-block; /* Ensure proper spacing around the element */
}


.cbm-notification-popup span {
    font-size: 14px;
    font-weight: bold;
}


.cbm-notification-close:hover {
    color: #ff5555;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
    }
    to {
        transform: translateY(0);
    }
} 

/* Loader Styles */
/* Bouncing dots loader */
.cbm-dots-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: absolute;
    bottom: 25px; /* Increased bottom space for better alignment */
    left: 50%;
    transform: translateX(-50%);
}


.cbm-dots-loader span {
    width: 12px; /* Increased dot size */
    height: 12px; /* Increased dot size */
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
    box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.5);
}

/* Dot colors */
.cbm-dots-loader span:nth-child(1) { background-color: red; animation-delay: -0.32s; }
.cbm-dots-loader span:nth-child(2) { background-color: white; animation-delay: -0.16s; }
.cbm-dots-loader span:nth-child(3) { background-color: #00AEEF; }

/* Bouncing animation */
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.6; }
    40% { transform: scale(1); opacity: 1; }
}
