/* AHU Component Assembly - Drag-Drop Styles */

/* Zone container */
.zone-box {
    min-height: 600px;
    display: flex;
    height: 100%;
}

.zone-box ul {
    padding: 10px;
    margin: 0;
    flex: 1;
    list-style: none;
}

.zone-box ul li {
    list-style: none;
}

.zone-box ul li img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    margin: 0;
    display: block;
}

/* Drag-drop columns */
.drag-drop {
    width: 49%;
    min-height: 615px;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

/* Sortable list */
.ahu-sortable-list {
    padding: 10px;
    margin: 0;
    flex: 1;
    list-style: none;
    min-height: 200px;
}

/* Sortable items */
.sortable-item {
    cursor: grab;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: background-color 0.15s ease;
}

.sortable-item:active {
    cursor: grabbing;
}

.sortable-item img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    margin: 0;
    display: block;
    pointer-events: none;
}

/* SortableJS states */
.sortable-ghost {
    opacity: 0.4;
    background-color: #e2e8f0;
    border: 2px dashed #94a3b8;
    border-radius: 4px;
}

.sortable-chosen {
    background-color: #f1f5f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.sortable-drag {
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Component drop zone indicator */
.component-drop {
    float: right;
}