.activity-log-fab {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: var(--primary-gradient, linear-gradient(135deg, #8a4fff 0%, #6200ea 100%));
    color: #fff;
    box-shadow: 0 10px 30px rgba(98, 0, 234, 0.35);
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.activity-log-fab:hover,
.activity-log-fab:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(98, 0, 234, 0.4);
}

.activity-log-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ff3d71;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.activity-log-fab.has-unread .activity-log-fab-badge {
    display: flex;
}

.activity-log-fab.has-unread {
    animation: activityLogFabPulse 2s ease-in-out infinite;
}

@keyframes activityLogFabPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(98, 0, 234, 0.35);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(98, 0, 234, 0.18), 0 10px 30px rgba(98, 0, 234, 0.35);
    }
}

@media (max-width: 576px) {
    .activity-log-fab {
        right: 16px;
        bottom: 20px;
    }
}
