body {
    font-family: 'Segoe UI', sans-serif;
    background: #f5f7fa;
    padding: 40px;
}

.editor-container {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: auto;
}

h2 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-editor {
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #fff;
    cursor: grab;
}

.section-title-input {
    font-size: 1.1em;
    font-weight: 600;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    background: #f9f9f9;
    margin-bottom: 15px;
}

.submenu-editor {
    margin-left: 20px;
    margin-top: 15px;
    padding: 10px;
    border-left: 2px solid #ddd;
    cursor: grab;
}

.question-input {
    font-size: 0.95em;
    font-weight: 500;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    background: #f1f3f5;
    margin-bottom: 10px;
}

.option-group {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

.option-group input {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em;
    background: #fafafa;
}

.btn {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
}

.btn-danger {
    background: #f44336;
    color: white;
}

.btn-danger:hover {
    background: #e53935;
}

.btn-submenu {
    background: #2196F3;
    color: white;
}

.btn-submenu:hover {
    background: #1976D2;
}

.btn-save {
    background: #FF9800;
    color: white;
}

.btn-save:hover {
    background: #F57C00;
}

.controls-section {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: flex-end;
}

.controls-submenu {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}

.notification.show {
    opacity: 1;
}