/* 3D Editor Specific Styles */

.three-d-panel {
    width: 100%;
    height: 100%;
    position: relative;
    background: #f0f0f0;
}

.three-d-panel canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    /* Edge-specific cursor fix */
    -ms-touch-action: none;
    touch-action: none;
    /* Ensure cursor styles work properly in Edge */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Dark mode for 3D editor */
.dark-mode .three-d-panel {
    background: #1a1a1a;
}

/* Window content adjustments for 3D */
.editor-window .window-content {
    padding: 0; /* Remove padding for 3D canvas */
}

/* Stand selection highlight */
.stand-selected {
    outline: 2px solid #00aaff;
}

/* Loading overlay */
.editor-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    z-index: 1000;
}

/* Tool cursor states */
.three-d-panel.tool-add-stand {
    cursor: crosshair;
}

/* Shape selector UI */
.shape-selector-ui {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.shape-selector-ui h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.shape-selector-ui .shape-options {
    margin-bottom: 16px;
}

.shape-selector-ui label {
    display: block;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.shape-selector-ui input[type="radio"] {
    margin-right: 8px;
}

.shape-selector-ui input[type="range"] {
    width: 100%;
    margin-top: 4px;
}

.shape-selector-ui hr {
    margin: 16px 0;
    border: none;
    border-top: 1px solid #ddd;
}

.shape-selector-ui p {
    margin: 4px 0;
    font-size: 12px;
    color: #666;
}

/* Shape preview in 3D */
.shape-preview {
    pointer-events: none;
}

/* Dark mode support */
.dark-mode .shape-selector-ui {
    background: #2a2a2a;
    color: #fff;
}

.dark-mode .shape-selector-ui h3 {
    color: #fff;
}

.dark-mode .shape-selector-ui label {
    color: #ccc;
}

.dark-mode .shape-selector-ui hr {
    border-top-color: #444;
}

.dark-mode .shape-selector-ui p {
    color: #999;
}

/* Toolbar label styling */
.toolbar-label {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6c757d;
    vertical-align: middle;
}

.editor-toolbar .toolbar-separator {
    display: inline-block;
    width: 1px;
    height: 30px;
    background: #dee2e6;
    margin: 0 8px;
    vertical-align: middle;
}

.three-d-panel.tool-select {
    cursor: pointer;
}

.three-d-panel.tool-pan {
    cursor: move;
}

.three-d-panel.tool-delete {
    cursor: not-allowed;
}

/* Coordinates display */
.editor-coordinates {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-family: monospace;
}

/* Scene info */
.scene-info {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* Context menu for 3D objects */
.editor-context-menu {
    position: fixed;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    z-index: 2000;
}

.editor-context-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.editor-context-menu li {
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.editor-context-menu li:hover {
    background: var(--bg-hover);
}

.editor-context-menu li i {
    width: 20px;
    margin-right: 8px;
}

/* 3D Editor Container Layout */
.3d-editor-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* Editor Toolbar */
.editor-toolbar {
    display: flex;
    align-items: center;
    padding: 8px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    gap: 8px;
    flex-wrap: wrap;
}

/* Force dark mode background on editor toolbar */
body.dark-mode .editor-toolbar {
    background: #1a1a1a !important;
    border-bottom-color: #3a3a3a !important;
}

.custom-tool-group {
    display: flex;
    gap: 2px;
}

.toolbar-separator {
    width: 1px;
    height: 24px;
    background: var(--border-color);
    margin: 0 8px;
    align-self: center;
}

/* Editor Viewport */
.editor-viewport {
    flex: 1;
    position: relative;
    display: flex;
    background: #f5f5f5;
}

.editor-viewport canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Editor Sidebar */
.editor-sidebar {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: var(--bg-primary);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.editor-sidebar.active {
    transform: translateX(0);
}

.sidebar-panel {
    background: var(--bg-secondary);
    margin: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.sidebar-panel h3 {
    margin: 0;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 600;
}

.sidebar-panel .properties-content,
.sidebar-panel .layers-content,
.sidebar-panel .tools-content {
    padding: 16px;
}

/* Property Fields */
.property-group {
    margin-bottom: 12px;
}

.property-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.property-group input[type="text"],
.property-group input[type="number"],
.property-group input[type="color"],
.property-group select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 13px;
}

.property-group input[type="color"] {
    height: 32px;
    cursor: pointer;
}

.apply-properties {
    width: 100%;
    padding: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
}

.apply-properties:hover {
    background: var(--primary-hover);
}

/* Tool Settings */
.tool-setting {
    margin-bottom: 16px;
}

.tool-setting label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.tool-setting input[type="checkbox"] {
    margin-left: 8px;
}

/* Status Bar */
.editor-status-bar {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-secondary);
    gap: 16px;
}

.editor-status-bar span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-canvas {
    color: var(--primary-color);
    font-weight: 500;
}

.status-users {
    margin-left: auto;
}

/* Drawing Mode */
.editor-viewport[data-drawing-mode="wall"] canvas,
.editor-viewport[data-drawing-mode="shape"] canvas {
    cursor: crosshair !important;
}

/* Lighting Settings Modal */
.lighting-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lighting-settings-modal .modal-content {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 24px;
    width: 400px;
    max-width: 90%;
}

.lighting-settings-modal h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
}

.setting-group {
    margin-bottom: 20px;
}

.setting-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.setting-group input[type="range"] {
    width: 100%;
    margin-bottom: 4px;
}

.setting-group .value {
    font-size: 12px;
    color: var(--text-tertiary);
}

.apply-btn, .close-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    margin-right: 8px;
}

.apply-btn {
    background: var(--primary-color);
    color: white;
}

.close-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Structure/Vehicle Library */
.library-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 20px;
    width: 600px;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 2000;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.library-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.library-item:hover {
    background: var(--bg-hover);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.library-item i {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.library-item span {
    font-size: 12px;
    text-align: center;
}

/* Grouping Mode */
.editor-viewport[data-grouping-mode="true"] canvas {
    cursor: pointer !important;
}

/* Real-time Collaboration Indicators */
.remote-selection {
    position: absolute;
    border: 2px solid;
    border-radius: 4px;
    pointer-events: none;
    z-index: 50;
}

.remote-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 51;
}

.remote-cursor::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid currentColor;
    transform: rotate(-45deg);
    transform-origin: top left;
}

.remote-cursor-label {
    position: absolute;
    top: -20px;
    left: 10px;
    padding: 2px 6px;
    background: currentColor;
    color: white;
    font-size: 11px;
    border-radius: 3px;
    white-space: nowrap;
}

/* Zone Visualization */
.price-zone-overlay {
    position: absolute;
    pointer-events: none;
    opacity: 0.3;
    mix-blend-mode: multiply;
}

.price-zone-premium {
    background: #ff6b6b;
}

.price-zone-standard {
    background: #4ecdc4;
}

.price-zone-economy {
    background: #95e1d3;
}

/* Texture Panel */
.texture-panel {
    position: fixed;
    right: 300px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 1500;
}

.texture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.texture-item {
    aspect-ratio: 1;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s;
}

.texture-item:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.texture-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark Mode Overrides */
.dark-mode .editor-viewport {
    background: #1a1a1a;
}

.dark-mode .lighting-settings-modal .modal-content,
.dark-mode .library-modal,
.dark-mode .texture-panel {
    background: var(--dark-bg-primary);
    color: var(--dark-text-primary);
}

.dark-mode .apply-btn {
    background: var(--dark-primary-color);
}

.dark-mode .close-btn {
    background: var(--dark-bg-secondary);
    color: var(--dark-text-primary);
}

/* Dark Mode Toolbar Button Styles */
.dark-mode .editor-toolbar {
    background-color: #1a1a1a !important;
}

.dark-mode .editor-toolbar .btn.btn-outline-secondary {
    background-color: transparent !important;
    color: #6c757d !important;
    border-color: #6c757d !important;
}

.dark-mode .editor-toolbar .btn.btn-outline-secondary:hover {
    background-color: #6c757d !important;
    color: #fff !important;
    border-color: #6c757d !important;
}

.dark-mode .editor-toolbar .btn.btn-outline-secondary.active {
    background-color: #6c757d !important;
    color: #fff !important;
    border-color: #6c757d !important;
}

.dark-mode .custom-tool-group .btn.btn-outline-secondary {
    background-color: transparent !important;
    color: #6c757d !important;
    border-color: #6c757d !important;
}

.dark-mode .custom-tool-group .btn.btn-outline-secondary:hover {
    background-color: #6c757d !important;
    color: #fff !important;
    border-color: #6c757d !important;
}

.dark-mode .custom-tool-group .btn.btn-outline-secondary.active {
    background-color: #6c757d !important;
    color: #fff !important;
    border-color: #6c757d !important;
}

/* Dark Mode specific toolbar separator */
.dark-mode .toolbar-separator {
    background-color: #3a3a3a !important;
}

/* Override Bootstrap button styles in dark mode for 3D editor */
body.dark-mode .editor-toolbar .btn,
body.dark-mode .editor-toolbar .btn.btn-sm,
body.dark-mode .editor-toolbar .btn.btn-outline-secondary,
body.dark-mode .custom-tool-group .btn,
body.dark-mode .custom-tool-group .btn.btn-sm,
body.dark-mode .custom-tool-group .btn.btn-outline-secondary {
    background-color: transparent !important;
    color: #6c757d !important;
    border: 1px solid #6c757d !important;
    box-shadow: none !important;
}

body.dark-mode .editor-toolbar .btn:hover,
body.dark-mode .editor-toolbar .btn.btn-sm:hover,
body.dark-mode .editor-toolbar .btn.btn-outline-secondary:hover,
body.dark-mode .custom-tool-group .btn:hover,
body.dark-mode .custom-tool-group .btn.btn-sm:hover,
body.dark-mode .custom-tool-group .btn.btn-outline-secondary:hover {
    background-color: #6c757d !important;
    color: #ffffff !important;
    border-color: #6c757d !important;
}

body.dark-mode .editor-toolbar .btn.active,
body.dark-mode .editor-toolbar .btn.btn-sm.active,
body.dark-mode .editor-toolbar .btn.btn-outline-secondary.active,
body.dark-mode .custom-tool-group .btn.active,
body.dark-mode .custom-tool-group .btn.btn-sm.active,
body.dark-mode .custom-tool-group .btn.btn-outline-secondary.active {
    background-color: #6c757d !important;
    color: #ffffff !important;
    border-color: #6c757d !important;
}

/* Ensure btn-secondary in view controls also follows dark mode */
body.dark-mode .editor-toolbar .btn.btn-secondary {
    background-color: #495057 !important;
    border-color: #495057 !important;
    color: #ffffff !important;
}

body.dark-mode .editor-toolbar .btn.btn-secondary:hover {
    background-color: #5a6268 !important;
    border-color: #5a6268 !important;
}

/* Animation for drawing preview */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.8; }
    100% { opacity: 0.6; }
}

