.gutter {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50%;
    cursor: col-resize;
}

.gutter.gutter-horizontal {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
    width: 10px !important;
}

.split {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: calc(100vh - 80px);
}

.split-panel {
    overflow: auto;
    padding: 1rem;
}

#left-panel {
    min-width: 200px;
}

#right-panel {
    min-width: 200px;
}

#canvas {
    max-width: 100%;
    height: auto;
}

.tab-content {
    display: none;
    height: calc(100vh - 180px);
    overflow-y: auto;
}

.tab-content.active {
    display: block;
}

.table-container {
    overflow-x: auto;
    margin-top: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
}

.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1000;
    pointer-events: none;
    max-width: 300px;
    word-wrap: break-word;
}

/* Template Panel Styles */
.template-content {
    display: none;
}

.template-content.active {
    display: block;
}

.template-item {
    transition: all 0.2s ease-in-out;
}

.template-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.template-tab-button {
    position: relative;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.template-tab-button:hover {
    color: #2563eb;
}

.template-tab-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.2s ease-in-out;
}

.template-tab-button:hover::after {
    background-color: #2563eb;
}
