/* Inventory Kanban Layout */
.inventory-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--bg-main);
    padding: 20px;
    overflow-y: auto;
}

.inventory-kanban {
    display: flex;
    flex: 1;
    overflow-x: auto;
    padding: 10px 0 20px 0;
    gap: 20px;
    align-items: flex-start;
}

.kanban-col {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-chat);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    /* Instead of fixed calc */
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.kanban-header {
    padding: 15px;
    border-bottom: 2px solid var(--border-color);
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 12px 12px 0 0;
}

.kanban-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.kanban-content {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Inventory Item Card */
.inv-card {
    background-color: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    border-left: 4px solid var(--text-muted);
}

.inv-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.inv-card.type-maleta {
    border-left-color: #3B82F6;
}

/* Blue */
.inv-card.type-golf {
    border-left-color: #10B981;
}

/* Green */
.inv-card.type-paquete {
    border-left-color: #F59E0B;
}

/* Orange */

.vip-card {
    border-left-color: gold !important;
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
    background-image: linear-gradient(to right, rgba(255, 215, 0, 0.05), transparent 20%);
}

.inv-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    align-items: center;
}

.inv-guest {
    font-weight: 700;
    color: var(--text-main);
}

.inv-room {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.inv-details {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.inv-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.inv-notes {
    font-size: 0.85rem;
    color: var(--text-main);
    background-color: rgba(0, 0, 0, 0.1);
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.inv-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.inv-checkout-btn {
    background-color: var(--bg-main);
    color: var(--danger);
    border: 1px solid var(--danger);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.inv-checkout-btn:hover {
    background-color: var(--danger);
    color: white;
}

/* =========================================================
   DRAG & DROP STYLES
   ========================================================= */
.inv-card {
    cursor: grab;
}

.inv-card:active {
    cursor: grabbing;
}

.inv-card.dragging {
    opacity: 0.5;
    transform: scale(0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.kanban-content.drag-over {
    background-color: rgba(66, 133, 244, 0.1);
    border: 2px dashed var(--accent);
    border-radius: var(--radius-sm);
}

/* Modal form */
.inventory-modal .modal-content {
    max-width: 400px;
}

@media (max-width: 768px) {
    .inventory-kanban {
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .kanban-col {
        width: 100%;
        height: auto;
        min-height: 250px;
    }

    .inventory-wrapper .top-nav .brand {
        flex-wrap: wrap;
        gap: 12px;
    }

    .inventory-actions {
        width: 100%;
        margin-left: 0 !important;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }
}
/* Group Styling */
.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.1s ease;
}
.color-swatch:hover {
    transform: scale(1.1);
}
.color-swatch.selected {
    border-color: var(--text-main);
    box-shadow: 0 0 0 2px var(--bg-body);
}

.group-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

