* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light theme (default) */
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f8f9fa;
    --bg-sidebar: #ffffff;
    --bg-topbar: #2c3e50;
    --bg-canvas-container: #ecf0f1;
    --bg-canvas-grid: #1a4d3e;
    --text-primary: #2c3e50;
    --text-secondary: #34495e;
    --text-inverse: #ffffff;
    --border-color: #e0e0e0;
    --border-hover: #3498db;
    --accent-blue: #3498db;
    --accent-green: #27ae60;
    --accent-orange: #e67e22;
    --accent-red: #e74c3c;
    --accent-purple: #9b59b6;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-primary);
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}
.theme-selector {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-inverse);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.theme-selector:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.theme-selector:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.top-bar {
    background-color: var(--bg-topbar);
    color: var(--text-inverse);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.top-bar h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 500;
}

.input-group input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100px;
    font-size: 1rem;
}

.input-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

#generateBtn {
    padding: 0.5rem 1.5rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

#generateBtn:hover {
    background-color: #2980b9;
}

#generateBtn:active {
    transform: scale(0.98);
}

.export-btn, .import-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.export-btn {
    background-color: white;
    color: #2c3e50;
    border: 1px solid #ddd;
}

.export-btn:hover {
    background-color: #f5f5f5;
}

.import-btn {
    background-color: #27ae60;
    color: white;
}

.import-btn:hover {
    background-color: #229954;
}

.export-btn:active, .import-btn:active {
    transform: scale(0.98);
}

