:root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #e83e8c;
            --shape-color: #6f42c1;
            --draw-color: #20c997;
            --image-color: #fd7e14;
        }
       .page-header {
            background: linear-gradient(135deg, rgba(169, 214, 229, 0.4) 0%, rgba(44, 125, 160, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(44, 125, 160, 0.2);
            position: relative;
            overflow: hidden;   color: var(--text-color);
        }
        .breadcrumb {
            background-color: transparent;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }
        .breadcrumb-item a {
            color: var(--text-muted);
            text-decoration: none;
        }
        .breadcrumb-item.active {
            color: var(--text-color);
        }
        .editor-container {
            display: flex;
            flex-direction: column;
            height: 80vh;
            min-height: 600px;
        }
        .editor-main {
            display: flex;
            flex: 1;
            overflow: hidden;
            gap: 1rem;
        }
        .toolbar-left {
            width: 60px;
            background-color: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            padding: 1rem 0.5rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .toolbar-btn {
            width: 44px;
            height: 44px;
            border-radius: 6px;
            border: 1px solid transparent;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 0.75rem;
            cursor: pointer;
            color: var(--text-muted);
            transition: all 0.2s;
        }
        .toolbar-btn:hover {
            background-color: var(--light-gray);
            color: var(--primary-color);
        }
        .toolbar-btn.active {
            background-color: rgba(44, 125, 160, 0.1);
            color: var(--primary-color);
            border-color: var(--primary-color);
        }
        .toolbar-btn i {
            font-size: 1.25rem;
        }
        .canvas-container {
            flex: 1;
            background-color: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .canvas-header {
            padding: 1rem;
            border-bottom: 1px solid var(--border-color);
            background-color: var(--light-gray);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .canvas-wrapper {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: auto;
            padding: 1rem;
        }
        #svgCanvas {
            background-color: white;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            max-width: 100%;
            max-height: 100%;
        }
        .toolbar-right {
            width: 300px;
            background-color: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            padding: 1rem;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .property-section {
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border-color);
        }
        .property-title {
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--primary-color);
        }
        .property-group {
            margin-bottom: 1rem;
        }
        .property-label {
            display: block;
            font-weight: 500;
            margin-bottom: 0.25rem;
            color: var(--text-color);
        }
        .color-input {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .color-preview {
            width: 24px;
            height: 24px;
            border-radius: 4px;
            border: 1px solid var(--border-color);
        }
        .color-input input {
            flex: 1;
        }
        .layers-panel {
            padding: 1rem;
            background-color: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            margin-top: 1rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .layer-item {
            display: flex;
            align-items: center;
            padding: 0.5rem;
            border-radius: 4px;
            cursor: pointer;
            margin-bottom: 0.25rem;
        }
        .layer-item:hover {
            background-color: var(--light-gray);
        }
        .layer-item.active {
            background-color: rgba(44, 125, 160, 0.1);
            border-left: 3px solid var(--primary-color);
        }
        .layer-icon {
            width: 20px;
            margin-right: 0.5rem;
            color: var(--text-muted);
        }
        .code-container {
            background-color: #f5f5f5;
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 1rem;
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            max-height: 300px;
            overflow-y: auto;
            margin-top: 1rem;
        }
        .preview-box {
            padding: 1rem;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #eee;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 150px;
            margin-top: 1rem;
        }
        .action-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        .action-btn-primary {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        .action-btn-primary:hover {
            background-color: var(--accent-color);
            color: white;
        }
        .shape-examples {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin: 1rem 0;
        }
        .shape-example {
            width: 80px;
            height: 80px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            background-color: white;
        }
        .shape-example:hover {
            border-color: var(--primary-color);
            box-shadow: 0 2px 8px rgba(44, 125, 160, 0.2);
        }
        .shape-example svg {
            width: 50px;
            height: 50px;
        }
        .image-import-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1060;
        }
        .image-import-content {
            background-color: white;
            border-radius: 8px;
            padding: 2rem;
            width: 90%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        .image-import-title {
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: var(--primary-color);
        }
        .image-drop-area {
            border: 2px dashed var(--border-color);
            border-radius: 8px;
            padding: 3rem 2rem;
            text-align: center;
            margin-bottom: 1.5rem;
            transition: all 0.3s;
            cursor: pointer;
        }
        .image-drop-area:hover, .image-drop-area.dragover {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.05);
        }
        .image-drop-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        .image-preview-container {
            margin-top: 1.5rem;
            text-align: center;
        }
        .image-preview {
            max-width: 100%;
            max-height: 200px;
            border-radius: 4px;
            border: 1px solid var(--border-color);
            margin-bottom: 1rem;
        }
        .image-controls {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        .image-properties {
            background-color: rgba(253, 126, 20, 0.05);
            border-left: 3px solid var(--image-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1rem 0;
        }
        @media (max-width: 992px) {
            .editor-main {
                flex-direction: column;
            }
            .toolbar-left {
                width: 100%;
                flex-direction: row;
                justify-content: center;
                padding: 0.5rem;
            }
            .toolbar-btn {
                margin: 0 0.25rem;
            }
            .toolbar-right {
                width: 100%;
            }
        }
        .color-swatches {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }
        .color-swatch {
            width: 24px;
            height: 24px;
            border-radius: 4px;
            cursor: pointer;
            border: 1px solid rgba(0,0,0,0.1);
        }
        .history-panel {
            margin-top: 1rem;
            padding: 1rem;
            background-color: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }
        .image-icon {
            color: var(--image-color);
        }