#selfbooth-editor-wrapper {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}

.editor-toolbar {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.editor-main-area {
    display: flex;
    gap: 20px;
}

.editor-canvas-container {
    flex: 1;
    background: #f0f0f1;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    border: 1px solid #ddd;
    overflow: auto;
}

canvas {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.editor-slots-panel {
    width: 300px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
}

.editor-slots-panel h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
}

.slot-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.slot-item:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.slot-item-selected {
    background: #e3f2fd;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.slot-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.slot-item-title {
    font-weight: 600;
    font-size: 13px;
}

.slot-item-delete {
    color: #b32d2e;
    cursor: pointer;
    text-decoration: none;
}

.slot-item-delete:hover {
    color: #dc3232;
}

.slot-item-inputs {
    display: grid;
    gap: 8px;
}

.slot-input-group {
    display: flex;
    flex-direction: column;
}

.slot-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 6px;
}

.slot-input-group label {
    font-size: 11px;
    color: #666;
    margin-bottom: 2px;
}

.slot-input-group input,
.slot-input-group select {
    width: 100%;
    padding: 4px 6px;
    font-size: 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.slot-input-group select {
    background: #fff;
    cursor: pointer;
}

.slot-mode-select {
    font-weight: 500;
}

/* Rotation Input Styling */
.slot-rotation-group {
    margin-top: 4px;
}

.slot-rotation-group label {
    display: block;
    margin-bottom: 4px;
}

.rotation-input-wrapper {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 8px;
    align-items: center;
}

.slot-rotation-input {
    width: 100% !important;
    text-align: center;
    font-weight: 600;
    padding: 5px 4px !important;
}

.slot-rotation-slider {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.slot-rotation-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
}

.slot-rotation-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}