.main-container {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.left-sidebar {
    width: 250px;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem;
    overflow-y: auto;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.left-sidebar h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.stats-title {
    margin-top: 2rem;
}

.canvas-size-inputs {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: var(--bg-tertiary);
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.canvas-size-inputs .input-group {
    margin-bottom: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.canvas-size-inputs .input-group:last-child {
    margin-bottom: 0;
}

.canvas-size-inputs label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.canvas-size-inputs input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.canvas-size-inputs input:focus {
    outline: none;
    border-color: var(--border-hover);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.new-canvas-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 1rem;
}

.new-canvas-btn:hover {
    background-color: #2980b9;
}

.canvas-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.canvas-item {
    padding: 0.75rem;
    background-color: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}

.canvas-item:hover {
    background-color: var(--bg-secondary);
    border-color: var(--border-hover);
}

.canvas-item.active {
    background-color: var(--accent-blue);
    color: var(--text-inverse);
    border-color: var(--accent-blue);
}

.canvas-item-content {
    flex: 1;
}

.canvas-item-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.canvas-item-name-input {
    margin-bottom: 0.25rem;
    outline: none;
    background-color: white;
    color: #2c3e50;
}

.canvas-item.active .canvas-item-name-input {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.canvas-item-size {
    font-size: 0.8rem;
    opacity: 0.8;
}

.canvas-item-delete {
    width: 24px;
    height: 24px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.canvas-item-delete:hover {
    background-color: #c0392b;
    transform: scale(1.1);
}

.canvas-item.active .canvas-item-delete {
    background-color: rgba(255, 255, 255, 0.3);
}

.canvas-item.active .canvas-item-delete:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.size-stats {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.size-stat-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.export-sizes-btn {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.75rem;
    background-color: var(--accent-green);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.export-sizes-btn:hover {
    background-color: #229954;
}

.export-sizes-btn:active {
    transform: scale(0.98);
}

.size-stat-item:last-child {
    border-bottom: none;
}

.no-stats {
    color: #7f8c8d;
    font-style: italic;
    padding: 0.5rem 0;
}

.canvas-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-canvas-grid);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 2rem;
    overflow: auto;
    position: relative;
    transition: background-color 0.3s ease;
}

.zoom-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: none;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-secondary);
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: background-color 0.3s ease;
}

.zoom-controls.active {
    display: flex;
}

.zoom-btn {
    width: 32px;
    height: 32px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.zoom-btn:hover {
    background-color: #2980b9;
}

.zoom-btn:active {
    transform: scale(0.95);
}

.zoom-level {
    min-width: 50px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0 0.5rem;
}

#workspace {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: crosshair;
    display: none;
}

#workspace.active {
    display: block;
}

.canvas-placeholder {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.2rem;
}

.canvas-placeholder.hidden {
    display: none;
}

.sidebar {
    width: 280px;
    background-color: var(--bg-sidebar);
    border-left: 1px solid var(--border-color);
    padding: 1.5rem;
    overflow-y: auto;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.sidebar h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.sidebar h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #34495e;
    font-weight: 600;
}

.custom-block-form {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-block-form form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.swap-dimensions-btn {
    align-self: flex-end;
    margin-bottom: 0.25rem;
    width: 32px;
    height: 32px;
    background-color: transparent;
    color: #34495e;
    border: none;
    border-radius: 4px;
    font-size: 1.5rem;
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    padding: 0;
}

.swap-dimensions-btn:hover {
    color: #3498db;
    transform: scale(1.1);
}

.swap-dimensions-btn:active {
    transform: scale(0.95);
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.form-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
    box-sizing: border-box;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--border-hover);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.color-picker-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-preview {
    width: 32px;
    height: 32px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.color-preview:hover {
    border-color: #3498db;
}

.color-hex {
    font-size: 0.85rem;
    color: #34495e;
    font-weight: 500;
    font-family: monospace;
    margin-left: 0.5rem;
}

.color-picker-btn {
    flex: 1;
    padding: 0.5rem;
    background-color: #ecf0f1;
    color: #34495e;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.color-picker-btn:hover {
    background-color: #d5dbdb;
    border-color: #3498db;
}

.color-picker-btn:active {
    transform: scale(0.98);
}

.add-custom-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.add-custom-btn:hover {
    background-color: #229954;
}

.add-custom-btn:active {
    transform: scale(0.98);
}

.block-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.sidebar-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem;
    border: 2px solid var(--bg-secondary);
    border-radius: 8px;
    cursor: grab;
    transition: all 0.2s;
    background-color: var(--bg-secondary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sidebar-block:hover {
    border-color: #3498db;
    background-color: #f0f8ff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-block:active {
    cursor: grabbing;
}

.block-preview {
    border: 2px solid #2c3e50;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Block previews scaled proportionally to fit sidebar */
.block-preview.block-1 {
    width: 32px;
    height: 48px;
    background-color: #e74c3c;
}

.block-preview.block-2 {
    width: 34px;
    height: 48px;
    background-color: #3498db;
}

.block-preview.block-3 {
    width: 36px;
    height: 48px;
    background-color: #2ecc71;
}

.block-preview.block-4 {
    width: 38px;
    height: 48px;
    background-color: #f39c12;
}

.block-preview.block-5 {
    width: 32px;
    height: 48px;
    background-color: #9b59b6;
}

.block-preview.block-6 {
    width: 28px;
    height: 48px;
    background-color: #1abc9c;
}

/* Rotated block previews */
.block-preview.block-1-rotated {
    width: 48px;
    height: 32px;
    background-color: #e74c3c;
}

.block-preview.block-2-rotated {
    width: 48px;
    height: 34px;
    background-color: #3498db;
}

.block-preview.block-3-rotated {
    width: 48px;
    height: 36px;
    background-color: #2ecc71;
}

.block-preview.block-4-rotated {
    width: 48px;
    height: 38px;
    background-color: #f39c12;
}

.block-preview.block-5-rotated {
    width: 48px;
    height: 32px;
    background-color: #9b59b6;
}

.block-preview.block-6-rotated {
    width: 48px;
    height: 28px;
    background-color: #1abc9c;
}

.block-preview.custom-preview {
    border: 2px solid #2c3e50;
    border-radius: 4px;
    background-color: #95a5a6;
}

.block-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.delete-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background-color: #e74c3c;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.delete-btn:hover {
    background-color: #c0392b;
    transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .controls {
        width: 100%;
    }

    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid #ddd;
        max-height: 200px;
    }

    .block-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .sidebar-block {
        min-width: 0;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #2c3e50;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: #ecf0f1;
    color: #2c3e50;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #34495e;
}

.modal-body input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.modal-body input[type="text"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.modal-hint {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

#fileNamePreview {
    font-weight: 500;
    color: #2c3e50;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.modal-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cancel-btn {
    background-color: #ecf0f1;
    color: #34495e;
}

.cancel-btn:hover {
    background-color: #d5dbdb;
}

.confirm-btn {
    background-color: #27ae60;
    color: white;
}

.confirm-btn:hover {
    background-color: #229954;
}

/* Theme: Medium */
body.theme-medium {
    --bg-primary: #e8eef2;
    --bg-secondary: #f0f4f7;
    --bg-tertiary: #e0e8ed;
    --bg-sidebar: #f5f8fa;
    --bg-topbar: #3d5568;
    --bg-canvas-container: #d0dde6;
    --bg-canvas-grid: #4a6b7d;
    --text-primary: #2c3e50;
    --text-secondary: #4a5568;
    --text-inverse: #ffffff;
    --border-color: #cbd5e0;
    --border-hover: #4a90e2;
    --accent-blue: #4a90e2;
    --accent-green: #2d8659;
    --accent-orange: #d97706;
    --accent-red: #dc2626;
    --accent-purple: #7c3aed;
}

/* Theme: Dark */
body.theme-dark {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-sidebar: #1e293b;
    --bg-topbar: #0f172a;
    --bg-canvas-container: #1e293b;
    --bg-canvas-grid: #1e293b;
    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e1;
    --text-inverse: #ffffff;
    --border-color: #334155;
    --border-hover: #2c5355;
    --accent-blue: #2c5355;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    --accent-purple: #8b5cf6;
}

/* Update elements to use theme variables */
body.theme-medium .left-sidebar,
body.theme-dark .left-sidebar {
    background-color: var(--bg-sidebar);
    border-right-color: var(--border-color);
}

body.theme-medium .sidebar,
body.theme-dark .sidebar {
    background-color: var(--bg-sidebar);
    border-left-color: var(--border-color);
}

body.theme-medium .canvas-size-inputs,
body.theme-dark .canvas-size-inputs {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
}

body.theme-medium .custom-block-form,
body.theme-dark .custom-block-form {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
}

body.theme-medium .canvas-item,
body.theme-dark .canvas-item {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

body.theme-medium .canvas-item:hover,
body.theme-dark .canvas-item:hover {
    background-color: var(--bg-secondary);
    border-color: var(--border-hover);
}

body.theme-medium .canvas-item.active,
body.theme-dark .canvas-item.active {
    background-color: var(--accent-blue);
    color: var(--text-inverse);
    border-color: var(--accent-blue);
}

body.theme-medium .left-sidebar h2,
body.theme-dark .left-sidebar h2 {
    color: var(--text-primary);
}

body.theme-medium .sidebar h2,
body.theme-dark .sidebar h2 {
    color: var(--text-primary);
}

body.theme-medium .form-group label,
body.theme-dark .form-group label {
    color: var(--text-secondary);
}

body.theme-medium .size-stat-item,
body.theme-dark .size-stat-item {
    color: var(--text-secondary);
    border-bottom-color: var(--border-color);
}

body.theme-medium .zoom-controls,
body.theme-dark .zoom-controls {
    background-color: var(--bg-secondary);
}

body.theme-medium .zoom-level,
body.theme-dark .zoom-level {
    color: var(--text-primary);
}

body.theme-medium input,
body.theme-dark input {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

body.theme-medium input:focus,
body.theme-dark input:focus {
    border-color: var(--border-hover);
}

body.theme-medium .sidebar-block,
body.theme-dark .sidebar-block {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
}

body.theme-medium .color-hex,
body.theme-dark .color-hex {
    color: var(--text-secondary);
}

