/* Floating Toolbar Styles */
.floating-toolbar {
    position: fixed;
    left: calc(50% - 670px);
    top: 84px;
    transform: none;
    background: white;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 100;
    display: flex;
    transition: all 0.3s ease;
}

.toolbar-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.toolbar-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: none;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.toolbar-btn:hover {
    background: #e9ecef;
    color: #212529;
    transform: translateY(-2px);
}

.toolbar-btn i {
    font-size: 16px;
}

.toolbar-settings-btn {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid white;
}

.toolbar-btn[title]:hover:after {
    content: attr(title);
    position: absolute;
    bottom: 0%;
    left: 200%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .floating-toolbar {
        left: 10px;
        top: auto;
        bottom: 10px;
        transform: none;
        flex-direction: row;
    }
    
    .toolbar-buttons {
        flex-direction: row;
        gap: 5px;
    }
    
    .toolbar-btn {
        width: 40px;
        height: 40px;
    }
}