/* Main Editor toolbar */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
    padding: 5px;
    background-color: #f5f5f5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.toolbar button {
    padding: 5px 10px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.toolbar button:hover {
    background-color: #e9e9e9;
}

.toolbar button.isActive {
    background-color: #e1e1e1;
    font-weight: bold;
}

/* Fixed floating toolbar */
.fixedToolbar {
    position: fixed;
    top: 20px;
    right: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 180px;
    backdrop-filter: blur(5px);
    border: 1px solid #e0e0e0;
}

.fixedToolbar button {
    padding: 8px 6px;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.fixedToolbar button:hover {
    background-color: #e9e9e9;
}

.fixedToolbar button.isActive {
    background-color: #e1e1e1;
    font-weight: bold;
}

/* Tooltip for fixed toolbar buttons */
.fixedToolbar button:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: #333;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1001;
} 