:root{

    --designer-bg:#f4f7fb;

    --designer-panel:#ffffff;

    --designer-border:#dde5ee;

    --designer-primary:#0d6efd;

    --designer-radius:14px;

    --designer-shadow:
        0 10px 35px rgba(0,0,0,.05);

}

body{

    background:var(--designer-bg);

}

.form-designer-page{

    min-height:100vh;

}

.designer-column-sticky{

    position:sticky;

    top:18px;

}

.designer-panel{

    background:var(--designer-panel);

    border:1px solid var(--designer-border);

    border-radius:var(--designer-radius);

    box-shadow:var(--designer-shadow);

    overflow:hidden;

}

.designer-panel-header{

    padding:18px;

    border-bottom:1px solid #ececec;

}

.designer-panel-title{

    margin:0;

    font-weight:700;

}

.designer-panel-subtitle{

    font-size:13px;

    color:#6c757d;

    margin-top:3px;

}
.designer-topbar{

    background:#fff;

    border-radius:14px;

    padding:18px 24px;

    margin-bottom:25px;

    box-shadow:var(--designer-shadow);

}

.designer-title{

    margin:0;

    font-size:22px;

    font-weight:700;

}

.designer-subtitle{

    color:#6c757d;

    font-size:14px;

}

.designer-code{

    background:#eef5ff;

    color:#0d6efd;

    padding:3px 10px;

    border-radius:20px;

    font-size:12px;

    font-weight:700;

}

.designer-status{

    padding:4px 12px;

    border-radius:20px;

    font-size:12px;

    font-weight:700;

}

.designer-status-draft{

    background:#fff8e5;

    color:#9b7700;

}

.designer-status-published{

    background:#e8fff1;

    color:#0a7f42;

}
.toolbox-item{

    display:flex;

    align-items:center;

    gap:12px;

    width:100%;

    margin-bottom:10px;

    border:1px solid #ececec;

    background:#fff;

    border-radius:10px;

    padding:12px;

    transition:.2s;

}

.toolbox-item:hover{

    border-color:#0d6efd;

    transform:translateY(-2px);

}
.designer-canvas{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.designer-section{

    background:#fff;

    border-radius:14px;

    border:1px solid #dde5ee;

    overflow:hidden;

    box-shadow:var(--designer-shadow);

}

.designer-section-header{

    padding:18px;

    background:#f8fafc;

    border-bottom:1px solid #ececec;

    display:flex;

    justify-content:space-between;

    align-items:center;

    cursor:grab;

}
.designer-fields{

    padding:18px;

}

.sortable-field{

    margin-bottom:16px;

}

.designer-field-card{

    background:#fff;

    border:1px solid #dde5ee;

    border-radius:12px;

    transition:.2s;

}

.designer-field-card:hover{

    border-color:#0d6efd;

}
.field-card-toolbar{

    padding:14px;

    background:#f8fafc;

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-bottom:1px solid #ececec;

    cursor:grab;

}

.field-preview{

    padding:18px;

}

.field-help{

    margin-top:10px;

    font-size:13px;

    color:#6c757d;

}
.empty-canvas{

    background:#fff;

    border:2px dashed #d5dde8;

    border-radius:14px;

    padding:60px;

    text-align:center;

}

.empty-section{

    border:2px dashed #d5dde8;

    border-radius:10px;

    padding:40px;

    text-align:center;

    color:#9aa4af;

}
.sortable-ghost{

    opacity:.35;

}

.sortable-chosen{

    transform:rotate(.5deg);

}

.sortable-drag{

    opacity:.8;

}

@media(max-width:992px){

.designer-column-sticky{

position:static;

}

}