﻿/* =====================================================
   ModalMoveItemsToStorage.razor.css
   ===================================================== */

/* ── Liste des articles à déplacer (step 0) ───────── */
.move-items-list {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    max-height: 420px;
    overflow-y: auto;
}

    .move-items-list::-webkit-scrollbar {
        width: 4px;
    }

    .move-items-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .move-items-list::-webkit-scrollbar-thumb {
        background: var(--gray-200);
        border-radius: 4px;
    }

.move-item-row {
    display: grid;
    grid-template-columns: 28px 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.12s;
}

    .move-item-row:last-child {
        border-bottom: none;
    }

    .move-item-row:hover {
        background: var(--bg-secondary);
    }

.move-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(var(--primary-rgb, 59,130,246), 0.1);
    color: var(--primary-color);
    flex-shrink: 0;
}

.move-item-info {
    min-width: 0;
}

.move-item-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.move-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.move-item-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--success-color);
    white-space: nowrap;
    flex-shrink: 0;
}
