.workspace-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 32px;
    align-items: start;
}
.designer-toolbar {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    background: #f7fafc;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #edf2f7;
}
.designer-toolbar .btn {
    padding: 6px 10px;
    font-size: 0.8rem;
}
.tab-ribbon-bar {
    display: flex;
    border-bottom: 2px solid #edf2f7;
    margin-bottom: 20px;
    gap: 4px;
}
.tab-btn {
    padding: 8px 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #718096;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
}
.tab-btn:hover, .tab-btn.active {
    color: #3182ce;
    border-bottom-color: #3182ce;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}
.grid-4 .form-group {
    margin-bottom: 0;
}
.canvas-window {
    background: #cbd5e0;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}
.bartender-blueprint-stage {
    width: 100%;
    max-width: 600px;
    height: 460px;
    background: linear-gradient(180deg, #5a7fa8 0%, #172447 100%);
    border-radius: 6px;
    position: relative;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.4);
}
.page-dim-label, .template-dim-label {
    color: #ffffff;
    font-size: 0.8rem;
    font-family: Arial, sans-serif;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}
.virtual-sheet-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}
#virtualPage {
    background: #ffffff;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.6);
    border: 1px solid #000000;
    position: relative;
    display: grid;
    box-sizing: content-box;
}
.blueprint-label-card {
    border: 1px dashed #cbd5e0;
    background: #ffffff;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
}
.studio-element {
    position: absolute;
    box-sizing: border-box;
    cursor: move;
    user-select: none;
    white-space: nowrap;
}
.studio-element:hover {
    outline: 1px dashed #4299e1;
}
.studio-element.selected {
    outline: 2px solid #3182ce !important;
    z-index: 999;
}
.element-rectangle-box {
    border: 1px solid #000000;
    background: transparent;
}
.resize-handle {
    width: 10px;
    height: 10px;
    background: #3182ce;
    border: 2px solid #fff;
    position: absolute;
    right: -5px;
    bottom: -5px;
    cursor: nwse-resize;
    border-radius: 50%;
    z-index: 10;
    display: none;
}
.studio-element.selected .resize-handle {
    display: block;
}
.barcode-svg-container {
    width: 100%;
    height: 100%;
}
.barcode-svg-container svg {
    width: 100%;
    height: 100%;
    display: block;
}
.shape-round-rectangle {
    border-radius: 12px !important;
}