.quick-product-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.quick-product-search {
    margin-bottom: 15px;
}

.quick-product-search input {
    width: 100%;
    padding: 8px 12px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
}

.quick-product-search input:focus {
    outline: none;
    border-color: #4a90e2;
}

.quick-product-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.2s ease;
    position: relative;
    transition: opacity 0.3s ease;
}

.quick-product-card:hover {
    border-color: #4a90e2;
}

.quick-product-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.quick-product-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.quick-product-card.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
}

.quick-product-content {
    flex: 1;
    padding-right: 15px;
    min-width: 0;
}

.quick-product-title {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-product-price {
    margin-bottom: 6px;
    font-size: 15px;
    color: #4a90e2;
}

.quick-product-quantity {
    margin-bottom: 6px;
}

.quantity-input {
    width: 70px;
    padding: 6px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.quantity-input:focus {
    outline: none;
    border-color: #4a90e2;
}

.quantity.loading input.qty {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}

.quantity input.qty:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
    border-color: #ddd;
}

.add-to-cart-button {
    display: inline-block;
    padding: 6px 12px;
    background-color: #4a90e2;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.add-to-cart-button:hover {
    background-color: #357abd;
}

.quick-product-image {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 12px;
    background: #fafafa;
}

.quick-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.quick-product-loading {
    text-align: center;
    padding: 15px;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quick-product-list-container {
        padding: 8px;
    }
    
    .quick-product-card {
        padding: 10px;
        gap: 8px;
    }
    
    .quick-product-content {
        padding-right: 10px;
    }
    
    .quick-product-title {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .quick-product-price {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .quick-product-quantity {
        margin-bottom: 4px;
    }
    
    .quick-product-image {
        width: 60px;
        height: 60px;
        margin-left: 8px;
    }
    
    .quantity-input {
        width: 60px;
        padding: 4px 6px;
    }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
} 