.drawing-preview {
    animation: pulse 1s infinite;
}

/* Shape Selector */
.shape-selector {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.shape-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape-btn:hover {
    background: var(--bg-hover);
    border-color: var(--primary-color);
}

.shape-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.shape-btn i {
    font-size: 16px;
}

/* Texture Categories */
.texture-categories {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.texture-cat {
    flex: 1;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.texture-cat:hover {
    background: var(--bg-hover);
}

.texture-cat.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Texture Upload */
.texture-upload {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.texture-upload label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.texture-upload input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    background: var(--bg-secondary);
    cursor: pointer;
}

/* Layer Controls */
.layer-item {
    padding: 8px 0;
    display: flex;
    align-items: center;
    font-size: 13px;
}

.layer-item input[type="checkbox"] {
    margin-right: 8px;
}

.layer-item:hover {
    background: var(--bg-hover);
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
}

/* Tool Active States */
.btn-outline-primary.active {
    background: var(--primary-color);
    color: white;
}

/* Loading States */
.editor-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.editor-loading-content {
    text-align: center;
    color: white;
}

.editor-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Notification Toast */
.editor-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    z-index: 2000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.editor-notification.success {
    border-color: #4CAF50;
}

.editor-notification.error {
    border-color: #f44336;
}

.editor-notification.warning {
    border-color: #FF9800;
}

.editor-notification.info {
    border-color: #2196F3;
}

.editor-notification i {
    font-size: 20px;
}

.editor-notification.success i { color: #4CAF50; }
.editor-notification.error i { color: #f44336; }
.editor-notification.warning i { color: #FF9800; }
.editor-notification.info i { color: #2196F3; }

/* Context Menu Enhancements */
.stand-context-menu {
    position: fixed;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 4px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    min-width: 180px;
}

.stand-context-menu-item {
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    transition: background 0.2s;
}

.stand-context-menu-item:hover {
    background: var(--bg-hover);
}

.stand-context-menu-item i {
    width: 16px;
    color: var(--text-secondary);
}

.stand-context-menu-separator {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

/* Enhanced Toolbar */
.editor-toolbar .btn-group {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.editor-toolbar .btn {
    border: none;
}

.editor-toolbar .btn:focus {
    box-shadow: none;
}

/* Canvas Control Buttons */
.custom-tool-group[data-group="canvas"] .btn {
    border: 1px solid var(--border-color);
}

.custom-tool-group[data-group="canvas"] .btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.custom-tool-group[data-group="canvas"] .btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Canvas Size Modal */
.canvas-size-modal .preset-btn:hover {
    background: var(--bg-hover);
    border-color: var(--primary-color);
}

.canvas-size-modal .apply-btn:hover {
    background: var(--primary-hover);
}

.canvas-size-modal .close-btn:hover {
    background: var(--bg-hover);
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

/* Measurement Display */
.measurement-display {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-family: monospace;
    pointer-events: none;
    z-index: 100;
}

/* Stand Number Badge */
.stand-number-badge {
    position: absolute;
    background: white;
    border: 2px solid #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Stand Creation Dimension Display */
.stand-dimension-display {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    color: #00ff00;
    padding: 10px 16px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: bold;
    pointer-events: none;
    z-index: 1000;
    border: 2px solid #00ff00;
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.3);
    text-align: center;
    min-width: 100px;
}

/* Stand creation preview */
.editor-viewport[data-creating-stand="true"] canvas {
    cursor: crosshair !important;
}

/* Floor paint tool active styles */
.editor-toolbar .btn[data-tool="floor-paint"].active,
.editor-toolbar .btn[data-tool="floor-eraser"].active {
    background-color: #4a90e2 !important;
    color: white !important;
    border-color: #4a90e2 !important;
}

/* Dark mode floor paint button active state */
body.dark-mode .editor-toolbar .btn[data-tool="floor-paint"].active,
body.dark-mode .editor-toolbar .btn[data-tool="floor-eraser"].active {
    background-color: #4a90e2 !important;
    color: white !important;
    border-color: #4a90e2 !important;
}