.builder-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 10px;
    min-height: 800px;
}
#questions-canvas {
    flex: 3;
    background: #18181b;
    border: 3px dashed #3f3f46;
    border-radius: 20px;
    padding: 30px;
    min-height: 800px;
    overflow-y: auto;
}
.question-block {
    background: linear-gradient(145deg, #1f1f23, #27272a);
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid #3a3a3f;
}
.question-block:hover {
    border-color: #52525b;
    background: #202024;
}
.question-block.drag-over {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 5px rgba(13, 110, 253, 0.4);
}
.question-header {
    padding: 18px 24px;
    background: #252529;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.drag-handle { cursor: grab; font-size: 1.6rem; color: #777; }
.question-number {
    background: #0d6efd;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.answers-container {
    padding: 25px;
    background: #1a1a1e;
    min-height: 180px;
    position: relative;
    border: 2px dashed transparent;
    transition: all 0.2s;
}
.answers-container.drag-over {
    border-color: #0d6efd;
    background: rgba(13, 110, 253, 0.1);
}
.drop-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0d6efd;
    font-size: 1.3rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    text-align: center;
    width: 100%;
}
.answers-container.drag-over .drop-hint { opacity: 1; }
.answer-block {
    background: #252529;
    border: 2px dashed #555;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    position: relative;
    transition: background 0.2s;
}
.answer-block:hover {
    background: #2f2f35;
}
.control-group {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 4px;
    background: transparent;
    padding: 6px;
    border-radius: 10px;
    transition: background 0.2s;
    z-index: 10;
}
.control-group:hover {
    background: #3a3a3f;
}
.trash-btn, .move-btn {
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s;
    padding: 6px;
    border-radius: 8px;
}
.trash-btn:hover { color: #ff4d4d; }
.move-btn:hover { color: #0d6efd; }
.options-list .option-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.range-inputs {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}
.file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e1e22;
    border-radius: 8px;
    padding: 12px;
}
.file-preview img {
    width: 48px;
    height: 48px;
    filter: invert(1);
}
#canvas-stack {
    width: calc(100vw - 400px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#add-question-btn {
    width: 100%;
    height: 70px;
    font-size: 1.8rem;
    border: 3px dashed #0d6efd;
    margin: 10px;
    color: #0d6efd;
    background: transparent;
    border-radius: 16px;
    transition: all 0.3s;
}
#add-question-btn:hover {
    background: rgba(13, 110, 253, 0.1);
    transform: scale(1.02);
}
.palette-sidebar {
    width: 310px;
    background: #1f1f23;
    border-radius: 16px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 90px;
}
.palette-item {
    padding: 16px 20px;
    background: #27272a;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: grab;
    border: 1px solid #3a3a3f;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e0e0e0;
}
.palette-item:hover {
    background: #0d6efd;
    color: white;
    transform: translateX(8px);
}
.plus-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2.2rem;
    line-height: 0;
}
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.3);
}
#submitBtn {
    wdith: 100%;
    padding: auto 20px;
    align-items: center;
    gap: 12px;
    margin-right: 0px;
    margin-top: 0px;
    margin-left: auto;
    border-radius: 12px;
    margin-bottom: 30px;
}