.radial-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Backdrop for the menu items */
/* Removed as per screenshot */

.menu-toggle {
    width: 60px;
    height: 60px;
    background-color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.radial-menu.active .menu-toggle {
    transform: rotate(45deg);
    background-color: #0056b3;
}

.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    position: absolute;
    top: 50%;
    right: 0; /* Align to the right of the FAB */
    transform: translateY(-50%); /* Vertically center */
    width: 45px;
    height: 45px;
    background-color: #0056b3; /* Dark blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* White icon color */
    font-size: 20px;
    z-index: 11;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.radial-menu.active .menu-item {
    opacity: 1;
    visibility: visible;
}

.radial-menu.active .menu-item:nth-child(1) {
    transform: translateY(60px);
}

.radial-menu.active .menu-item:nth-child(2) {
    transform: translateY(110px);
}

.radial-menu.active .menu-item:nth-child(3) {
    transform: translateY(160px);
}

.radial-menu.active .menu-item:nth-child(4) {
    transform: translateY(210px);
}


.menu-item:hover {
    background-color: #1e7ff0;
    color: white;
}

.menu-item[data-action="report"] {
    border: 2px solid yellow;
}

.menu-item::before {
    content: attr(title);
    position: absolute;
    right: 120px;
    background-color: #f0f0f0;
    color: #333;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-size: 14px;
}

.radial-menu.active .menu-item::before {
    opacity: 1;
    visibility: visible;
}