.voxfor-menu-builder {
    margin: 0 0 0 -20px;
    background: #f1f1f1;
    min-height: 100vh;
}

.voxfor-builder-header {
    background: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.builder-title h1 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.editing-info {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
}

.builder-actions {
    display: flex;
    gap: 10px;
}

.voxfor-builder-content {
    display: flex;
    height: calc(100vh - 100px);
}

.builder-sidebar {
    width: 280px;
    background: #fff;
    border-right: 1px solid #ddd;
    overflow-y: auto;
}

.sidebar-section {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.sidebar-section h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

.element-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.element-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e3e4e6;
    border-radius: 6px;
    cursor: grab;
    transition: all 0.2s;
}

.element-item:hover {
    background: #e3f2fd;
    border-color: #2196f3;
    transform: translateY(-1px);
}

.element-item .dashicons {
    margin-right: 8px;
    color: #666;
}

.builder-canvas {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.canvas-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#menu-title {
    font-size: 18px;
    font-weight: 600;
    border: none;
    background: transparent;
    padding: 8px;
    border-radius: 4px;
    width: 300px;
}

#menu-title:focus {
    background: #f8f9fa;
    outline: 2px solid #2196f3;
}

.canvas-tools {
    display: flex;
    gap: 5px;
}

.tool-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.tool-btn:hover, .tool-btn.active {
    background: #2196f3;
    color: #fff;
    border-color: #2196f3;
}

.menu-canvas {
    flex: 1;
    padding: 20px;
    overflow: auto;
}

.canvas-drop-zone {
    min-height: 400px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
}

.canvas-drop-zone.drag-over {
    border-color: #2196f3;
    background: #f0f8ff;
}

.drop-zone-placeholder {
    text-align: center;
    color: #999;
}

.drop-zone-placeholder .dashicons {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.drop-zone-placeholder p {
    margin: 10px 0;
    font-size: 16px;
}

.helper-text {
    font-size: 14px !important;
    color: #666 !important;
}

.builder-properties {
    width: 320px;
    background: #fff;
    border-left: 1px solid #ddd;
    overflow-y: auto;
}

.properties-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.properties-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.properties-content {
    padding: 20px;
}

.no-selection {
    text-align: center;
    color: #999;
    padding: 40px 20px;
}

.no-selection .dashicons {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.property-group {
    margin-bottom: 20px;
}

.property-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.property-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.property-desc {
    font-size: 12px;
    color: #666;
    margin: 5px 0 0 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.usage-panel {
    position: fixed;
    top: 32px;
    right: -400px;
    width: 400px;
    height: calc(100vh - 32px);
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s;
    z-index: 1000;
    overflow-y: auto;
}

.usage-panel.open {
    right: 0;
}

.panel-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.close-panel {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.panel-content {
    padding: 20px;
}

.usage-section {
    margin-bottom: 30px;
}

.usage-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

.usage-method {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #2196f3;
}

.usage-method strong {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.copy-code {
    display: block;
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
    margin: 8px 0;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-code:hover {
    background: #e3f2fd;
    border-color: #2196f3;
}

.usage-desc {
    font-size: 13px;
    color: #666;
    margin: 5px 0 0 0;
}

.step-list, .tip-list {
    padding-left: 20px;
}

.step-list li, .tip-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-btn {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.action-btn:hover {
    background: #f0f0f0;
    border-color: #999;
}

.action-btn .dashicons {
    margin-right: 8px;
}

/* Menu Elements in Canvas */
.menu-element {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s;
}

.menu-element:hover {
    border-color: #2196f3;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.menu-element.selected {
    border-color: #2196f3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

.element-content {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
}

.element-icon {
    margin-right: 10px;
    color: #666;
}

.element-text {
    flex: 1;
    font-weight: 500;
}

.element-actions {
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.2s;
}

.menu-element:hover .element-actions {
    opacity: 1;
}

.element-actions button {
    padding: 4px 6px;
    border: none;
    background: #f0f0f0;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.element-actions button:hover {
    background: #2196f3;
    color: #fff;
} 