/* === Drag and Drop styles === */

/* Draggable seats */
.seat[draggable="true"] {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.seat[draggable="true"]:active {
    cursor: grabbing;
}

/* Drag state */
.seat.dragging {
    opacity: 0.3;
    border: 2px dashed #253848 !important;
}

.seat.drag-over {
    background: #e3f2fd !important;
    border: 2px solid #2196f3 !important;
    box-shadow: inset 0 0 8px rgba(33, 150, 243, 0.3);
}

/* Touch drag clone */
.drag-clone {
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.9;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    border-radius: 6px;
    background: #fff;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #253848;
    border: 2px solid #253848;
    white-space: nowrap;
}

/* Save indicator */
.save-indicator {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #4caf50;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 200;
    pointer-events: none;
}

.save-indicator.visible {
    opacity: 1;
}

/* Unassigned guests in editor — draggable */
.unassigned-guest {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fff3e0;
    border: 1px solid #ff9800;
    border-radius: 6px;
    cursor: grab;
    font-size: 0.85rem;
    font-weight: 600;
    user-select: none;
    -webkit-user-select: none;
}

.unassigned-guest:active {
    cursor: grabbing;
}

.unassigned-guest.dragging {
    opacity: 0.3;
}

.unassigned-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 24px;
}

.unassigned-section {
    margin: 0 24px 16px;
    background: #fff;
    border: 1px solid #ff9800;
    border-radius: 8px;
    overflow: hidden;
}

.unassigned-header {
    background: #ff9800;
    color: #fff;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Editor hint */
.editor-hint {
    padding: 8px 24px;
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

/* Reset button highlight */
#btn-reset {
    background: transparent;
    color: #ff9800;
    border-color: #ff9800;
}

#btn-reset:hover {
    background: #ff9800;
    color: #fff;
}

/* Exclude button */
.col-exclude { width: 30px; text-align: center; }
.btn-exclude {
    background: transparent;
    border: 1px solid #ccc;
    color: #999;
    cursor: pointer;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    line-height: 1;
}
.btn-exclude:hover {
    background: #f44336;
    color: #fff;
    border-color: #f44336;
}
