:root {
    --primary: #eb1f0f;
    --secondary: #252424;
}

.custom-floating-chat-btn {
    position: fixed;
    bottom: 70px;
    right: 10px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.custom-floating-chat-btn:hover {
    transform: scale(1.05);
    background-color: var(--primary);
}

.custom-chat-popup {
    position: fixed;
    bottom: 130px;
    right: 30px;
    width: 350px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 9998;
    overflow: hidden;
}

.custom-chat-header {
    background-color: var(--secondary);
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-chat-header h5 {
    margin: 0;
    font-size: 16px;
}

.custom-chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.custom-chat-body {
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.custom-chat-user {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
    border-radius: 8px;
}

.custom-chat-user:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.custom-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease;
    margin-right: 15px;
}

.custom-chat-link {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    flex-grow: 1;
}

.custom-chat-link:hover {
    text-decoration: none;
}

.custom-chat-link:hover .custom-user-avatar {
    transform: scale(1.05);
}

.custom-chat-user:hover {
    background-color: #f8f9fa;
}

.custom-user-info {
    display: flex;
    align-items: center;
}

.custom-user-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}